drm/radeon: fix cut and paste issue for hawaii.
authorJerome Glisse <jglisse@redhat.com>
Thu, 24 Jul 2014 20:34:17 +0000 (16:34 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 24 Jul 2014 23:17:35 +0000 (09:17 +1000)
This is a halfway fix for hawaii acceleration. More fixes to come
but hopefully isolated to userspace.

Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/cik.c

index cc1f02f6817d1d43d064921623075968b7450f2b..c0ea66192fe03a8fe977ac0aea977a07204530c4 100644 (file)
@@ -2291,6 +2291,7 @@ static void cik_tiling_mode_table_init(struct radeon_device *rdev)
                                gb_tile_moden = 0;
                                break;
                        }
+                       rdev->config.cik.macrotile_mode_array[reg_offset] = gb_tile_moden;
                        WREG32(GB_MACROTILE_MODE0 + (reg_offset * 4), gb_tile_moden);
                }
        } else if (num_pipe_configs == 8) {