summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2017-05-23 18:35:22 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-05-25 01:23:55 +0300
commit9156e723301c0a7a7def4cde820e018ce791b842 (patch)
tree25e3490da0e52e2c7b4c5f39a609b63c048e5740 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parente7f78b69aba479728865ef3ec4229b372fc79f94 (diff)
downloadlinux-9156e723301c0a7a7def4cde820e018ce791b842.tar.xz
drm/amd/amdgpu: Return error if initiating read out of range on vram
If you initiate a read that is out of the VRAM address space return ENXIO instead of 0. Reads that begin below that point will read upto the VRAM limit as before. Cc: stable@vger.kernel.org Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions