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:
0afda5d
)
drm/xe/wa: Convert register access to use xe_mmio
author
Matt Roper
<matthew.d.roper@intel.com>
Tue, 10 Sep 2024 23:47:39 +0000
(16:47 -0700)
committer
Matt Roper
<matthew.d.roper@intel.com>
Wed, 11 Sep 2024 22:32:49 +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-64-matthew.d.roper@intel.com
drivers/gpu/drm/xe/xe_wa.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/xe_wa.c
b/drivers/gpu/drm/xe/xe_wa.c
index
d424992
..
22c148b
100644
(file)
--- a/
drivers/gpu/drm/xe/xe_wa.c
+++ b/
drivers/gpu/drm/xe/xe_wa.c
@@
-887,11
+887,11
@@
void xe_wa_dump(struct xe_gt *gt, struct drm_printer *p)
*/
void xe_wa_apply_tile_workarounds(struct xe_tile *tile)
{
- struct xe_
gt *mmio = tile->primary_gt
;
+ struct xe_
mmio *mmio = &tile->mmio
;
if (IS_SRIOV_VF(tile->xe))
return;
- if (XE_WA(
mmio
, 22010954014))
+ if (XE_WA(
tile->primary_gt
, 22010954014))
xe_mmio_rmw32(mmio, XEHP_CLOCK_GATE_DIS, 0, SGSI_SIDECLK_DIS);
}