OSDN Git Service

drm/i915: Constify intel_pipe_config_compare()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 12 Jun 2019 13:07:59 +0000 (16:07 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 18 Jun 2019 15:28:51 +0000 (18:28 +0300)
commitb124ea432af7993ccea6f1a50076459d2a2626fe
tree268bb5fa46df2fc229a2fb6659293cc1a16d099d
parentf0521558a2a89d58a08745e225025d338572e60a
drm/i915: Constify intel_pipe_config_compare()

Now that intel_pipe_config_compare() no longer clobbers the passed
in state we can make both crtc states const. And while at we simplify
the calling convention, and clean up intel_compare_link_m_n() a bit.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190612130801.2085-2-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_display.c