drm/amdgpu/psp: upper_32_bits/lower_32_bits for address setup
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Jun 2017 22:26:33 +0000 (18:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Jun 2017 16:43:48 +0000 (12:43 -0400)
commitf03defe0b70c8c3e19c267fa27f094ce6503c30f
treeaed98e94744bee8bdc2aad5dc050aa1e138a2a11
parent14b05f8a012a319cd58d25b4564da98a7b9b7303
drm/amdgpu/psp: upper_32_bits/lower_32_bits for address setup

Rather than casting and shifting.  Fixes sparse cast warnings.

Reviewed-by: Samuel Li <samuel.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/psp_v10_0.c
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c