]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/radeon/kms: fix channel_remap setup (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Oct 2011 14:46:34 +0000 (10:46 -0400)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:16:10 +0000 (11:16 -0800)
commit0bc3d40cf9c6dd4efee37eef83337bd8bc68de82
tree7ff8c0048de7e295c8801d1d04059752004c5de1
parent1d6e03e9a6893dde9671b520b00c530bbbdfbfb6
drm/radeon/kms: fix channel_remap setup (v2)

commit 12d5180bd7e683a4ae80830b82ba67e7b7fac7b2 upstream.

Most asics just use the hw default value which requires
no explicit programming.  For those that need a different
value, the vbios will program it properly.  As such,
there's no need to program these registers explicitly
in the driver.  Changing MC_SHARED_CHREMAP requires a reload
of all data in vram otherwise its contents will be scambled.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=40103

v2: drop now unused channel_remap functions.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/rv770.c