diff options
author | Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com> | 2022-07-14 03:12:14 -0700 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2022-07-15 15:41:51 +0200 |
commit | 6f2c8d5f16594a13295d153245e0bb8166db7ac9 (patch) | |
tree | 4f8f52fc006cd49436a6778a49fd4148207b432a /drivers/platform/surface/aggregator/ssh_request_layer.c | |
parent | c96cfaf8fc02d4bb70727dfa7ce7841a3cff9be2 (diff) |
drm/amdgpu: Fix for drm buddy memory corruption
User reported gpu page fault when running graphics applications
and in some cases garbaged graphics are observed as soon as X
starts. This patch fixes all the issues.
Fixed the typecast issue for fpfn and lpfn variables, thus
preventing the overflow problem which resolves the memory
corruption.
Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Reported-by: Mike Lothian <mike@fireburn.co.uk>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20220714101214.7620-1-Arunpravin.PaneerSelvam@amd.com
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_request_layer.c')
0 files changed, 0 insertions, 0 deletions