On Wed, Mar 18, 2026, 04:36 Vladimir Oltean <[email protected]> wrote:
> Multiple DRM bridge drivers use runtime PM operations without > including the proper header, instead relying on transitive inclusion > by <linux/phy/phy.h>. > > The PHY subsystem wants to get rid of headers it provides for no reason, > so modify these drivers to include what they need directly. > > Signed-off-by: Vladimir Oltean <[email protected]> > --- > Cc: Andrzej Hajda <[email protected]> > Cc: Neil Armstrong <[email protected]> > Cc: Robert Foss <[email protected]> > Cc: Laurent Pinchart <[email protected]> > Cc: Jonas Karlman <[email protected]> > Cc: Jernej Skrabec <[email protected]> > Cc: Maarten Lankhorst <[email protected]> > Cc: Maxime Ripard <[email protected]> > Cc: Thomas Zimmermann <[email protected]> > Cc: David Airlie <[email protected]> > Cc: Simona Vetter <[email protected]> > Cc: Inki Dae <[email protected]> > Cc: Jagan Teki <[email protected]> > Cc: Marek Szyprowski <[email protected]> > Cc: Rob Clark <[email protected]> > Cc: Dmitry Baryshkov <[email protected]> > > v1->v4: none > --- > drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 1 + > drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c | 1 + > drivers/gpu/drm/bridge/nwl-dsi.c | 1 + > drivers/gpu/drm/bridge/samsung-dsim.c | 1 + > drivers/gpu/drm/msm/dp/dp_aux.c | 1 + > drivers/gpu/drm/rockchip/cdn-dp-core.c | 1 + > 6 files changed, 6 insertions(+) > > diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > index efe534977d12..9dfe790e6c14 100644 > --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > @@ -18,6 +18,7 @@ > #include <linux/of.h> > #include <linux/phy/phy.h> > #include <linux/platform_device.h> > +#include <linux/pm_runtime.h> > > #include <drm/bridge/analogix_dp.h> > #include <drm/drm_atomic.h> > diff --git a/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c > b/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c > index 9392c226ff5b..a8b6ae58cb0a 100644 > --- a/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c > +++ b/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c > @@ -32,6 +32,7 @@ > #include <linux/phy/phy.h> > #include <linux/phy/phy-dp.h> > #include <linux/platform_device.h> > +#include <linux/pm_runtime.h> > #include <linux/slab.h> > #include <linux/wait.h> > > diff --git a/drivers/gpu/drm/bridge/nwl-dsi.c > b/drivers/gpu/drm/bridge/nwl-dsi.c > index 2f7429b24fc2..9ac8796ae91e 100644 > --- a/drivers/gpu/drm/bridge/nwl-dsi.c > +++ b/drivers/gpu/drm/bridge/nwl-dsi.c > @@ -18,6 +18,7 @@ > #include <linux/of.h> > #include <linux/phy/phy.h> > #include <linux/platform_device.h> > +#include <linux/pm_runtime.h> > #include <linux/regmap.h> > #include <linux/reset.h> > #include <linux/sys_soc.h> > diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c > b/drivers/gpu/drm/bridge/samsung-dsim.c > index 930aaa659c97..54bc148fc29d 100644 > --- a/drivers/gpu/drm/bridge/samsung-dsim.c > +++ b/drivers/gpu/drm/bridge/samsung-dsim.c > @@ -20,6 +20,7 @@ > #include <linux/of.h> > #include <linux/phy/phy.h> > #include <linux/platform_device.h> > +#include <linux/pm_runtime.h> > #include <linux/units.h> > > #include <video/mipi_display.h> > diff --git a/drivers/gpu/drm/msm/dp/dp_aux.c > b/drivers/gpu/drm/msm/dp/dp_aux.c > index 3825a2fb48e2..5ee22f88bd28 100644 > --- a/drivers/gpu/drm/msm/dp/dp_aux.c > +++ b/drivers/gpu/drm/msm/dp/dp_aux.c > @@ -6,6 +6,7 @@ > #include <linux/delay.h> > #include <linux/iopoll.h> > #include <linux/phy/phy.h> > +#include <linux/pm_runtime.h> > #include <drm/drm_print.h> > > #include "dp_reg.h" > diff --git a/drivers/gpu/drm/rockchip/cdn-dp-core.c > b/drivers/gpu/drm/rockchip/cdn-dp-core.c > index 177e30445ee8..68556daa54ae 100644 > --- a/drivers/gpu/drm/rockchip/cdn-dp-core.c > +++ b/drivers/gpu/drm/rockchip/cdn-dp-core.c > @@ -10,6 +10,7 @@ > #include <linux/firmware.h> > #include <linux/mfd/syscon.h> > #include <linux/phy/phy.h> > +#include <linux/pm_runtime.h> > #include <linux/regmap.h> > #include <linux/reset.h> > > -- > 2.43.0 > > >
