mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3)
Avoids confusion in configurations. v2: fix build when CONFIG_DRM_AMD_DC_DCN is disabled v3: rebase on latest code Reviewed-by: Luben Tuikov <luben.tuikov@amd.com> (v1) Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -278,7 +278,7 @@ struct pp_smu_funcs_rn {
|
||||
enum pp_smu_status (*get_dpm_clock_table) (struct pp_smu *pp,
|
||||
struct dpm_clocks *clock_table);
|
||||
};
|
||||
#if defined(CONFIG_DRM_AMD_DC_DCN3_01)
|
||||
|
||||
struct pp_smu_funcs_vgh {
|
||||
struct pp_smu pp_smu;
|
||||
|
||||
@@ -300,16 +300,14 @@ struct pp_smu_funcs_vgh {
|
||||
|
||||
enum pp_smu_status (*notify_smu_timeout) (struct pp_smu *pp);
|
||||
};
|
||||
#endif
|
||||
|
||||
struct pp_smu_funcs {
|
||||
struct pp_smu ctx;
|
||||
union {
|
||||
struct pp_smu_funcs_rv rv_funcs;
|
||||
struct pp_smu_funcs_nv nv_funcs;
|
||||
struct pp_smu_funcs_rn rn_funcs;
|
||||
#if defined(CONFIG_DRM_AMD_DC_DCN3_01)
|
||||
struct pp_smu_funcs_vgh vgh_funcs;
|
||||
#endif
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user