drm/amdgpu/psp11: simplify the ucode register logic
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2019 19:01:30 +0000 (14:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2019 19:01:30 +0000 (14:01 -0500)
commit173da95d936fe3121d201565ff754988f72b6f56
tree31c44d7bad1c6413f574957cb9dff337be5b0c71
parentf8a7976b75f608687bf01b59518777642ff7c4e2
drm/amdgpu/psp11: simplify the ucode register logic

Split it between navi10 and newer and everything before
navi10.

Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c