]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Change intel_encoders_<hook>() calling convention
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Nov 2019 16:44:21 +0000 (18:44 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 20 Nov 2019 15:43:47 +0000 (17:43 +0200)
commit6ff7cc31fec5b3ad825a792667541031661285a5
tree575a28bd769acb98516a0985a854bd49e97f7d6c
parente6287b0694d1fa3538cdbcd68707f651b1f63e11
drm/i915: Change intel_encoders_<hook>() calling convention

Just pass the atomic state and the crtc to intel_encoders_enable() & co.
Make life simpler when you don't have to think which state (old vs. new)
you have to pass in. Also constify the states while at it.

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191118164430.27265-2-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c