mirror_ubuntu-kernels/drivers/gpu/drm/amd
Shashank Sharma 72e71a82d6 drm/amdgpu: add new trace event for page table update
This patch adds a new trace event to track the PTE update
events. This specific event will provide information like:
- start and end of virtual memory mapping
- HW engine flags for the map
- physical address for mapping

This will be particularly useful for memory profiling tools
(like RMV) which are monitoring the page table update events.

V2: Added physical address lookup logic in trace point
V3: switch to use __dynamic_array
    added nptes int the TPprint arguments list
    added page size in the arg list
V4: Addressed Christian's review comments
    add start/end instead of seg
    use incr instead of page_sz to be accurate
V5: Addressed Christian's review comments:
    add pid and vm context information in the event
V6: Re-sequence the variables (put pid and ctx_id first)

Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Shashank Sharma <shashank.sharma@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-09-29 16:12:02 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: add new trace event for page table update 2020-09-29 16:12:02 -04:00
amdkfd drm/amdgpu: store noretry parameter per driver instance 2020-09-25 16:55:16 -04:00
display drm/amd/display: make two symbols static 2020-09-29 16:11:40 -04:00
include drm/include: add PP_FEATURE_MASK comments (v3) 2020-09-25 16:55:37 -04:00
pm drm/amd/pm: fix screen flicker seen on Navi14 with 2*4K monitors 2020-09-25 17:03:22 -04:00