drm/amdgpu: remove VM workaround for Fiji
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2015 15:51:23 +0000 (11:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:29 +0000 (16:50 -0400)
The bug is fixed in fiji.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c

index 88ca79fc55bf44a739662543f5e1dbc637d52262..6c63a2c6395cb7425015f199bd8ce8e0136ad191 100644 (file)
@@ -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)