aboutsummaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorGravatar Lyude Paul <lyude@redhat.com> 2021-04-23 14:43:03 -0400
committerGravatar Lyude Paul <lyude@redhat.com> 2021-04-27 18:43:44 -0400
commit739624d86cb9f4ff794256749de7d9510e9fef67 (patch)
tree7a87b359c92b09c960bfba9e1faf4bc5acee4035 /include/drm
parentdrm/dp_dual_mode: Pass drm_device to drm_dp_dual_mode_max_tmds_clock() (diff)
downloadlinux-739624d86cb9f4ff794256749de7d9510e9fef67.tar.gz
linux-739624d86cb9f4ff794256749de7d9510e9fef67.tar.bz2
linux-739624d86cb9f4ff794256749de7d9510e9fef67.zip
drm/dp_dual_mode: Pass drm_device to drm_dp_dual_mode_get_tmds_output()
Another function to pass drm_device * down to so we can start using the drm_dbg_*() in the DRM DP helpers. Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210423184309.207645-12-lyude@redhat.com Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_dp_dual_mode_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_dp_dual_mode_helper.h b/include/drm/drm_dp_dual_mode_helper.h
index aabf9c951380..01eec9ff5962 100644
--- a/include/drm/drm_dp_dual_mode_helper.h
+++ b/include/drm/drm_dp_dual_mode_helper.h
@@ -108,7 +108,7 @@ enum drm_dp_dual_mode_type
drm_dp_dual_mode_detect(const struct drm_device *dev, struct i2c_adapter *adapter);
int drm_dp_dual_mode_max_tmds_clock(const struct drm_device *dev, enum drm_dp_dual_mode_type type,
struct i2c_adapter *adapter);
-int drm_dp_dual_mode_get_tmds_output(enum drm_dp_dual_mode_type type,
+int drm_dp_dual_mode_get_tmds_output(const struct drm_device *dev, enum drm_dp_dual_mode_type type,
struct i2c_adapter *adapter, bool *enabled);
int drm_dp_dual_mode_set_tmds_output(const struct drm_device *dev, enum drm_dp_dual_mode_type type,
struct i2c_adapter *adapter, bool enable);