diff options
author | Dave Airlie <airlied@redhat.com> | 2014-10-20 16:29:33 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-12-09 09:56:48 +1000 |
commit | 40d9b043a89e2301e1f97ade055a73ecc28e9afe (patch) | |
tree | 74bb18795eefa5a95852b100fe864f6bfaa26acc /drivers/gpu/drm/drm_crtc.c | |
parent | c6a0aed4d493936f61cd153db84531026705c94d (diff) | |
download | lwn-40d9b043a89e2301e1f97ade055a73ecc28e9afe.tar.gz lwn-40d9b043a89e2301e1f97ade055a73ecc28e9afe.zip |
drm/connector: store tile information from displayid (v3)
This creates a tile group from DisplayID block, and
stores the pieces of parsed info from the DisplayID block
into the connector.
v2: add missing signoff, add new connector bits to docs.
v3: remove some debugging.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 0d1eaa9966e9..eb89327fb737 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c @@ -908,6 +908,11 @@ void drm_connector_cleanup(struct drm_connector *connector) struct drm_device *dev = connector->dev; struct drm_display_mode *mode, *t; + if (connector->tile_group) { + drm_mode_put_tile_group(dev, connector->tile_group); + connector->tile_group = NULL; + } + list_for_each_entry_safe(mode, t, &connector->probed_modes, head) drm_mode_remove(connector, mode); |