intel-xe.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, Gustavo Sousa <gustavo.sousa@intel.com>,
	ville.syrjala@linux.intel.com
Subject: [PATCH 0/4] drm/i915/pmdemand: cleanups
Date: Tue, 31 Dec 2024 18:27:36 +0200	[thread overview]
Message-ID: <cover.1735662324.git.jani.nikula@intel.com> (raw)

Make pmdemand state opaque, convert pmdemand and global state to struct
intel_display, and make pmdemand independent of i915_drv.h.

This is what I'd like to be done to all global state management. All
opaque, all converted to struct intel_display.

BR,
Jani.


Jani Nikula (4):
  drm/i915/pmdemand: convert to_intel_pmdemand_state() to a function
  drm/i915/pmdemand: make struct intel_pmdemand_state opaque
  drm/i915/pmdemand: convert to struct intel_display
  drm/i915/display: convert global state to struct intel_display

 drivers/gpu/drm/i915/display/intel_bw.c       |   3 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c    |   3 +-
 .../drm/i915/display/intel_display_driver.c   |   8 +-
 .../drm/i915/display/intel_display_power.c    |   4 +-
 .../gpu/drm/i915/display/intel_global_state.c |  42 ++--
 .../gpu/drm/i915/display/intel_global_state.h |   6 +-
 .../drm/i915/display/intel_modeset_setup.c    |  17 +-
 drivers/gpu/drm/i915/display/intel_pmdemand.c | 195 ++++++++++--------
 drivers/gpu/drm/i915/display/intel_pmdemand.h |  51 ++---
 drivers/gpu/drm/i915/display/skl_watermark.c  |   3 +-
 10 files changed, 170 insertions(+), 162 deletions(-)

-- 
2.39.5


             reply	other threads:[~2024-12-31 16:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-31 16:27 Jani Nikula [this message]
2024-12-31 16:27 ` [PATCH 1/4] drm/i915/pmdemand: convert to_intel_pmdemand_state() to a function Jani Nikula
2024-12-31 19:11   ` Gustavo Sousa
2025-01-07 17:43     ` Jani Nikula
2024-12-31 16:27 ` [PATCH 2/4] drm/i915/pmdemand: make struct intel_pmdemand_state opaque Jani Nikula
2024-12-31 19:31   ` Gustavo Sousa
2024-12-31 16:27 ` [PATCH 3/4] drm/i915/pmdemand: convert to struct intel_display Jani Nikula
2024-12-31 19:39   ` Gustavo Sousa
2024-12-31 16:27 ` [PATCH 4/4] drm/i915/display: convert global state " Jani Nikula
2024-12-31 19:55   ` Gustavo Sousa
2024-12-31 16:33 ` ✓ CI.Patch_applied: success for drm/i915/pmdemand: cleanups Patchwork
2024-12-31 16:33 ` ✓ CI.checkpatch: " Patchwork
2024-12-31 16:35 ` ✓ CI.KUnit: " Patchwork
2024-12-31 16:53 ` ✓ CI.Build: " Patchwork
2024-12-31 16:55 ` ✓ CI.Hooks: " Patchwork
2024-12-31 16:57 ` ✓ CI.checksparse: " Patchwork
2024-12-31 17:29 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-31 21:20 ` ✗ Xe.CI.Full: 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.1735662324.git.jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=gustavo.sousa@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@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;
as well as URLs for NNTP newsgroup(s).