intel-gfx.lists.freedesktop.org archive mirror
 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, rodrigo.vivi@intel.com,
	lucas.demarchi@intel.com, maarten.lankhorst@linux.intel.com,
	ville.syrjala@linux.intel.com
Subject: [PATCH v3 00/15] drm/i915/display: platform identification with display->platform.<platform>
Date: Mon, 30 Sep 2024 15:31:01 +0300	[thread overview]
Message-ID: <cover.1727699233.git.jani.nikula@intel.com> (raw)

v3 of https://lore.kernel.org/r/cover.1724092799.git.jani.nikula@intel.com

Rename display->is to display->platform. Make platform member names
lowercase. Add the concept of platform and subplatform groups to handle
g4x and hsw/bdw ult/ulx. Add more conversion patches at the end. Minor
tweaks here and there.

I've dropped the previous R-b's because there have been so many changes.

I like the end result better, and I feel more comfortable merging this.

BR,
Jani.


Jani Nikula (15):
  drm/i915/display: reindent subplatform initialization
  drm/i915/display: use a macro to initialize subplatforms
  drm/i915/display: use a macro to define platform enumerations
  drm/i915/display: join the platform and subplatform enums
  drm/i915/display: convert display platforms to lower case
  drm/i915/display: add display platforms structure with platform
    members
  drm/i915/display: add platform member to struct intel_display
  drm/i915/display: remove the display platform enum as unnecessary
  drm/i915/display: add platform group for g4x
  drm/i915/display: add subplatform group for HSW/BDW ULT
  drm/i915/bios: use display->platform.<platform> instead of
    IS_<PLATFORM>()
  drm/i915/pps: use display->platform.<platform> instead of
    IS_<PLATFORM>()
  drm/i915/tv: use display->platform.<platform> instead of
    IS_<PLATFORM>()
  drm/i915/vga: use display->platform.<platform> instead of
    IS_<PLATFORM>()
  drm/i915/vblank: use display->platform.<platform> instead of
    IS_<PLATFORM>()

 drivers/gpu/drm/i915/display/intel_bios.c     |  40 +--
 .../gpu/drm/i915/display/intel_display_core.h |   3 +
 .../drm/i915/display/intel_display_device.c   | 267 +++++++++++++-----
 .../drm/i915/display/intel_display_device.h   | 181 ++++++------
 drivers/gpu/drm/i915/display/intel_pps.c      |  47 ++-
 drivers/gpu/drm/i915/display/intel_tv.c       |  10 +-
 drivers/gpu/drm/i915/display/intel_vblank.c   |  11 +-
 drivers/gpu/drm/i915/display/intel_vga.c      |   4 +-
 8 files changed, 337 insertions(+), 226 deletions(-)

-- 
2.39.5


             reply	other threads:[~2024-09-30 12:31 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-30 12:31 Jani Nikula [this message]
2024-09-30 12:31 ` [PATCH v3 01/15] drm/i915/display: reindent subplatform initialization Jani Nikula
2024-10-07 19:35   ` Rodrigo Vivi
2024-09-30 12:31 ` [PATCH v3 02/15] drm/i915/display: use a macro to initialize subplatforms Jani Nikula
2024-10-07 19:41   ` Rodrigo Vivi
2024-09-30 12:31 ` [PATCH v3 03/15] drm/i915/display: use a macro to define platform enumerations Jani Nikula
2024-10-07 19:48   ` Rodrigo Vivi
2024-10-07 20:36   ` Michal Wajdeczko
2024-10-08  9:30     ` Jani Nikula
2024-10-08  9:42       ` Michal Wajdeczko
2024-10-08 10:08         ` Jani Nikula
2024-09-30 12:31 ` [PATCH v3 04/15] drm/i915/display: join the platform and subplatform enums Jani Nikula
2024-10-07 19:49   ` Rodrigo Vivi
2024-09-30 12:31 ` [PATCH v3 05/15] drm/i915/display: convert display platforms to lower case Jani Nikula
2024-10-07 19:49   ` Rodrigo Vivi
2024-09-30 12:31 ` [PATCH v3 06/15] drm/i915/display: add display platforms structure with platform members Jani Nikula
2024-10-07 19:54   ` Rodrigo Vivi
2024-10-08  9:36     ` Jani Nikula
2024-09-30 12:31 ` [PATCH v3 07/15] drm/i915/display: add platform member to struct intel_display Jani Nikula
2024-09-30 12:31 ` [PATCH v3 08/15] drm/i915/display: remove the display platform enum as unnecessary Jani Nikula
2024-09-30 12:31 ` [PATCH v3 09/15] drm/i915/display: add platform group for g4x Jani Nikula
2024-09-30 12:31 ` [PATCH v3 10/15] drm/i915/display: add subplatform group for HSW/BDW ULT Jani Nikula
2024-09-30 12:31 ` [PATCH v3 11/15] drm/i915/bios: use display->platform.<platform> instead of IS_<PLATFORM>() Jani Nikula
2024-09-30 12:31 ` [PATCH v3 12/15] drm/i915/pps: " Jani Nikula
2024-09-30 12:31 ` [PATCH v3 13/15] drm/i915/tv: " Jani Nikula
2024-09-30 12:31 ` [PATCH v3 14/15] drm/i915/vga: " Jani Nikula
2024-09-30 12:31 ` [PATCH v3 15/15] drm/i915/vblank: " Jani Nikula
2024-10-01  1:45 ` ✗ Fi.CI.SPARSE: warning for drm/i915/display: platform identification with display->platform.<platform> Patchwork
2024-10-01  1:53 ` ✓ Fi.CI.BAT: success " Patchwork
2024-10-01 14:34 ` ✗ Fi.CI.IGT: failure " 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.1727699233.git.jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=lucas.demarchi@intel.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=rodrigo.vivi@intel.com \
    --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;
as well as URLs for NNTP newsgroup(s).