diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2019-05-28 15:08:36 -0400 |
---|---|---|
committer | Harry Wentland <harry.wentland@amd.com> | 2019-06-03 10:23:10 -0400 |
commit | b232d4ed92eafb0d31adc01ee7a86c1309394418 (patch) | |
tree | dbeea6c209ceadabcf56f6221e27ff96af726eda /include | |
parent | 88694af9e4d1feaf635c23844833960f8958af78 (diff) | |
download | linux-b232d4ed92eafb0d31adc01ee7a86c1309394418.tar.bz2 |
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 'include')
0 files changed, 0 insertions, 0 deletions