]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca3b726d8a8e4384688b388439c1e170ace90997
treeaed98e94744bee8bdc2aad5dc050aa1e138a2a11
parentdafcdd07e8775bba1a74bf597a213b604d14649b
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