From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [PATCH 0/6] drm/i915/opregion: better abstractions
Date: Thu, 11 Jan 2024 19:21:13 +0200 [thread overview]
Message-ID: <cover.1704992868.git.jani.nikula@intel.com> (raw)
Here's some opregion refactoring and abstraction inspired by
Radhakrishna's series [1]. This is basically what I want to see done
first.
The next step would be to move VBT firmware loading from
intel_opregion_setup() to intel_bios_setup(). This probably involves
keeping a copy of the VBT around in i915->display.vbt, maybe add vbt and
vbt_size members there. This can be used to fix the i915_vbt debugfs
file to actually reflect the VBT wherever it came from.
BR,
Jani.
[1] https://patchwork.freedesktop.org/series/128341/
Jani Nikula (6):
drm/i915/bios: move i915_vbt debugfs to intel_bios.c
drm/i915/opregion: move i915_opregion debugfs to intel_opregion.c
drm/i915/opregion: abstract getting the opregion VBT
drm/i915/opregion: abstract ASLE presence check
drm/i915/gvt: use local INTEL_GVT_OPREGION_SIZE
drm/i915/opregion: make struct intel_opregion opaque
drivers/gpu/drm/i915/display/intel_bios.c | 33 +++-
drivers/gpu/drm/i915/display/intel_bios.h | 2 +
.../gpu/drm/i915/display/intel_display_core.h | 3 +-
.../drm/i915/display/intel_display_debugfs.c | 26 +--
.../gpu/drm/i915/display/intel_display_irq.c | 6 +-
drivers/gpu/drm/i915/display/intel_opregion.c | 176 +++++++++++++-----
drivers/gpu/drm/i915/display/intel_opregion.h | 47 +++--
drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +-
8 files changed, 187 insertions(+), 108 deletions(-)
--
2.39.2
next reply other threads:[~2024-01-11 17:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-11 17:21 Jani Nikula [this message]
2024-01-11 17:21 ` [PATCH 1/6] drm/i915/bios: move i915_vbt debugfs to intel_bios.c Jani Nikula
2024-01-11 23:11 ` Radhakrishna Sripada
2024-01-11 17:21 ` [PATCH 2/6] drm/i915/opregion: move i915_opregion debugfs to intel_opregion.c Jani Nikula
2024-01-11 23:20 ` Radhakrishna Sripada
2024-01-11 17:21 ` [PATCH 3/6] drm/i915/opregion: abstract getting the opregion VBT Jani Nikula
2024-01-11 23:22 ` Radhakrishna Sripada
2024-01-11 17:21 ` [PATCH 4/6] drm/i915/opregion: abstract ASLE presence check Jani Nikula
2024-01-12 0:03 ` Radhakrishna Sripada
2024-01-12 10:17 ` Jani Nikula
2024-01-12 19:36 ` Radhakrishna Sripada
2024-01-15 13:48 ` Jani Nikula
2024-01-16 9:57 ` Jani Nikula
2024-01-11 17:21 ` [PATCH 5/6] drm/i915/gvt: use local INTEL_GVT_OPREGION_SIZE Jani Nikula
2024-01-12 0:15 ` Radhakrishna Sripada
2024-01-11 17:21 ` [PATCH 6/6] drm/i915/opregion: make struct intel_opregion opaque Jani Nikula
2024-01-12 0:13 ` Radhakrishna Sripada
2024-01-17 11:25 ` Ville Syrjälä
2024-01-17 12:43 ` Jani Nikula
2024-01-11 18:19 ` ✗ Fi.CI.SPARSE: warning for drm/i915/opregion: better abstractions Patchwork
2024-01-11 18:37 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-01-15 14:14 ` ✗ Fi.CI.SPARSE: warning for drm/i915/opregion: better abstractions (rev2) Patchwork
2024-01-15 14:26 ` ✓ Fi.CI.BAT: success " Patchwork
2024-01-15 16:55 ` ✗ 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.1704992868.git.jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@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.