Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: jani.nikula@intel.com, Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Subject: [PATCH 0/4] drm/i915/gvt: further reduce dependency on display
Date: Wed, 28 Jan 2026 16:59:06 +0200	[thread overview]
Message-ID: <cover.1769612208.git.jani.nikula@intel.com> (raw)

GVT still includes a handful of core display headers, and uses struct
dpll. Migrate away from them, reducing the include "surface" to avoid
even accidental usages of display functions or types.

With this, GVT should only use 1) register macros, 2) some enums, 3) the
handful of APIs to support register macros.

BR,
Jani.

Jani Nikula (4):
  drm/i915/display: move enum aux_ch to intel_display_limits.h
  drm/i915/gvt: drop dependency on display struct dpll
  drm/i915/gvt: drop dependency on intel_display_types.h
  drm/i915/gvt: drop unnecessary include of intel_display.h

 drivers/gpu/drm/i915/display/intel_display.h  | 26 -------------
 .../drm/i915/display/intel_display_limits.h   | 26 +++++++++++++
 drivers/gpu/drm/i915/gvt/display.c            |  1 -
 drivers/gpu/drm/i915/gvt/handlers.c           | 38 +++++++++----------
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c   |  2 +-
 5 files changed, 45 insertions(+), 48 deletions(-)

-- 
2.47.3


             reply	other threads:[~2026-01-28 14:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-28 14:59 Jani Nikula [this message]
2026-01-28 14:59 ` [PATCH 1/4] drm/i915/display: move enum aux_ch to intel_display_limits.h Jani Nikula
2026-01-29  3:02   ` Kandpal, Suraj
2026-01-29  4:22   ` Nautiyal, Ankit K
2026-01-28 14:59 ` [PATCH 2/4] drm/i915/gvt: drop dependency on display struct dpll Jani Nikula
2026-01-29  4:24   ` Nautiyal, Ankit K
2026-01-28 14:59 ` [PATCH 3/4] drm/i915/gvt: drop dependency on intel_display_types.h Jani Nikula
2026-01-29  4:31   ` Nautiyal, Ankit K
2026-01-29  8:46     ` Jani Nikula
2026-01-28 14:59 ` [PATCH 4/4] drm/i915/gvt: drop unnecessary include of intel_display.h Jani Nikula
2026-01-29  4:36   ` Nautiyal, Ankit K
2026-01-28 19:43 ` ✗ CI.checkpatch: warning for drm/i915/gvt: further reduce dependency on display Patchwork
2026-01-28 19:44 ` ✓ CI.KUnit: success " Patchwork
2026-01-28 19:59 ` ✗ CI.checksparse: warning " Patchwork
2026-01-28 20:18 ` ✓ Xe.CI.BAT: success " 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=cover.1769612208.git.jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=ankit.k.nautiyal@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    /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