diff options
| author | Oscar Mateo <[email protected]> | 2017-03-22 10:39:45 -0700 |
|---|---|---|
| committer | Joonas Lahtinen <[email protected]> | 2017-03-23 14:57:26 +0200 |
| commit | 73b055349c40ac721f4939263f173c2238524091 (patch) | |
| tree | 4192022993acbd18b1b9d7ff4fac1676404be091 /tools/perf/scripts/python/stackcollapse.py | |
| parent | abddffdf3620e3974061fa0715a1db2142b6b893 (diff) | |
drm/i915/guc: Keep the ctx_pool_vaddr mapped, for easy access
The GuC descriptor is big in size. If we use a local definition of
guc_desc we have a chance to overflow stack, so avoid it.
Also, Chris abhors scatterlists :)
v2: Rebased, helper function to retrieve the context descriptor,
s/ctx_pool_vma/ctx_pool/
v3: Zero out guc_context_desc before initialization
v4: Do not do arithmetic on void pointers (Daniele)
v5: Nicer than arithmetic on pointers (Chris, Joonas)
Signed-off-by: Oscar Mateo <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions