mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] drm/bridge: dw-hdmi: Avoid including uapi headers
@ 2025-04-11 11:59 Andy Yan
  2025-04-14  7:38 ` neil.armstrong
  2025-04-16 23:11 ` Dmitry Baryshkov
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Yan @ 2025-04-11 11:59 UTC (permalink / raw)
  To: lumag
  Cc: cristian.ciocaltea, mripard, neil.armstrong, andrzej.hajda,
	dianders, jernej.skrabec, Laurent.pinchart, maarten.lankhorst,
	rfoss, simona, tzimmermann, dri-devel, linux-kernel, heiko,
	Andy Yan

From: Andy Yan <andy.yan@rock-chips.com>

It is not recommended for drivers to include UAPI header
directly.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>

---

Changes in v2:
- Collect R-b from Heiko.

 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
index b1cdf806b3c40..deaba3b6f9978 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@ -22,8 +22,8 @@
 
 #include <media/cec-notifier.h>
 
-#include <uapi/linux/media-bus-format.h>
-#include <uapi/linux/videodev2.h>
+#include <linux/media-bus-format.h>
+#include <linux/videodev2.h>
 
 #include <drm/bridge/dw_hdmi.h>
 #include <drm/display/drm_hdmi_helper.h>
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] drm/bridge: dw-hdmi: Avoid including uapi headers
  2025-04-11 11:59 [PATCH v2] drm/bridge: dw-hdmi: Avoid including uapi headers Andy Yan
@ 2025-04-14  7:38 ` neil.armstrong
  2025-04-16 23:11 ` Dmitry Baryshkov
  1 sibling, 0 replies; 3+ messages in thread
From: neil.armstrong @ 2025-04-14  7:38 UTC (permalink / raw)
  To: Andy Yan, lumag
  Cc: cristian.ciocaltea, mripard, andrzej.hajda, dianders,
	jernej.skrabec, Laurent.pinchart, maarten.lankhorst, rfoss,
	simona, tzimmermann, dri-devel, linux-kernel, heiko, Andy Yan

On 11/04/2025 13:59, Andy Yan wrote:
> From: Andy Yan <andy.yan@rock-chips.com>
> 
> It is not recommended for drivers to include UAPI header
> directly.
> 
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
> Reviewed-by: Heiko Stuebner <heiko@sntech.de>
> 
> ---
> 
> Changes in v2:
> - Collect R-b from Heiko.
> 
>   drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
> index b1cdf806b3c40..deaba3b6f9978 100644
> --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
> +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
> @@ -22,8 +22,8 @@
>   
>   #include <media/cec-notifier.h>
>   
> -#include <uapi/linux/media-bus-format.h>
> -#include <uapi/linux/videodev2.h>
> +#include <linux/media-bus-format.h>
> +#include <linux/videodev2.h>
>   
>   #include <drm/bridge/dw_hdmi.h>
>   #include <drm/display/drm_hdmi_helper.h>

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] drm/bridge: dw-hdmi: Avoid including uapi headers
  2025-04-11 11:59 [PATCH v2] drm/bridge: dw-hdmi: Avoid including uapi headers Andy Yan
  2025-04-14  7:38 ` neil.armstrong
@ 2025-04-16 23:11 ` Dmitry Baryshkov
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Baryshkov @ 2025-04-16 23:11 UTC (permalink / raw)
  To: lumag, Andy Yan
  Cc: cristian.ciocaltea, mripard, neil.armstrong, andrzej.hajda,
	dianders, jernej.skrabec, Laurent.pinchart, maarten.lankhorst,
	rfoss, simona, tzimmermann, dri-devel, linux-kernel, heiko,
	Andy Yan

On Fri, 11 Apr 2025 19:59:37 +0800, Andy Yan wrote:
> It is not recommended for drivers to include UAPI header
> directly.
> 
> 

Applied to drm-misc-next, thanks!

[1/1] drm/bridge: dw-hdmi: Avoid including uapi headers
      commit: 4890d68db651562ea80250f2c93205a5c0327a6a

Best regards,
-- 
With best wishes
Dmitry



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-16 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-11 11:59 [PATCH v2] drm/bridge: dw-hdmi: Avoid including uapi headers Andy Yan
2025-04-14  7:38 ` neil.armstrong
2025-04-16 23:11 ` Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®