drm/amdgpu: fix pin domain compatibility check
authorChristian König <christian.koenig@amd.com>
Mon, 23 Oct 2017 15:29:36 +0000 (17:29 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:33:16 +0000 (16:33 -0500)
commitf5318959b51274a5feea129ce472fe66cecc5241
treea13559db19cd9a88dffd92eb0027cfd17428f607
parentead282a4f55ae6476cf2d193d9b501a59810f689
drm/amdgpu: fix pin domain compatibility check

We need to test if any domain fits, not all of them.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c