]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Handle HDR meta update as fast update
authorKrunoslav Kovac <Krunoslav.Kovac@amd.com>
Thu, 5 Jul 2018 23:23:17 +0000 (19:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:59 +0000 (11:10 -0500)
commite9768365679c74989a7693935ddc22a2713e6a3f
treec950622b4bc9e1f0b29b6f35e17217df621edbdb
parent1571ca6e359e67f373f73da906301094e93470c8
drm/amd/display: Handle HDR meta update as fast update

[Why]
Vesa DPMS tool sends different HDR meta in OS flips without changing output
parameters. We don't properly update HDR info frame:
- we label HDR meta update as fast update
- when updating HW info frame, we only do it if full update

[How]
It should still be fast update, so when doing HW infoframe update,
do it always no matter the update type.
Also, don't request passive flip for HDR meta update only without output
transfer function or color space changed.

Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c