diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-01-09 11:37:34 -0700 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2014-04-28 21:33:31 +0900 |
commit | 83aaca29b3178931feb1aaf50ac720ef6d760b8a (patch) | |
tree | 777efe42273df249148f06073af9feb373f864dc | |
parent | ed9dcf6340eda89667e266e82953cea03a19efcb (diff) | |
download | linux-3.10-83aaca29b3178931feb1aaf50ac720ef6d760b8a.tar.gz linux-3.10-83aaca29b3178931feb1aaf50ac720ef6d760b8a.tar.bz2 linux-3.10-83aaca29b3178931feb1aaf50ac720ef6d760b8a.zip |
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>
Signed-off-by: Inki Dae <inki.dae@samsung.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); |