]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Adjust intel_modeset_pipe_config() & co. calling convention
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 3 May 2022 18:22:23 +0000 (21:22 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 31 May 2022 18:04:46 +0000 (21:04 +0300)
commit0365a8f300aad5af0d897accba2ccc69050cdb7d
tree6502df6ed3a56fb749dddab4688896d850d460b4
parent6af39369c9878a354f249c6b23c580bb785e00cf
drm/i915: Adjust intel_modeset_pipe_config() & co. calling convention

Use the state+crtc calling convention for intel_modeset_pipe_config()
and othere related functions. Many of these need the full atomic state
anyway so passing it all the way through is just nicer than having to
worry about whether it can actually be extracted from eg. the crtc
state passed in.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220503182242.18797-8-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display.c