All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Coelho <luciano.coelho@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: luca@coelho.fi, gustavo.sousa@intel.com
Subject: [PATCH] drm/xe/display: fix type of intel_uncore_read*() functions
Date: Thu, 14 Mar 2024 08:52:21 +0200	[thread overview]
Message-ID: <20240314065221.1181158-1-luciano.coelho@intel.com> (raw)

Some of the backported intel_uncore_read*() functions used the wrong
types.  Change the function declarations accordingly.

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
---
 drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
index cd26ddc0f69e..ef79793caa72 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
@@ -25,15 +25,15 @@ static inline u32 intel_uncore_read(struct intel_uncore *uncore,
 	return xe_mmio_read32(__compat_uncore_to_gt(uncore), reg);
 }
 
-static inline u32 intel_uncore_read8(struct intel_uncore *uncore,
-				     i915_reg_t i915_reg)
+static inline u8 intel_uncore_read8(struct intel_uncore *uncore,
+				    i915_reg_t i915_reg)
 {
 	struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg));
 
 	return xe_mmio_read8(__compat_uncore_to_gt(uncore), reg);
 }
 
-static inline u32 intel_uncore_read16(struct intel_uncore *uncore,
+static inline u16 intel_uncore_read16(struct intel_uncore *uncore,
 				      i915_reg_t i915_reg)
 {
 	struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg));
-- 
2.39.2


             reply	other threads:[~2024-03-14  6:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-14  6:52 Luca Coelho [this message]
2024-03-14  8:21 ` ✓ Fi.CI.BAT: success for drm/xe/display: fix type of intel_uncore_read*() functions Patchwork
2024-03-14 23:16 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-03-19 10:46   ` Luca Coelho
2024-03-19 13:08 ` ✓ CI.Patch_applied: success for drm/xe/display: fix type of intel_uncore_read*() functions (rev2) Patchwork
2024-03-19 13:08 ` ✓ CI.checkpatch: " Patchwork
2024-03-19 13:09 ` ✓ CI.KUnit: " Patchwork
2024-03-19 13:21 ` ✓ CI.Build: " Patchwork
2024-03-19 13:23 ` ✓ CI.Hooks: " Patchwork
2024-03-19 13:25 ` ✓ CI.checksparse: " Patchwork
2024-03-19 13:55 ` ✓ CI.BAT: " Patchwork
2024-03-19 14:52 ` [PATCH] drm/xe/display: fix type of intel_uncore_read*() functions Lucas De Marchi
2024-03-19 15:06   ` Jani Nikula
2024-03-19 15:14     ` Luca Coelho
2024-03-20 10:11       ` Jani Nikula
  -- strict thread matches above, loose matches on Subject: below --
2023-12-28 11:05 Luca Coelho
2024-01-02 14:28 ` Gustavo Sousa

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=20240314065221.1181158-1-luciano.coelho@intel.com \
    --to=luciano.coelho@intel.com \
    --cc=gustavo.sousa@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=luca@coelho.fi \
    /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.