projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be01de5
)
drm/i915/guc: Print CTL params passed to Guc
author
Michal Wajdeczko
<
[email protected]
>
Mon, 18 Jun 2018 11:18:20 +0000
(11:18 +0000)
committer
Chris Wilson
<
[email protected]
>
Fri, 29 Jun 2018 22:34:17 +0000
(23:34 +0100)
While debugging we may want to examine params passed to GuC.
v2: drop #ifdef DEBUG_GUC - Michal
Signed-off-by: Michal Wajdeczko <
[email protected]
>
Cc: Daniele Ceraolo Spurio <
[email protected]
>
Cc: Michel Thierry <
[email protected]
>
Reviewed-by: Michel Thierry <
[email protected]
> #1
Cc: Michal Winiarski <
[email protected]
>
Reviewed-by: MichaĆ Winiarski <
[email protected]
>
Signed-off-by: Chris Wilson <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/intel_guc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_guc.c
b/drivers/gpu/drm/i915/intel_guc.c
index 53b43bc73c017d29cf7fe1840cd0cdd3b63d6256..e12bd259df1720f0ad684b6d25f809a029931c88 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_guc.c
+++ b/
drivers/gpu/drm/i915/intel_guc.c
@@
-351,6
+351,9
@@
void intel_guc_init_params(struct intel_guc *guc)
params[GUC_CTL_DEBUG] = guc_ctl_debug_flags(guc);
params[GUC_CTL_CTXINFO] = guc_ctl_ctxinfo_flags(guc);
+ for (i = 0; i < GUC_CTL_MAX_DWORDS; i++)
+ DRM_DEBUG_DRIVER("param[%2d] = %#x\n", i, params[i]);
+
/*
* All SOFT_SCRATCH registers are in FORCEWAKE_BLITTER domain and
* they are power context saved so it's ok to release forcewake