summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-08-06 15:51:23 (GMT)
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 20:50:29 (GMT)
commitd07f5c4c235670fa4686eb08cb6211eb3bd0c864 (patch)
treeb3c3138b3731175337d91263f6a8dd56d91f1104 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent188a9bcd6cbe55c6fea23309548741d8e34bb590 (diff)
downloadlinux-d07f5c4c235670fa4686eb08cb6211eb3bd0c864.tar.xz
drm/amdgpu: remove VM workaround for Fiji
The bug is fixed in fiji. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index 88ca79f..6c63a2c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -227,7 +227,7 @@ int amdgpu_bo_create_restricted(struct amdgpu_device *adev,
* do this as a temporary workaround
*/
if (!(domain & (AMDGPU_GEM_DOMAIN_GDS | AMDGPU_GEM_DOMAIN_GWS | AMDGPU_GEM_DOMAIN_OA))) {
- if (adev->asic_type >= CHIP_TOPAZ) {
+ if ((adev->asic_type >= CHIP_TOPAZ) && (adev->asic_type != CHIP_FIJI)) {
if (byte_align & 0x7fff)
byte_align = ALIGN(byte_align, 0x8000);
if (size & 0x7fff)