]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move the initial fastset commit check to encoder hooks
authorImre Deak <imre.deak@intel.com>
Mon, 5 Oct 2020 21:53:10 +0000 (00:53 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 6 Oct 2020 11:00:24 +0000 (14:00 +0300)
commitb671d6ef8b20ffc2161e1e803f8c7b143e1b1615
treec8b852dd6fa905e75e7686dcad8a1c89d79e73e5
parent7a8a95f5dc4c1232b7f88b62340cacf8876f80ff
drm/i915: Move the initial fastset commit check to encoder hooks

Move the checks to decide whether a fastset is possible during the
initial commit to an encoder hook. This check is really encoder specific
and the next patch will also require this adding a DP encoder specific
check.

v2: Fix negated condition in gen11_dsi_initial_fastset_check().
v3: Make sure to call the hook for all encoders on the crtc. (Ville)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201005215311.1475666-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/icl_dsi.c
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h
drivers/gpu/drm/i915/display/intel_dp_mst.c