diff options
| author | Evan Quan <[email protected]> | 2017-10-16 08:51:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-10-26 03:09:38 +0000 |
| commit | 4694257e7d4757fedaa8dcd18bb5ff52e76a2765 (patch) | |
| tree | 7495d845c5878ac1d2497156d5705787bad30df0 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | drm/amd/powerplay: retrieve the real-time coreClock values (diff) | |
| download | kernel-4694257e7d4757fedaa8dcd18bb5ff52e76a2765.tar.gz kernel-4694257e7d4757fedaa8dcd18bb5ff52e76a2765.zip | |
drm/amdgpu/psp: prevent page fault by checking write_frame address(v4)
- Prevent a possible buffer overflow when updating the ring buffer by
bounds checking the command frame against the available space in the
ring buffer.
v2: update the ring_buffer_end address
v3: update the commit log
v4: squash in print fix (Michel)
Signed-off-by: Evan Quan <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions
