summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@linaro.org>2025-02-03 13:57:58 +0300
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2025-02-25 19:34:14 +0300
commit6dcc3c5121b72c3633592db761e76083cf7623a3 (patch)
tree2cac0973648a40d84a76e78ee24b53b62b4c1cc5 /rust/helpers/build_bug.c
parent226a0baf9098841ceb92ab7804a07426540663c7 (diff)
downloadlinux-6dcc3c5121b72c3633592db761e76083cf7623a3.tar.xz
drm/i915/dp: Use the generic helper to control LTTPR transparent mode
LTTPRs operating modes are defined by the DisplayPort standard and the generic framework now provides a helper to switch between them, which is handling the explicit disabling of non-transparent mode and its disable->enable sequence mentioned in the DP Standard v2.0 section 3.6.6.1. So use the new drm generic helper instead as it makes the code a bit cleaner. Since the driver specific implementation holds the lttrp_common_caps, if the call to the drm generic helper fails, the lttrp_common_caps need to be updated as the helper has already rolled back to transparent mode. Acked-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Acked-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250203-drm-dp-msm-add-lttpr-transparent-mode-set-v5-3-c865d0e56d6e@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions