]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: correct rlc save restore list initialization for v2_1
authorEvan Quan <evan.quan@amd.com>
Thu, 5 Jul 2018 03:24:20 +0000 (11:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:44:32 +0000 (14:44 -0500)
commitb58b65cf7ac09b3d9a979a6a9bbe41abfc425a2a
tree87f5175a4c3ad8e5d6774e13f89c7e96cd085a65
parentaf356b6d32c8dd065393e4c8cd5576c15e48df4d
drm/amdgpu: correct rlc save restore list initialization for v2_1

The save restore list initialization does not have to be pg guarded.
And for some asic(e.g. Vega12), it does not have cntl/gpm/srm lists.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c