]> git.baikalelectronics.ru Git - 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)
commit1559ca9427fef20ab68762db85a8078784fa2ffc
treeffe62317a519b1af92eacbd07eabb51342f7e541
parentd39c42b54dec723b56d014e50333e17db2f46de2
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