summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorJerome Glisse <glisse@freedesktop.org>2007-12-06 23:19:52 +0100
committerJerome Glisse <glisse@freedesktop.org>2007-12-06 23:19:52 +0100
commita39560e767f8d66508f7cf98222199b2cc96fcaf (patch)
tree5d266fdc426e6586c26cbdfde9b4b3e9aeef09c2 /shared-core
parent931b4a84a09e29570dfef1da96acc5b894529bc3 (diff)
radeon_ms: update to lastest fb change
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/radeon_ms_output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/radeon_ms_output.c b/shared-core/radeon_ms_output.c
index 4d6cb01e..35e5c376 100644
--- a/shared-core/radeon_ms_output.c
+++ b/shared-core/radeon_ms_output.c
@@ -164,6 +164,10 @@ static int radeon_ms_output_get_modes(struct drm_output *output)
if (connector == NULL || connector->i2c == NULL) {
return 0;
}
+ if (connector->edid == NULL) {
+ return 0;
+ }
+ drm_mode_output_update_edid_property(output, connector->edid);
ret = drm_add_edid_modes(output, connector->edid);
kfree(connector->edid);
connector->edid = NULL;