projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48e113e
)
drm/radeon/kms: we should return 0 when we have no modes not -1.
author
Dave Airlie
<airlied@linux.ie>
Tue, 15 Sep 2009 10:21:11 +0000
(20:21 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Tue, 15 Sep 2009 23:15:19 +0000
(09:15 +1000)
This fixes my monitor with broken EDID so it at least get 800x600.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_display.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_display.c
b/drivers/gpu/drm/radeon/radeon_display.c
index 9d817a62e7f1aac65d7708eb593bc57a1ec84497..22da85fe5ae7fc6feaa456f08ddbae6590aa03cd 100644
(file)
--- 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)