aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
diff options
context:
space:
mode:
authorRyan Seto <ryanseto@amd.com>2025-02-28 14:24:57 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-03-10 13:30:45 -0400
commit29c1c20496a7a9bafe2bc2f833d69aa52e0f2c2d (patch)
tree0a79b084a1082de4de5ac1dad237922a390e3aaa /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
parentdrm/amd/display: Correct timing_adjust_pending flag setting. (diff)
downloadlinux-29c1c20496a7a9bafe2bc2f833d69aa52e0f2c2d.tar.gz
linux-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 <dillon.varone@amd.com> Signed-off-by: Ryan Seto <ryanseto@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@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/display/amdgpu_dm/amdgpu_dm_hdcp.c')
0 files changed, 0 insertions, 0 deletions