From: sashiko-bot@kernel.org
To: "Jani Nikula" <jani.nikula@intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 3/3] drm/i915/gvt: reduce some display includes
Date: Fri, 27 Nov 2026 18:08:10 +0000 [thread overview]
Message-ID: <sashiko-outbox-238045@kernel.org> (raw)
In-Reply-To: <11a0a2afacdf720d9da8df2f8bed773edfb80d3d.1795802238.git.jani.nikula@intel.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/i915/gvt: leftover intel_dpio_phy.h include in mmio.c
--
commit bfb839a271fa5e5315ca732afa20ab6d5fd14754
Author: Jani Nikula <jani.nikula@intel.com>
drm/i915/gvt: reduce some display includes
This commit duplicates a few DPLL, FBC, and DPIO definitions in
drivers/gpu/drm/i915/gvt/display_registers.h so that GVT does not need to
include intel_dpio_phy.h, intel_dpll_mgr.h, or intel_fbc.h.
> diff --git a/drivers/gpu/drm/i915/gvt/display_registers.h b/drivers/gpu/drm/i915/gvt/display_registers.h
> index 9505da8c43e08..7a18198cc5694 100644
> --- a/drivers/gpu/drm/i915/gvt/display_registers.h
> +++ b/drivers/gpu/drm/i915/gvt/display_registers.h
> @@ -34,6 +34,16 @@
> #include "display/skl_watermark_regs.h"
> #include "display/vlv_dsi_pll_regs.h"
>
> +/* some duplicate definitions to avoid extra display includes */
> +#define DPLL_ID_SKL_DPLL0 0
> +#define DPLL_ID_WRPLL1 0
> +#define DPLL_ID_WRPLL2 1
> +#define INTEL_FBC_A 0
> +#define DPIO_CH0 0
> +#define DPIO_CH1 1
> +#define DPIO_PHY0 0
> +#define DPIO_PHY1 1
[Severity: Low]
Should display/intel_dpio_phy.h also be removed from
drivers/gpu/drm/i915/gvt/mmio.c?
drivers/gpu/drm/i915/gvt/mmio.c still includes display/intel_dpio_phy.h
right before display_registers.h and only uses DPIO_PHY0 and DPIO_PHY1 in
intel_vgpu_reset_mmio(), so the DPIO identifiers end up defined as both
enum constants and preprocessor macros in that translation unit.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1795802238.git.jani.nikula@intel.com?part=3
next prev parent reply other threads:[~2026-11-27 18:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 17:59 [PATCH 0/3] drm/i915/gvt: change display register includes Jani Nikula
2026-11-27 17:59 ` [PATCH 1/3] drm/i915/gvt: rename display_helpers.h to display_registers.h Jani Nikula
2026-11-27 17:59 ` [PATCH 2/3] drm/i915/gvt: group all display includes in one header Jani Nikula
2026-11-27 17:59 ` [PATCH 3/3] drm/i915/gvt: reduce some display includes Jani Nikula
2026-11-27 18:08 ` sashiko-bot [this message]
2026-11-27 21:25 ` ✓ i915.CI.BAT: success for drm/i915/gvt: change display register includes 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=sashiko-outbox-238045@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=sashiko-reviews@lists.linux.dev \
/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