diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-01-09 11:37:34 -0700 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-01-14 16:02:02 +0100 |
commit | 70bf6878a874523e4b62992d07b5739298f8c1eb (patch) | |
tree | 4707f4c9ba46fd4ba7f56683014ab98d17df6abe | |
parent | be2cd59b80dad88094d558432dfc01b8c703b595 (diff) |
drm/panel: update EDID BLOB in panel_simple_get_modes()
This stashes away the EDID data so that the sysfs per-connector file
"edid" can display it. Without this change, the "edid" file is always
empty.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 520b569ae3c..59d52ca2c67 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -162,6 +162,7 @@ static int panel_simple_get_modes(struct drm_panel *panel) /* probe EDID if a DDC bus is available */ if (p->ddc) { struct edid *edid = drm_get_edid(panel->connector, p->ddc); + drm_mode_connector_update_edid_property(panel->connector, edid); if (edid) { num += drm_add_edid_modes(panel->connector, edid); kfree(edid); |