Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 1/8] drm: Drop drm_edid.h from drm_crtc.h
Date: Wed, 15 Jun 2022 21:38:42 +0200	[thread overview]
Message-ID: <Yqo1Qo9HlaHT8mSI@ravnborg.org> (raw)
In-Reply-To: <20220613200317.11305-2-ville.syrjala@linux.intel.com>

Hi Ville,

On Mon, Jun 13, 2022 at 11:03:10PM +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> drm_crtc.h has no need for drm_edid.h, so don't include it.
> Avoids useless rebuilds of the entire universe when
> touching drm_edid.h.
> 
> Quite a few placs do currently depend on drm_edid.h without
> actually including it directly. All of those need to be fixed
> up.
This is a very nice reduction in implicit includes.

> 
> diff --git a/drivers/gpu/drm/arm/malidp_mw.c b/drivers/gpu/drm/arm/malidp_mw.c
> index 204c869d9fe2..43de2ac8f27e 100644
> --- a/drivers/gpu/drm/arm/malidp_mw.c
> +++ b/drivers/gpu/drm/arm/malidp_mw.c
> @@ -10,6 +10,7 @@
>  #include <drm/drm_atomic_helper.h>
>  #include <drm/drm_crtc.h>
>  #include <drm/drm_fb_cma_helper.h>
> +#include <drm/drm_edid.h>
>  #include <drm/drm_fourcc.h>
Please maintain the alphabetic order of the includes.
This reduces the risk of conflict when we have multiple edits
in different parallel commits.


> diff --git a/drivers/gpu/drm/imx/imx-ldb.c b/drivers/gpu/drm/imx/imx-ldb.c
> index 14a058a42854..4f2fd69c4a4e 100644
> --- a/drivers/gpu/drm/imx/imx-ldb.c
> +++ b/drivers/gpu/drm/imx/imx-ldb.c
> @@ -22,6 +22,7 @@
>  #include <drm/drm_atomic_helper.h>
>  #include <drm/drm_bridge.h>
>  #include <drm/drm_fb_helper.h>
> +#include <drm/drm_edid.h>
ditto
>  #include <drm/drm_managed.h>
>  #include <drm/drm_of.h>
>  #include <drm/drm_panel.h>
> diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c
> index 2b1fdf2cbbce..9a2fa352a433 100644
> --- a/drivers/gpu/drm/imx/imx-tve.c
> +++ b/drivers/gpu/drm/imx/imx-tve.c
> @@ -19,6 +19,7 @@
>  
>  #include <drm/drm_atomic_helper.h>
>  #include <drm/drm_fb_helper.h>
> +#include <drm/drm_edid.h>
ditto
>  #include <drm/drm_managed.h>
>  #include <drm/drm_probe_helper.h>
>  #include <drm/drm_simple_kms_helper.h>
> diff --git a/drivers/gpu/drm/imx/parallel-display.c b/drivers/gpu/drm/imx/parallel-display.c
> index 63ba2ad84679..5a91a5c82057 100644
> --- a/drivers/gpu/drm/imx/parallel-display.c
> +++ b/drivers/gpu/drm/imx/parallel-display.c
> @@ -15,6 +15,7 @@
>  #include <drm/drm_atomic_helper.h>
>  #include <drm/drm_bridge.h>
>  #include <drm/drm_fb_helper.h>
> +#include <drm/drm_edid.h>
ditto
>  #include <drm/drm_managed.h>
>  #include <drm/drm_of.h>
>  #include <drm/drm_panel.h>
> diff --git a/drivers/gpu/drm/vboxvideo/vbox_mode.c b/drivers/gpu/drm/vboxvideo/vbox_mode.c
> index 4017b0a621fc..52eaa10712ec 100644
> --- a/drivers/gpu/drm/vboxvideo/vbox_mode.c
> +++ b/drivers/gpu/drm/vboxvideo/vbox_mode.c
> @@ -16,6 +16,7 @@
>  #include <drm/drm_atomic.h>
>  #include <drm/drm_atomic_helper.h>
>  #include <drm/drm_fb_helper.h>
> +#include <drm/drm_edid.h>
ditto
>  #include <drm/drm_fourcc.h>
>  #include <drm/drm_gem_atomic_helper.h>
>  #include <drm/drm_gem_framebuffer_helper.h>


With the above fixed:
Acked-by: Sam Ravnborg <sam@ravnborg.org>

  parent reply	other threads:[~2022-06-15 19:54 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-13 20:03 [Intel-gfx] [PATCH 0/8] drm: Clean up drm_crtc.h Ville Syrjala
2022-06-13 20:03 ` [Intel-gfx] [PATCH 1/8] drm: Drop drm_edid.h from drm_crtc.h Ville Syrjala
2022-06-14  9:02   ` [Intel-gfx] [PATCH v2 " Ville Syrjala
2022-06-15 19:38   ` Sam Ravnborg [this message]
2022-06-13 20:03 ` [Intel-gfx] [PATCH 2/8] drm: Drop drm_framebuffer.h " Ville Syrjala
2022-06-13 23:24   ` kernel test robot
2022-06-14  0:05   ` kernel test robot
2022-06-14  9:03   ` [Intel-gfx] [PATCH v2 " Ville Syrjala
2022-06-14  9:54   ` [Intel-gfx] [PATCH v3 " Ville Syrjala
2022-06-15 19:41     ` Sam Ravnborg
2022-06-13 20:03 ` [Intel-gfx] [PATCH 3/8] drm: Drop drm_blend.h " Ville Syrjala
2022-06-15 19:45   ` Sam Ravnborg
2022-06-13 20:03 ` [Intel-gfx] [PATCH 4/8] drm: Drop drm_connector.h " Ville Syrjala
2022-06-13 20:03 ` [Intel-gfx] [PATCH 5/8] drm: Remove unnecessary junk " Ville Syrjala
2022-06-13 20:03 ` [Intel-gfx] [PATCH 6/8] drm: Remove linux/fb.h " Ville Syrjala
2022-06-13 20:03 ` [Intel-gfx] [PATCH 7/8] drm: Remove linux/media-bus-format.h " Ville Syrjala
2022-06-14  0:05   ` kernel test robot
2022-06-14  0:56   ` kernel test robot
2022-06-14  9:56   ` [Intel-gfx] [PATCH v3 " Ville Syrjala
2022-06-13 20:03 ` [Intel-gfx] [PATCH 8/8] drm: Remove linux/i2c.h " Ville Syrjala
2022-06-14  1:38 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for drm: Clean up drm_crtc.h Patchwork
2022-06-14  8:04 ` [Intel-gfx] [PATCH 0/8] " Jani Nikula
2022-06-14 15:42 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm: Clean up drm_crtc.h (rev5) Patchwork
2022-06-15  5:17 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2022-06-15 19:48 ` [Intel-gfx] [PATCH 0/8] drm: Clean up drm_crtc.h Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yqo1Qo9HlaHT8mSI@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=ville.syrjala@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox