Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdgpu
Hawking Zhang 58f46d4b65 drm/amdgpu: disallow direct upload save restore list from gfx driver
Direct uploading save/restore list via mmio register writes breaks the security
policy. Instead, the driver should pass s&r list to psp.

For all the ASICs that use rlc v2_1 headers, the driver actually upload s&r list
twice, in non-psp ucode front door loading phase and gfx pg initialization phase.
The latter is not allowed.

VG12 is the only exception where the driver still keeps legacy approach for S&R
list uploading. In theory, this can be elimnated if we have valid srcntl ucode
for VG12.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Candice Li <Candice.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-06 16:27:47 -05:00
..
2019-11-06 16:27:46 -05:00
2019-09-16 09:59:21 -05:00
2019-06-20 11:36:22 -05:00
2019-06-20 11:36:22 -05:00
2019-10-03 09:10:58 -05:00
2017-10-20 13:28:44 -04:00
2019-01-14 10:58:37 +01:00
2019-06-10 23:00:01 +02:00
2015-06-03 21:03:17 -04:00
2019-06-20 21:16:38 -05:00
2016-08-31 15:21:09 -04:00