]> git.hungrycats.org Git - linux/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:36:10 +0000 (00:36 +0900)
commit 1f73cca799d29df80de3e8f1f1c488485467577a upstream.

Using the wrong union.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/ni.c

index a48ca53fcd6ab80b270fe6a4f766f6b88a5a3605..2432f9a3485994707e063808a53dc70f7c57e2a8 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;