aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorMichael Cheng <[email protected]>2021-12-06 13:52:45 -0800
committerLucas De Marchi <[email protected]>2021-12-06 22:21:03 -0800
commit5f97816762722cb08a4e0a124fec02abe0a2208e (patch)
treee143f43610e27e9dc9b743e36125ba4dfc287478 /scripts/gdb/linux/tasks.py
parent8722ded49ce8a0c706b373e8087eb810684962ff (diff)
drm/i915: Introduce new macros for i915 PTE
Certain functions within i915 uses macros that are defined for specific architectures by the mmu, such as _PAGE_RW and _PAGE_PRESENT (Some architectures don't even have these macros defined, like ARM64). Instead of re-using bits defined for the CPU, we should use bits defined for i915. This patch introduces two new 64 bit macros, GEN8_PAGE_PRESENT and GEN8_PAGE_RW, to check for bits 0 and 1 and, to replace all occurrences of _PAGE_RW and _PAGE_PRESENT within i915. v2(Michael Cheng): Use GEN8_ instead of I915_ Signed-off-by: Michael Cheng <[email protected]> Reviewed-by: Lucas De Marchi <[email protected]> [ Move defines together with other GEN8 defines ] Signed-off-by: Lucas De Marchi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions