drm/radeon/r7xx: fix copy paste typo in golden register setup
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2013 19:57:32 +0000 (15:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2013 16:47:36 +0000 (09:47 -0700)
commit6a33cbd049c293b0c274661d63c8918eb8557086
tree204131efd94b50a4ce1073aa6558b3ea00ddc8af
parent6f123e952c4144ddda16ebdac765677ebdf6f37c
drm/radeon/r7xx: fix copy paste typo in golden register setup

commit 022374c02e357ac82e98dd2689fb2efe05723d69 upstream.

Uses the wrong array size for some asics which can lead
to garbage getting written to registers.

Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=60674

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