]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use correct size when access vram
authorxinhui pan <xinhui.pan@amd.com>
Mon, 22 Mar 2021 00:48:54 +0000 (08:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:39:49 +0000 (16:39 -0400)
commit2269a0c832fa82d181e99ff78dd9618cb267ba18
tree61efc465178d42acf7ca9caeb4b453456457aa0d
parentc6ba520c64b06edd634234aba1334d20cf7c166f
drm/amdgpu: Use correct size when access vram

To make size is 4 byte aligned. Use &~0x3ULL instead of &3ULL.

Signed-off-by: xinhui pan <xinhui.pan@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