]> 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)
commit6cce86a527b9b0989a83e48619bcff007e1173a9
tree4a9f478067d100ea76d3fb38ef2be7f55a371b39
parent641c72f3ab4e70428f244db2c35ad139258b841f
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