diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-05-24 22:55:15 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-29 06:05:01 -0400 |
commit | 1f73cca799d29df80de3e8f1f1c488485467577a (patch) | |
tree | d22f580c08e34b1b71ddcb2eb8d7e86b86ea3cde /drivers/gpu/drm/radeon/ni.c | |
parent | ace281e8ab62e026b95c413db5f3c6beed42b829 (diff) |
drm/radeon: fix typo in trinity tiling setup
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/ni.c')
-rw-r--r-- | drivers/gpu/drm/radeon/ni.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c index b01c2dd627b0..ce4e7cc6c905 100644 --- a/drivers/gpu/drm/radeon/ni.c +++ b/drivers/gpu/drm/radeon/ni.c | |||
@@ -865,7 +865,7 @@ static void cayman_gpu_init(struct radeon_device *rdev) | |||
865 | 865 | ||
866 | /* num banks is 8 on all fusion asics. 0 = 4, 1 = 8, 2 = 16 */ | 866 | /* num banks is 8 on all fusion asics. 0 = 4, 1 = 8, 2 = 16 */ |
867 | if (rdev->flags & RADEON_IS_IGP) | 867 | if (rdev->flags & RADEON_IS_IGP) |
868 | rdev->config.evergreen.tile_config |= 1 << 4; | 868 | rdev->config.cayman.tile_config |= 1 << 4; |
869 | else | 869 | else |
870 | rdev->config.cayman.tile_config |= | 870 | rdev->config.cayman.tile_config |= |
871 | ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) << 4; | 871 | ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) << 4; |