summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_gem_framebuffer_helper.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2019-05-28 22:08:36 +0300
committerHarry Wentland <harry.wentland@amd.com>2019-06-03 17:23:10 +0300
commitb232d4ed92eafb0d31adc01ee7a86c1309394418 (patch)
treedbeea6c209ceadabcf56f6221e27ff96af726eda /drivers/gpu/drm/drm_gem_framebuffer_helper.c
parent88694af9e4d1feaf635c23844833960f8958af78 (diff)
downloadlinux-b232d4ed92eafb0d31adc01ee7a86c1309394418.tar.xz
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
Diffstat (limited to 'drivers/gpu/drm/drm_gem_framebuffer_helper.c')
0 files changed, 0 insertions, 0 deletions