drm/amd/powerplay: simplify struct amd_pp_init.
delete the members not needed when amd_powerplay_init. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Esse commit está contido em:
@@ -131,9 +131,6 @@ struct amd_pp_init {
|
||||
struct cgs_device *device;
|
||||
uint32_t chip_family;
|
||||
uint32_t chip_id;
|
||||
uint32_t rev_id;
|
||||
uint16_t sub_sys_id;
|
||||
uint16_t sub_vendor_id;
|
||||
};
|
||||
|
||||
enum amd_pp_display_config_type{
|
||||
|
@@ -579,9 +579,6 @@ struct phm_microcode_version_info {
|
||||
struct pp_hwmgr {
|
||||
uint32_t chip_family;
|
||||
uint32_t chip_id;
|
||||
uint32_t hw_revision;
|
||||
uint32_t sub_sys_id;
|
||||
uint32_t sub_vendor_id;
|
||||
|
||||
void *device;
|
||||
struct pp_smumgr *smumgr;
|
||||
|
@@ -74,7 +74,6 @@ struct pp_smumgr_func {
|
||||
struct pp_smumgr {
|
||||
uint32_t chip_family;
|
||||
uint32_t chip_id;
|
||||
uint32_t hw_revision;
|
||||
void *device;
|
||||
void *backend;
|
||||
uint32_t usec_timeout;
|
||||
|
Referência em uma nova issue
Block a user