]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amd/display: reprogram infoframe during apply_ctx_to_hw
authorJulian Parkin <jparkin@amd.com>
Tue, 17 Apr 2018 15:49:06 +0000 (11:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:44:12 +0000 (13:44 -0500)
commit6b622181230e7c9286f594e4e51266b6f019b031
treeffe62317a519b1af92eacbd07eabb51342f7e541
parent7ab3fdde04218c4733e96712b651751c413d51c3
drm/amd/display: reprogram infoframe during apply_ctx_to_hw

To ensure the infoframe gets updated during an SDR/HDR switch
this change adds a new function to to check if the HDR static
metadata has changed and adds it to is_timing_changed and
pipe_need_reprogram checks

Signed-off-by: Julian Parkin <jparkin@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c