diff options
| author | Dhinakaran Pandiyan <[email protected]> | 2017-01-24 23:49:29 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2017-01-25 05:01:48 +0000 |
| commit | 7b0a89a6db9a5912065e174162ec4a653c9b25d6 (patch) | |
| tree | 8bde147678ac1428b494143fd303f21664a6bec2 /drivers/gpu/drm/i915/intel_dp_mst.c | |
| parent | drm/vgem: Switch to reservation_object_lock() helpers (diff) | |
| download | kernel-7b0a89a6db9a5912065e174162ec4a653c9b25d6.tar.gz kernel-7b0a89a6db9a5912065e174162ec4a653c9b25d6.zip | |
drm/dp: Store drm_device in MST topology manager
struct drm_dp_mst_topology_mgr currently stores a pointer to struct dev.
Changing this to instead hold a pointer to drm_device is more useful as it
gives access to DRM structures. This also makes it consistent with other
DRM structures like drm_crtc, drm_connector etc.
Signed-off-by: Dhinakaran Pandiyan <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
| -rw-r--r-- | drivers/gpu/drm/i915/intel_dp_mst.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c index 205fe4748ec5..38e3ca2f6f18 100644 --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -587,7 +587,8 @@ intel_dp_mst_encoder_init(struct intel_digital_port *intel_dig_port, int conn_ba /* create encoders */ intel_dp_create_fake_mst_encoders(intel_dig_port); - ret = drm_dp_mst_topology_mgr_init(&intel_dp->mst_mgr, dev->dev, &intel_dp->aux, 16, 3, conn_base_id); + ret = drm_dp_mst_topology_mgr_init(&intel_dp->mst_mgr, dev, + &intel_dp->aux, 16, 3, conn_base_id); if (ret) { intel_dp->can_mst = false; return ret; |
