1 Dec 2009 05:21
[PATCH] drm/radeon/kms: ignore unposted GPUs with no BIOS.
Dave Airlie <airlied <at> gmail.com>
2009-12-01 04:21:43 GMT
2009-12-01 04:21:43 GMT
From: Dave Airlie <airlied <at> redhat.com>
If we find a GPU but we can't find its BIOS and it isn't posted,
then ignore it.
Signed-off-by: Dave Airlie <airlied <at> redhat.com>
---
drivers/gpu/drm/radeon/r100.c | 6 ++----
drivers/gpu/drm/radeon/r300.c | 6 ++----
drivers/gpu/drm/radeon/r420.c | 11 +++--------
drivers/gpu/drm/radeon/r520.c | 3 +++
drivers/gpu/drm/radeon/r600.c | 6 +++++-
drivers/gpu/drm/radeon/radeon.h | 1 +
drivers/gpu/drm/radeon/radeon_device.c | 18 ++++++++++++++++++
drivers/gpu/drm/radeon/rs400.c | 7 +++----
drivers/gpu/drm/radeon/rs600.c | 7 +++----
drivers/gpu/drm/radeon/rs690.c | 7 +++----
drivers/gpu/drm/radeon/rv515.c | 6 ++----
drivers/gpu/drm/radeon/rv770.c | 6 +++++-
12 files changed, 50 insertions(+), 34 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
index 677fd72..79206e9 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
<at> <at> -3243,10 +3243,8 <at> <at> int r100_init(struct radeon_device *rdev)
RREG32(R_0007C0_CP_STAT));
}
/* check if cards are posted or not */
- if (!radeon_card_posted(rdev) && rdev->bios) {
(Continue reading)
RSS Feed