aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorAyush Gupta <ayush.gupta@amd.com>2023-02-10 13:02:09 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-02-28 14:29:36 -0500
commit9bb10b7aaec3b6278f9cc410c17dcaa129bbbbf0 (patch)
tree46a6e9093d003fd12bc547b584c72c4f0086042f /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parent504d3cae8b6718ab9c2fbef9e4cb56deb29ea9ee (diff)
downloadlinux-9bb10b7aaec3b6278f9cc410c17dcaa129bbbbf0.tar.gz
linux-9bb10b7aaec3b6278f9cc410c17dcaa129bbbbf0.tar.bz2
linux-9bb10b7aaec3b6278f9cc410c17dcaa129bbbbf0.zip
drm/amd/display: populate subvp cmd info only for the top pipe
[Why] System restart observed while changing the display resolution to 8k with extended mode. Sytem restart was caused by a page fault. [How] When the driver populates subvp info it did it for both the pipes using vblank which caused an outof bounds array access causing the page fault. added checks to allow the top pipe only to fix this issue. Co-authored-by: Ayush Gupta <ayush.gupta@amd.com> Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Ayush Gupta <ayush.gupta@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/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions