diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-07-28 04:21:13 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-07 21:12:49 +0000 |
| commit | 4e2abc197f11e25b5813d4c42dada19d36b04666 (patch) | |
| tree | bf971a37aefcce98e92b2857d7b2f0931743f7bf /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
| parent | Revert "drm/radeon: Prefer dev_* variant over printk" (diff) | |
| download | kernel-4e2abc197f11e25b5813d4c42dada19d36b04666.tar.gz kernel-4e2abc197f11e25b5813d4c42dada19d36b04666.zip | |
drm/amdgpu: Move vram, gtt & flash defines to amdgpu_ ttm & _psp.h
As amdgpu.h is getting decomposed, move vram and gtt extern defines into
amdgpu_ttm.h & flash extern to amdgpu_psp.h
Fixes: f9acfafc3458 ("drm/amdgpu: Move externs to amdgpu.h file from amdgpu_drv.c")
Suggested-by: Christian König <[email protected]>
Cc: Mario Limonciello <[email protected]>
Cc: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Acked-by: Guchun Chen <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h index c3203de4a007..e8cbfacb5ac1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h @@ -39,6 +39,8 @@ #define PSP_TMR_ALIGNMENT 0x100000 #define PSP_FW_NAME_LEN 0x24 +extern const struct attribute_group amdgpu_flash_attr_group; + enum psp_shared_mem_size { PSP_ASD_SHARED_MEM_SIZE = 0x0, PSP_XGMI_SHARED_MEM_SIZE = 0x4000, |
