diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/r420.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r420.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r420.c b/drivers/gpu/drm/radeon/r420.c index 87c0e3840034..4415a5ee5871 100644 --- a/drivers/gpu/drm/radeon/r420.c +++ b/drivers/gpu/drm/radeon/r420.c | |||
@@ -88,6 +88,12 @@ void r420_pipes_init(struct radeon_device *rdev) | |||
88 | /* get max number of pipes */ | 88 | /* get max number of pipes */ |
89 | gb_pipe_select = RREG32(0x402C); | 89 | gb_pipe_select = RREG32(0x402C); |
90 | num_pipes = ((gb_pipe_select >> 12) & 3) + 1; | 90 | num_pipes = ((gb_pipe_select >> 12) & 3) + 1; |
91 | |||
92 | /* SE chips have 1 pipe */ | ||
93 | if ((rdev->pdev->device == 0x5e4c) || | ||
94 | (rdev->pdev->device == 0x5e4f)) | ||
95 | num_pipes = 1; | ||
96 | |||
91 | rdev->num_gb_pipes = num_pipes; | 97 | rdev->num_gb_pipes = num_pipes; |
92 | tmp = 0; | 98 | tmp = 0; |
93 | switch (num_pipes) { | 99 | switch (num_pipes) { |