]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit37f61f3b09f21cc28a164316badd5abaf8082041
tree268bb5fa46df2fc229a2fb6659293cc1a16d099d
parent6c9d9df630972260585400e2e32a4831bc5daeb8
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