From: "Borah, Chaitanya Kumar" <chaitanya.kumar.borah@intel.com>
To: Jani Nikula <jani.nikula@intel.com>,
<intel-gfx@lists.freedesktop.org>,
<intel-xe@lists.freedesktop.org>
Cc: Suraj Kandpal <suraj.kandpal@intel.com>,
Uma Shankar <uma.shankar@intel.com>
Subject: Re: [PATCH] drm/i915/colorop: do not include headers from headers
Date: Thu, 18 Dec 2025 19:52:18 +0530 [thread overview]
Message-ID: <c52a0666-d980-4462-bdf3-1e842fbf6c02@intel.com> (raw)
In-Reply-To: <20251218141807.409751-1-jani.nikula@intel.com>
On 12/18/2025 7:48 PM, Jani Nikula wrote:
> drm_colorop.h doesn't need the intel_display_types.h include for
> anything. Don't include headers from headers if it can be avoided.
>
LGTM
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
> Fixes: 3e9b06559aa1 ("drm/i915: Add intel_color_op")
> Cc: Suraj Kandpal <suraj.kandpal@intel.com>
> Cc: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
> Cc: Uma Shankar <uma.shankar@intel.com>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_colorop.c | 2 ++
> drivers/gpu/drm/i915/display/intel_colorop.h | 4 +++-
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_colorop.c b/drivers/gpu/drm/i915/display/intel_colorop.c
> index f2fc0d8780ce..1d84933f05aa 100644
> --- a/drivers/gpu/drm/i915/display/intel_colorop.c
> +++ b/drivers/gpu/drm/i915/display/intel_colorop.c
> @@ -2,7 +2,9 @@
> /*
> * Copyright © 2025 Intel Corporation
> */
> +
> #include "intel_colorop.h"
> +#include "intel_display_types.h"
>
> struct intel_colorop *to_intel_colorop(struct drm_colorop *colorop)
> {
> diff --git a/drivers/gpu/drm/i915/display/intel_colorop.h b/drivers/gpu/drm/i915/display/intel_colorop.h
> index 21d58eb9f3d0..9276eee6e75a 100644
> --- a/drivers/gpu/drm/i915/display/intel_colorop.h
> +++ b/drivers/gpu/drm/i915/display/intel_colorop.h
> @@ -6,7 +6,9 @@
> #ifndef __INTEL_COLOROP_H__
> #define __INTEL_COLOROP_H__
>
> -#include "intel_display_types.h"
> +enum intel_color_block;
> +struct drm_colorop;
> +struct intel_colorop;
>
> struct intel_colorop *to_intel_colorop(struct drm_colorop *colorop);
> struct intel_colorop *intel_colorop_alloc(void);
next prev parent reply other threads:[~2025-12-18 14:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-18 14:18 [PATCH] drm/i915/colorop: do not include headers from headers Jani Nikula
2025-12-18 14:22 ` Borah, Chaitanya Kumar [this message]
2025-12-19 9:31 ` Jani Nikula
2025-12-18 14:56 ` ✓ CI.KUnit: success for " Patchwork
2025-12-18 15:11 ` ✗ CI.checksparse: warning " Patchwork
2025-12-18 15:28 ` ✓ Xe.CI.BAT: success " Patchwork
2025-12-19 12:16 ` ✓ Xe.CI.Full: " Patchwork
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=c52a0666-d980-4462-bdf3-1e842fbf6c02@intel.com \
--to=chaitanya.kumar.borah@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=suraj.kandpal@intel.com \
--cc=uma.shankar@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