diff options
| author | Ryan Seto <[email protected]> | 2025-02-28 19:24:57 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-03-10 17:30:45 +0000 |
| commit | 29c1c20496a7a9bafe2bc2f833d69aa52e0f2c2d (patch) | |
| tree | 0a79b084a1082de4de5ac1dad237922a390e3aaa /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
| parent | drm/amd/display: Correct timing_adjust_pending flag setting. (diff) | |
| download | kernel-29c1c20496a7a9bafe2bc2f833d69aa52e0f2c2d.tar.gz kernel-29c1c20496a7a9bafe2bc2f833d69aa52e0f2c2d.zip | |
drm/amd/display: Prevent VStartup Overflow
[Why]
For some VR headsets with large blanks, it's possible
to overflow the OTG_VSTARTUP_PARAM:VSTARTUP_START
register. This can lead to incorrect DML calculations
and underflow downstream.
[How]
Min the calcualted max_vstartup_lines with the max
value of the register.
Reviewed-by: Dillon Varone <[email protected]>
Signed-off-by: Ryan Seto <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions
