mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
drm/amdgpu: Move package type enum to amdgpu_smuio
Move definition of package type to amdgpu_smuio header and add new package types for CEM and OAM. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2b6b29f33f
commit
28a3f49609
|
|
@ -69,11 +69,6 @@ enum amdgpu_gfx_partition {
|
|||
|
||||
#define NUM_XCC(x) hweight16(x)
|
||||
|
||||
enum amdgpu_pkg_type {
|
||||
AMDGPU_PKG_TYPE_APU = 2,
|
||||
AMDGPU_PKG_TYPE_UNKNOWN,
|
||||
};
|
||||
|
||||
enum amdgpu_gfx_ras_mem_id_type {
|
||||
AMDGPU_GFX_CP_MEM = 0,
|
||||
AMDGPU_GFX_GCEA_MEM,
|
||||
|
|
|
|||
|
|
@ -23,6 +23,13 @@
|
|||
#ifndef __AMDGPU_SMUIO_H__
|
||||
#define __AMDGPU_SMUIO_H__
|
||||
|
||||
enum amdgpu_pkg_type {
|
||||
AMDGPU_PKG_TYPE_APU = 2,
|
||||
AMDGPU_PKG_TYPE_CEM = 3,
|
||||
AMDGPU_PKG_TYPE_OAM = 4,
|
||||
AMDGPU_PKG_TYPE_UNKNOWN,
|
||||
};
|
||||
|
||||
struct amdgpu_smuio_funcs {
|
||||
u32 (*get_rom_index_offset)(struct amdgpu_device *adev);
|
||||
u32 (*get_rom_data_offset)(struct amdgpu_device *adev);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user