aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-06-21 14:53:40 +0200
committerThomas Zimmermann <[email protected]>2023-06-27 14:26:30 +0200
commit48b6701eded8a326566dbd9b01a473bc849f79c1 (patch)
treec3649b348f751010c7dcdecace94d516d3d62d7f /tools/perf/scripts/python/mem-phys-addr.py
parent3bfe25b5119d6d8f2c9105840d9b0282c69c48d8 (diff)
drm/ast: Set PCI config before accessing I/O registers
Access to I/O registers is required to detect and set up the device. Enable the rsp PCI config bits before. While at it, convert the magic number to macro constants. Enabling the PCI config bits was done after trying to detect the device. It was probably too late at this point. v2: * use standard 16-bit PCI r/w access (Jingfeng) Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Jocelyn Falempe <[email protected]> Tested-by: Jocelyn Falempe <[email protected]> # AST2600 Reviewed-by: Sui Jingfeng <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions