OSDN Git Service

drm/amdgpu: Adjust TMR address alignment as per HW requirement
authorshaoyunl <shaoyun.liu@amd.com>
Mon, 25 Mar 2019 20:07:23 +0000 (16:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Apr 2019 15:00:29 +0000 (10:00 -0500)
commit795c1b8d0730541f4bfd09921d61bb824f7070f6
tree4b61843f19cb57e4f05ba9ea88195493283e25dd
parentaf67772d0a763a62b3d14e12e9d1c08c6974eac9
drm/amdgpu: Adjust TMR address alignment as per HW requirement

According to HW engineer, they prefer the TMR address be "naturally aligned", e.g. the start address
must be an integer divide of TME size.

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c