summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-10-20 16:30:50 +1000
committerDave Airlie <airlied@redhat.com>2014-12-09 09:56:48 +1000
commit6f134d7bb4347ab4c66ef123efb838fedb54186f (patch)
tree4e7d66d7668fef9e6d1a5714b2bba2280613418c /drivers/gpu/drm/i915
parent40d9b043a89e2301e1f97ade055a73ecc28e9afe (diff)
downloadop-kernel-dev-6f134d7bb4347ab4c66ef123efb838fedb54186f.zip
op-kernel-dev-6f134d7bb4347ab4c66ef123efb838fedb54186f.tar.gz
drm/tile: expose the tile property to userspace (v3)
This takes the tiling info from the connector and exposes it to userspace, as a blob object in a connector property. The contents of the blob is ABI. v2: add property + function documentation. v3: move property setup from previous patch. add boilerplate + fix long line (Daniel) Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/intel_dp_mst.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c
index 428bb30..7f8c6a6 100644
--- a/drivers/gpu/drm/i915/intel_dp_mst.c
+++ b/drivers/gpu/drm/i915/intel_dp_mst.c
@@ -414,6 +414,8 @@ static struct drm_connector *intel_dp_add_mst_connector(struct drm_dp_mst_topolo
intel_dp_add_properties(intel_dp, connector);
drm_object_attach_property(&connector->base, dev->mode_config.path_property, 0);
+ drm_object_attach_property(&connector->base, dev->mode_config.tile_property, 0);
+
drm_mode_connector_set_path_property(connector, pathprop);
drm_reinit_primary_mode_group(dev);
mutex_lock(&dev->mode_config.mutex);
OpenPOWER on IntegriCloud