mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-04 18:27:36 +00:00
drm/amdgpu: add amdgpu_reg_state.h
This header defines the reg state structures exposed via sysfs for umr debugging. v2: add content type Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
This commit is contained in:
@@ -110,6 +110,7 @@
|
||||
#include "amdgpu_ras.h"
|
||||
#include "amdgpu_xcp.h"
|
||||
#include "amdgpu_seq64.h"
|
||||
#include "amdgpu_reg_state.h"
|
||||
|
||||
#define MAX_GPU_INSTANCE 64
|
||||
|
||||
@@ -612,6 +613,10 @@ struct amdgpu_asic_funcs {
|
||||
const struct amdgpu_video_codecs **codecs);
|
||||
/* encode "> 32bits" smn addressing */
|
||||
u64 (*encode_ext_smn_addressing)(int ext_id);
|
||||
|
||||
ssize_t (*get_reg_state)(struct amdgpu_device *adev,
|
||||
enum amdgpu_reg_state reg_state, void *buf,
|
||||
size_t max_size);
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user