diff options
| author | Nicholas Kazlauskas <[email protected]> | 2019-05-28 19:08:36 +0000 |
|---|---|---|
| committer | Harry Wentland <[email protected]> | 2019-06-03 14:23:10 +0000 |
| commit | b232d4ed92eafb0d31adc01ee7a86c1309394418 (patch) | |
| tree | dbeea6c209ceadabcf56f6221e27ff96af726eda /arch/powerpc/lib/code-patching.c | |
| parent | drm/amd/display: Expose HDR output metadata for supported connectors (diff) | |
| download | kernel-b232d4ed92eafb0d31adc01ee7a86c1309394418.tar.gz kernel-b232d4ed92eafb0d31adc01ee7a86c1309394418.zip | |
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 <[email protected]>
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Signed-off-by: Harry Wentland <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
