winsys/amdgpu: Use amdgpu_winsys helper instead of open-coded casts
authorMichel Dänzer <michel.daenzer@amd.com>
Mon, 1 Jul 2019 07:20:11 +0000 (09:20 +0200)
committerMichel Dänzer <michel@daenzer.net>
Wed, 3 Jul 2019 09:19:07 +0000 (09:19 +0000)
commit6fce296400cd327c671a39e84bd377174a534bf7
tree52c9273895b07c8243e82fa07bcf35821a518942
parente06bc0b16671b78032e06d9ddd547bb091501129
winsys/amdgpu: Use amdgpu_winsys helper instead of open-coded casts

Cleanup to prevent breakage with the next change, no functional change
intended in this one.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c