drm/radeon: fix typo in trinity tiling setup
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 25 May 2012 02:55:15 +0000 (22:55 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 29 May 2012 10:05:01 +0000 (11:05 +0100)
Using the wrong union.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/ni.c

index b01c2dd627b0e9a345e2dc8964d415ba37deffff..ce4e7cc6c90576f1c58ee5da5b25cc404588b2c6 100644 (file)
@@ -865,7 +865,7 @@ static void cayman_gpu_init(struct radeon_device *rdev)
 
        /* num banks is 8 on all fusion asics. 0 = 4, 1 = 8, 2 = 16 */
        if (rdev->flags & RADEON_IS_IGP)
-               rdev->config.evergreen.tile_config |= 1 << 4;
+               rdev->config.cayman.tile_config |= 1 << 4;
        else
                rdev->config.cayman.tile_config |=
                        ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) << 4;