All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/display: fix type of intel_uncore_read*() functions
@ 2024-03-14  6:52 Luca Coelho
  2024-03-14  8:21 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (9 more replies)
  0 siblings, 10 replies; 17+ messages in thread
From: Luca Coelho @ 2024-03-14  6:52 UTC (permalink / raw)
  To: intel-gfx; +Cc: luca, gustavo.sousa

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


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [PATCH] drm/xe/display: fix type of intel_uncore_read*() functions
@ 2023-12-28 11:05 Luca Coelho
  2024-01-02 14:28 ` Gustavo Sousa
  0 siblings, 1 reply; 17+ messages in thread
From: Luca Coelho @ 2023-12-28 11:05 UTC (permalink / raw)
  To: intel-xe

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

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


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-03-20 10:12 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-14  6:52 [PATCH] drm/xe/display: fix type of intel_uncore_read*() functions Luca Coelho
2024-03-14  8:21 ` ✓ Fi.CI.BAT: success for " 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

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.