[PATCH] drm/msm/dp: remove most of usbpd-related remains
Bjorn Andersson
bjorn.andersson at linaro.org
Sun May 16 05:41:36 UTC 2021
On Sat 15 May 14:56 CDT 2021, Dmitry Baryshkov wrote:
> Remove most of remains of downstream usbpd code. Mainline kernel uses
> different approach for managing Type-C / USB-PD, so this remains unused.
> Do not touch usbpd callbacks for now, since they look usefull enough as
> an example of how to handle connect/disconnect (to be rewritten into .
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
> drivers/gpu/drm/msm/Makefile | 1 -
> drivers/gpu/drm/msm/dp/dp_ctrl.c | 4 +-
> drivers/gpu/drm/msm/dp/dp_ctrl.h | 3 +-
> drivers/gpu/drm/msm/dp/dp_debug.c | 6 +--
> drivers/gpu/drm/msm/dp/dp_debug.h | 4 +-
> drivers/gpu/drm/msm/dp/dp_display.c | 36 ++-------------
> drivers/gpu/drm/msm/dp/dp_hpd.c | 69 -----------------------------
> drivers/gpu/drm/msm/dp/dp_hpd.h | 51 ---------------------
> drivers/gpu/drm/msm/dp/dp_power.c | 2 +-
> drivers/gpu/drm/msm/dp/dp_power.h | 3 +-
> 10 files changed, 11 insertions(+), 168 deletions(-)
> delete mode 100644 drivers/gpu/drm/msm/dp/dp_hpd.c
>
[..]
> diff --git a/drivers/gpu/drm/msm/dp/dp_hpd.c b/drivers/gpu/drm/msm/dp/dp_hpd.c
It seems to me that this would be a reasonable place to plug in the
typec_mux stuff. And as we're starting that exercise we should perhaps
hold off on applying until we've figured out how that would look?
Regards,
Bjorn
More information about the dri-devel
mailing list