diff options
author | Dave Airlie <airlied@linux.ie> | 2009-09-15 20:21:11 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-09-16 09:15:19 +1000 |
commit | 42dea5ddb56fe10e1d9a7840ddcb1df97a208a99 (patch) | |
tree | d267c48537041780999ea26b9423d8dcb6662d51 /drivers/gpu/drm | |
parent | 48e113e516a94ac9622a8326c4de670beb3366e6 (diff) |
drm/radeon/kms: we should return 0 when we have no modes not -1.
This fixes my monitor with broken EDID so it at least get 800x600.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 9d817a62e7f..22da85fe5ae 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -365,7 +365,7 @@ int radeon_ddc_get_modes(struct radeon_connector *radeon_connector) return ret; } drm_mode_connector_update_edid_property(&radeon_connector->base, NULL); - return -1; + return 0; } static int radeon_ddc_dump(struct drm_connector *connector) |