]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/i915/display: Allow fastset for change in HDR infoframe
authorChaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Wed, 23 Oct 2024 04:41:22 +0000 (10:11 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Mon, 4 Nov 2024 08:26:53 +0000 (13:56 +0530)
commit82ab75c4520cfa77c0409e70a2623561233cd109
treebcd3319a23b3b5eaa3059b38c31eb1cbc0235c63
parentfacde55b6fca80fc6c8d051e932085bd3e7c6d04
drm/i915/display: Allow fastset for change in HDR infoframe

Changes in Dynamic Range and Mastering infoframe
should not trigger a full modeset. Therefore, allow
fastset. DP SDP programming is already hooked up in the
fastset flow but HDMI AVI infoframe update is not, add it.
Any other infoframe that can be fastset should be added to
the helper intel_hdmi_fastset_infoframes().

v3:
 - Create a wrapper intel_ddi_update_pipe_hdmi to stick to
   uniform naming (Jani)
 - Do not disable HDMI AVI infoframe if already disabled (Uma)

v2:
 - Update HDMI AVI infoframe during fastset.

Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241023044122.3889137-1-chaitanya.kumar.borah@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_hdmi.c
drivers/gpu/drm/i915/display/intel_hdmi.h