diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2023-07-25 19:20:00 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-07 17:14:08 -0400 |
commit | c5a4f9010d4bcc4ea76341d7e5383b102f965ec5 (patch) | |
tree | 85bd2a46e0f3cb1fecd8281db180b40a33630d11 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 460ea8980511c01c1551012b9a6ec6a06d02da59 (diff) | |
download | linux-c5a4f9010d4bcc4ea76341d7e5383b102f965ec5.tar.gz linux-c5a4f9010d4bcc4ea76341d7e5383b102f965ec5.tar.bz2 linux-c5a4f9010d4bcc4ea76341d7e5383b102f965ec5.zip |
drm/amd/display: adjust visual confirm dpp height offset to be 1/240 of v addressable
[why]
For timing with large v addressable visual confirm is just too small. It is difficult
to tell visually which DPP we are using. On the other hand with timing with small
v addressable visual confirm is too large and covers the UI area.
[how]
We calculate visual confirm dpp height offset based on v addressable so it stays
relatively the same height i.e. 1/240 verticle portion of the screen.
Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions