]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: fix offset into page with amdgpu_iomem debugfs file
authorTom St Denis <tom.stdenis@amd.com>
Tue, 20 Mar 2018 13:13:08 +0000 (09:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 04:43:34 +0000 (23:43 -0500)
commit4d3c5e5731a4f4e1c7bbc04045144aa7a6ebf4a2
tree4a9f478067d100ea76d3fb38ef2be7f55a371b39
parent1d0d591cd0ab3bb287f5b75e80831c3be1a186b2
drm/amd/amdgpu: fix offset into page with amdgpu_iomem debugfs file

The offset inside the page wasn't included in the copy call meaning
the start of the page was being read/written instead.

Reported-by: Jay Cornwall <Jay.Cornwall@amd.com>
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c