diff options
| author | Dave Airlie <[email protected]> | 2014-10-20 06:30:50 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2014-12-08 23:56:48 +0000 |
| commit | 6f134d7bb4347ab4c66ef123efb838fedb54186f (patch) | |
| tree | 4e7d66d7668fef9e6d1a5714b2bba2280613418c /drivers/gpu/drm/i915/intel_dp_mst.c | |
| parent | drm/connector: store tile information from displayid (v3) (diff) | |
| download | kernel-6f134d7bb4347ab4c66ef123efb838fedb54186f.tar.gz kernel-6f134d7bb4347ab4c66ef123efb838fedb54186f.zip | |
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
| -rw-r--r-- | drivers/gpu/drm/i915/intel_dp_mst.c | 2 |
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 428bb3041621..7f8c6a66680a 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); |
