aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/rv770.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-11-30 23:06:31 -0500
committerDave Airlie <airlied@redhat.com>2009-12-01 20:37:17 -0500
commit72542d77058bd45ccafd1e15ed3c70349fe3277b (patch)
tree11390360e6c0f250915a2bc202f94a2fb86a3958 /drivers/gpu/drm/radeon/rv770.c
parent4b30b87042aa71ed8682e4df622a10456796fccd (diff)
drm/radeon/kms: ignore unposted GPUs with no BIOS.
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@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/rv770.c')
-rw-r--r--drivers/gpu/drm/radeon/rv770.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c
index b0efd0ddae7a..f54628475456 100644
--- a/drivers/gpu/drm/radeon/rv770.c
+++ b/drivers/gpu/drm/radeon/rv770.c
@@ -975,7 +975,11 @@ int rv770_init(struct radeon_device *rdev)
975 if (r) 975 if (r)
976 return r; 976 return r;
977 /* Post card if necessary */ 977 /* Post card if necessary */
978 if (!r600_card_posted(rdev) && rdev->bios) { 978 if (!r600_card_posted(rdev)) {
979 if (!rdev->bios) {
980 dev_err(rdev->dev, "Card not posted and no BIOS - ignoring\n");
981 return -EINVAL;
982 }
979 DRM_INFO("GPU not posted. posting now...\n"); 983 DRM_INFO("GPU not posted. posting now...\n");
980 atom_asic_init(rdev->mode_info.atom_context); 984 atom_asic_init(rdev->mode_info.atom_context);
981 } 985 }