projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4570c09
)
drm/xe/gt_throttle: Convert register access to use xe_mmio
author
Matt Roper
<matthew.d.roper@intel.com>
Tue, 10 Sep 2024 23:47:48 +0000
(16:47 -0700)
committer
Matt Roper
<matthew.d.roper@intel.com>
Wed, 11 Sep 2024 22:32:50 +0000
(15:32 -0700)
Stop using GT pointers for register access.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20240910234719.3335472-73-matthew.d.roper@intel.com
drivers/gpu/drm/xe/xe_gt_throttle.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/xe_gt_throttle.c
b/drivers/gpu/drm/xe/xe_gt_throttle.c
index
25963e3
..
03b2253
100644
(file)
--- a/
drivers/gpu/drm/xe/xe_gt_throttle.c
+++ b/
drivers/gpu/drm/xe/xe_gt_throttle.c
@@
-41,9
+41,9
@@
u32 xe_gt_throttle_get_limit_reasons(struct xe_gt *gt)
xe_pm_runtime_get(gt_to_xe(gt));
if (xe_gt_is_media_type(gt))
- reg = xe_mmio_read32(
gt
, MTL_MEDIA_PERF_LIMIT_REASONS);
+ reg = xe_mmio_read32(
>->mmio
, MTL_MEDIA_PERF_LIMIT_REASONS);
else
- reg = xe_mmio_read32(
gt
, GT0_PERF_LIMIT_REASONS);
+ reg = xe_mmio_read32(
>->mmio
, GT0_PERF_LIMIT_REASONS);
xe_pm_runtime_put(gt_to_xe(gt));
return reg;