diff options
| author | shaoyunl <[email protected]> | 2023-11-23 18:59:44 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-12-07 22:43:13 +0000 |
| commit | b2662d4cc4ce2db4bd55e00a528b1d35be82c6c3 (patch) | |
| tree | e3506fd1f4a0badec0394dc24027f29693be2677 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
| parent | drm/amd/display: Restore guard against default backlight value < 1 nit (diff) | |
| download | kernel-b2662d4cc4ce2db4bd55e00a528b1d35be82c6c3.tar.gz kernel-b2662d4cc4ce2db4bd55e00a528b1d35be82c6c3.zip | |
drm/amdgpu: SW part of MES event log enablement
This is the generic SW part, prepare the event log buffer and dump it through debugfs
Signed-off-by: shaoyunl <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h index a27b424ffe00..894b9b133000 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h @@ -133,6 +133,11 @@ struct amdgpu_mes { uint32_t num_mes_dbs; unsigned long *doorbell_bitmap; + /* MES event log buffer */ + struct amdgpu_bo *event_log_gpu_obj; + uint64_t event_log_gpu_addr; + void *event_log_cpu_addr; + /* ip specific functions */ const struct amdgpu_mes_funcs *funcs; }; |
