linux_dsm_epyc7002/drivers/gpu/drm/amd
Nicholas Kazlauskas b232d4ed92 drm/amd/display: Only force modesets when toggling HDR
[Why]
We can issue HDR static metadata as part of stream updates for
non-modesets as long as we force a modeset when entering or exiting HDR.

This avoids unnecessary blanking for simple metadata updates.

[How]
When changing scaling and abm for the stream also check if HDR has
changed and send the stream update. This will only happen in non-modeset
cases.

Cc: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190528190836.10738-3-nicholas.kazlauskas@amd.com
2019-06-03 10:23:10 -04:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm-misc-next for v5.3, try #2: 2019-05-28 08:59:11 +10:00
amdkfd drm i915, amdgpu, vmwgfx, sun4i, panfrost, gma500 fixes. + revert build breakage 2019-05-24 09:12:46 -07:00
display drm/amd/display: Only force modesets when toggling HDR 2019-06-03 10:23:10 -04:00
include drm/amd/include: Add HUBPREQ_DEBUG register offsets 2019-04-23 17:27:08 -05:00
powerplay drm/amd/powerplay: fix locking in smu_feature_set_supported() 2019-05-20 12:56:05 -05:00