diff options
| author | George Shen <[email protected]> | 2023-09-22 18:26:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-10-09 21:00:57 +0000 |
| commit | 051d90070d4c811d7413756cc42a59f2c28e0d0f (patch) | |
| tree | 282ebc2ce5d5c92b4a5d1f0a7def2c9cb442dbf2 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drm/amd/display: Don't set dpms_off for seamless boot (diff) | |
| download | kernel-051d90070d4c811d7413756cc42a59f2c28e0d0f.tar.gz kernel-051d90070d4c811d7413756cc42a59f2c28e0d0f.zip | |
drm/amd/display: Refactor DPG test pattern logic for ODM cases
[Why]
Current DPG test pattern logic does not account for ODM configuration
changes after test pattern has already been programmed. For example, if
ODM2:1 is enabled after test pattern is already being output, the second
pipe is not programmed to output test pattern, causing half the screen
to be black.
[How]
Move DPG test pattern parameter calculations into separate function.
Whenever ODM pipe configuration changes, re-calculate DPG test pattern
parameters and program DPG if test pattern is currently enabled.
Reviewed-by: Wenjing Liu <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: George Shen <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
