All of 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
Subject: [PATCH 0/5] drm/i915: wakeref fixes and improvements
Date: Wed, 18 Sep 2024 14:17:43 +0300	[thread overview]
Message-ID: <cover.1726658138.git.jani.nikula@intel.com> (raw)

Make wakeref handling a bit more robust. Patches 1-4 fix the issues that
were found by trying patch 5.

Jani Nikula (5):
  drm/i915/gem: fix bitwise and logical AND mixup
  drm/i915: use INTEL_WAKEREF_DEF instead of magic -1 for
    intel_wakeref_t
  drm/i915/gt: add a macro for mock gt wakeref special value and use it
  drm/i915/audio: be explicit about intel_wakeref_t conversions
  drm/i915: switch intel_wakeref_t underlying type to struct ref_tracker
    *

 drivers/gpu/drm/i915/display/intel_audio.c     |  9 +++++----
 .../gpu/drm/i915/display/intel_display_power.c |  2 +-
 .../gpu/drm/i915/display/intel_display_power.h |  4 ++--
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c        |  2 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h          |  6 +++++-
 drivers/gpu/drm/i915/gt/intel_tlb.c            |  2 +-
 drivers/gpu/drm/i915/intel_runtime_pm.c        |  6 +++---
 drivers/gpu/drm/i915/intel_wakeref.h           | 18 ++++++++++--------
 .../gpu/drm/i915/selftests/mock_gem_device.c   |  2 +-
 .../xe/compat-i915-headers/intel_runtime_pm.h  |  7 ++++---
 .../drm/xe/compat-i915-headers/intel_wakeref.h |  4 +++-
 11 files changed, 36 insertions(+), 26 deletions(-)

-- 
2.39.2


             reply	other threads:[~2024-09-18 11:17 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-18 11:17 Jani Nikula [this message]
2024-09-18 11:17 ` [PATCH 1/5] drm/i915/gem: fix bitwise and logical AND mixup Jani Nikula
2024-09-18 11:31   ` Matthew Auld
2024-09-18 13:24   ` Andi Shyti
2024-09-18 15:05   ` Nathan Chancellor
2024-09-18 17:26     ` Jani Nikula
2024-09-18 11:17 ` [PATCH 2/5] drm/i915: use INTEL_WAKEREF_DEF instead of magic -1 for intel_wakeref_t Jani Nikula
2024-09-18 11:17 ` [PATCH 3/5] drm/i915/gt: add a macro for mock gt wakeref special value and use it Jani Nikula
2024-09-18 11:17 ` [PATCH 4/5] drm/i915/audio: be explicit about intel_wakeref_t conversions Jani Nikula
2024-09-18 11:17 ` [PATCH 5/5] drm/i915: switch intel_wakeref_t underlying type to struct ref_tracker * Jani Nikula
2024-09-18 16:23   ` kernel test robot
2024-09-18 14:19 ` ✓ CI.Patch_applied: success for drm/i915: wakeref fixes and improvements Patchwork
2024-09-18 14:19 ` ✗ Fi.CI.CHECKPATCH: warning " Patchwork
2024-09-18 14:19 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-09-18 14:20 ` ✗ CI.checkpatch: " Patchwork
2024-09-18 14:21 ` ✓ CI.KUnit: success " Patchwork
2024-09-18 14:28 ` ✓ Fi.CI.BAT: " Patchwork
2024-09-18 14:32 ` ✓ CI.Build: " Patchwork
2024-09-18 14:35 ` ✓ CI.Hooks: " Patchwork
2024-09-18 14:36 ` ✗ CI.checksparse: warning " Patchwork
2024-09-18 14:55 ` ✓ CI.BAT: success " Patchwork
2024-09-18 21:43 ` ✗ 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.1726658138.git.jani.nikula@intel.com \
    --to=jani.nikula@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.