aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAnshuman Gupta <[email protected]>2023-07-18 13:37:03 +0530
committerRodrigo Vivi <[email protected]>2023-12-21 11:37:35 -0500
commit09d88e3beb64b8d2e3043fef72dda0df62487e44 (patch)
treecf24584d2c51234bed399810b349ea727fae8b6a /tools/perf/scripts/python/export-to-sqlite.py
parent2ef08b98025bd09b74f68d1801995b0b068afbe7 (diff)
drm/xe/pm: Init pcode and restore vram on power lost
Don't init pcode and restore VRAM objects in vain. We can rely on primary GT GUC_STATUS to detect whether card has really lost power even when d3cold is allowed by xe. Adding d3cold.lost_power flag to avoid pcode init and vram restoration. Also cleaning up the TODO code comment. v2: - %s/xe_guc_has_lost_power()/xe_guc_in_reset(). - Used existing gt instead of new variable. [Rodrigo] - Added kernel-doc function comment. [Rodrigo] - xe_guc_in_reset() return true if failed to get fw. Cc: Rodrigo Vivi <[email protected]> Signed-off-by: Anshuman Gupta <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions