drm/amdgpu: To get gds, gws and oa from adev->gds (v2)
authorEmily Deng <[email protected]>
Wed, 30 May 2018 02:04:25 +0000 (10:04 +0800)
committerAlex Deucher <[email protected]>
Wed, 30 May 2018 17:34:06 +0000 (12:34 -0500)
commit01d98506eca24f1a6b67374ffb65c2e62a56e8e7
tree9931f969c24ea1a216454b6b11e04393dc1a9f60
parent20d4ac659c76034586a3ab79489b0940631a65de
drm/amdgpu: To get gds, gws and oa from adev->gds (v2)

As now enabled per vm bo feature, the user mode driver won't supply the
bo_list generally, for this case, the gdb_base, gds_size, gws_base, gws_size and
oa_base, oa_size won't be set.

v2: fix warning (Chunming)

Signed-off-by: Emily Deng <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c