diff options
author | Jani Nikula <jani.nikula@intel.com> | 2017-05-18 14:10:23 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-05-29 13:37:46 +0300 |
commit | 84c367533bd24108e5392b355280647a4a2893ac (patch) | |
tree | 3def875699aef1e50c52175a02122322351315b8 /drivers/gpu/drm/i915/intel_lspcon.c | |
parent | 118b90f3f18e733c99f0e8b98ea31a815ffc4d14 (diff) | |
download | linux-84c367533bd24108e5392b355280647a4a2893ac.tar.xz |
drm/i915: use drm DP helper to read DPCD desc
Switch to using the common DP helpers instead of using our own.
v2: also remove leftover struct intel_dp_desc (Daniel)
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lspcon.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_lspcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_lspcon.c b/drivers/gpu/drm/i915/intel_lspcon.c index 71cbe9c08932..5abef482eacf 100644 --- a/drivers/gpu/drm/i915/intel_lspcon.c +++ b/drivers/gpu/drm/i915/intel_lspcon.c @@ -240,7 +240,7 @@ bool lspcon_init(struct intel_digital_port *intel_dig_port) return false; } - intel_dp_read_desc(dp); + drm_dp_read_desc(&dp->aux, &dp->desc, drm_dp_is_branch(dp->dpcd)); DRM_DEBUG_KMS("Success: LSPCON init\n"); return true; |