drm/amdgpu: Add check for USWC support for amdgpu_display_supported_domains
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 24 Jul 2019 15:09:03 +0000 (11:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 04:22:55 +0000 (23:22 -0500)
commitddcb7fc62f4be99faedfa1764c971a2f31468962
treec43d94c0b341997249ef2951dde3fed05f87c0c5
parent3d1b8ec76b8f4f91641fd87cc19cd980426a2060
drm/amdgpu: Add check for USWC support for amdgpu_display_supported_domains

This verifies we don't add GTT as allowed domain for APUs when USWC
is disabled.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Acked-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c