mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
drm/i915/fdi: make intel_fdi_link_freq() return int
The unsigned doesn't help us here. Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210823093645.10464-1-jani.nikula@intel.com
This commit is contained in:
parent
b6dfa41617
commit
cb6baa20c5
2 changed files with 2 additions and 4 deletions
|
@ -95,7 +95,7 @@ static int ilk_check_fdi_lanes(struct drm_device *dev, enum pipe pipe,
|
|||
}
|
||||
}
|
||||
|
||||
u32 intel_fdi_link_freq(struct drm_i915_private *i915,
|
||||
int intel_fdi_link_freq(struct drm_i915_private *i915,
|
||||
const struct intel_crtc_state *pipe_config)
|
||||
{
|
||||
if (HAS_DDI(i915))
|
||||
|
|
|
@ -6,15 +6,13 @@
|
|||
#ifndef _INTEL_FDI_H_
|
||||
#define _INTEL_FDI_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct drm_i915_private;
|
||||
struct intel_crtc;
|
||||
struct intel_crtc_state;
|
||||
struct intel_encoder;
|
||||
|
||||
#define I915_DISPLAY_CONFIG_RETRY 1
|
||||
u32 intel_fdi_link_freq(struct drm_i915_private *i915,
|
||||
int intel_fdi_link_freq(struct drm_i915_private *i915,
|
||||
const struct intel_crtc_state *pipe_config);
|
||||
int ilk_fdi_compute_config(struct intel_crtc *intel_crtc,
|
||||
struct intel_crtc_state *pipe_config);
|
||||
|
|
Loading…
Reference in a new issue