OSDN Git Service

drm/amdgpu: correct condition check for psp rlc autoload
authorLe Ma <le.ma@amd.com>
Mon, 23 Sep 2019 13:09:38 +0000 (21:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:00 +0000 (09:11 -0500)
commit05ba0095fb7bf150601169ba0c4380c56f51458b
tree2b990f48140aa26cf74306f4ffefd3f22b7999c2
parent1f01cd99051507478f8dac837c939088a894d279
drm/amdgpu: correct condition check for psp rlc autoload

Otherwise non-autoload case will go into the wrong routine and fail.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Le Ma <le.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c