]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add interface amdgpu_gfx_init_spm_golden for Navi1x
authorTianci.Yin <tianci.yin@amd.com>
Fri, 19 Jun 2020 08:01:11 +0000 (16:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Aug 2020 20:22:29 +0000 (16:22 -0400)
commit70b80bcd311932575ddc54728ed7e426fece6e22
tree1e24ddc8f096a2c25e1b713c0a853910e6822709
parentbdcacff2d0ca492e09c0325f023f5b4de1426ddf
drm/amdgpu: add interface amdgpu_gfx_init_spm_golden for Navi1x

On Navi1x, the SPM golden settings are lost after GFXOFF
enter/exit, so reconfiguration is needed. Make the
configuration code as an interface for future use.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Tianci.Yin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c