aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r420.c
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2010-04-22 16:57:32 -0400
committerDave Airlie <airlied@redhat.com>2010-04-22 23:54:59 -0400
commit94f7bf647315472c80b8368c849739038e5620a3 (patch)
tree57d8336fcb4504c56500e8f926f0cd73dcf0a589 /drivers/gpu/drm/radeon/r420.c
parent9c950a43dd4d1e22a4b893c991871bac26930f97 (diff)
drm/radeon: 9800 SE has only one quadpipe
Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 agd5f: add some other SE cards as well; fix up kms Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r420.c')
-rw-r--r--drivers/gpu/drm/radeon/r420.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r420.c b/drivers/gpu/drm/radeon/r420.c
index 0b8603ca6974..100af6570b09 100644
--- a/drivers/gpu/drm/radeon/r420.c
+++ b/drivers/gpu/drm/radeon/r420.c
@@ -58,6 +58,12 @@ void r420_pipes_init(struct radeon_device *rdev)
58 /* get max number of pipes */ 58 /* get max number of pipes */
59 gb_pipe_select = RREG32(0x402C); 59 gb_pipe_select = RREG32(0x402C);
60 num_pipes = ((gb_pipe_select >> 12) & 3) + 1; 60 num_pipes = ((gb_pipe_select >> 12) & 3) + 1;
61
62 /* SE chips have 1 pipe */
63 if ((rdev->pdev->device == 0x5e4c) ||
64 (rdev->pdev->device == 0x5e4f))
65 num_pipes = 1;
66
61 rdev->num_gb_pipes = num_pipes; 67 rdev->num_gb_pipes = num_pipes;
62 tmp = 0; 68 tmp = 0;
63 switch (num_pipes) { 69 switch (num_pipes) {