drm/amdgpu: fix userptr flags check
authorChristian König <christian.koenig@amd.com>
Thu, 26 Nov 2015 10:06:20 +0000 (11:06 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Nov 2015 19:38:47 +0000 (14:38 -0500)
commit585116c5fafe578e89c146c9839c95ac75acfb9d
treea7e266a0801cf431719ccb4c1e36a60c13749249
parent8c14f72b57570d71afda03c5c51b06f0b4af4367
drm/amdgpu: fix userptr flags check

That got messed up while porting it from Radeon.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c