]> git.baikalelectronics.ru Git - kernel.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)
committerDave Airlie <airlied@redhat.com>
Tue, 4 Oct 2011 16:24:14 +0000 (17:24 +0100)
commit8a0f137768a01d58e851c118945cbd5b779db5d8
treeea3c0e5d3691a4f01474f27cdf297cf5a5e84873
parentecf1c2a5449a1125b6c1bd125a48bd37de242b52
drm/radeon/kms: fix channel_remap setup (v2)

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>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/rv770.c