Home
last modified time | relevance | path

Searched refs:frev (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c52 u8 frev, crev; in amdgpu_atomfirmware_query_firmware_capability() local
59 index, &size, &frev, &crev, &data_offset)) { in amdgpu_atomfirmware_query_firmware_capability()
61 if ((frev == 3 && crev >=1) || (frev > 3)) { in amdgpu_atomfirmware_query_firmware_capability()
239 u8 frev, crev; in amdgpu_atomfirmware_get_vram_info() local
255 &frev, &crev, &data_offset)) { in amdgpu_atomfirmware_get_vram_info()
259 switch (frev) { in amdgpu_atomfirmware_get_vram_info()
303 if (frev == 3) { in amdgpu_atomfirmware_get_vram_info()
322 } else if (frev == 2) { in amdgpu_atomfirmware_get_vram_info()
432 u8 frev, crev; in amdgpu_atomfirmware_mem_ecc_supported() local
441 index, &size, &frev, &crev, &data_offset)) { in amdgpu_atomfirmware_mem_ecc_supported()
[all …]
Damdgpu_atombios.c270 u8 frev, crev; in amdgpu_atombios_has_dce_engine_info() local
274 if (!amdgpu_atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset)) in amdgpu_atombios_has_dce_engine_info()
297 u8 frev, crev; in amdgpu_atombios_get_connector_info_from_object_table() local
311 if (!amdgpu_atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset)) in amdgpu_atombios_get_connector_info_from_object_table()
562 uint8_t frev, crev; in amdgpu_atombios_get_clock_info() local
567 &frev, &crev, &data_offset)) { in amdgpu_atombios_get_clock_info()
716 uint8_t frev, crev; in amdgpu_atombios_get_gfx_info() local
721 &frev, &crev, &data_offset)) { in amdgpu_atombios_get_gfx_info()
757 u8 frev, crev; in amdgpu_atombios_get_vram_width() local
761 &frev, &crev, &data_offset)) { in amdgpu_atombios_get_vram_width()
[all …]
Datombios_crtc.c321 u8 frev, crev; in amdgpu_atombios_crtc_adjust_pll() local
380 if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, in amdgpu_atombios_crtc_adjust_pll()
386 switch (frev) { in amdgpu_atombios_crtc_adjust_pll()
446 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in amdgpu_atombios_crtc_adjust_pll()
451 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in amdgpu_atombios_crtc_adjust_pll()
474 u8 frev, crev; in amdgpu_atombios_crtc_set_disp_eng_pll() local
481 if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, in amdgpu_atombios_crtc_set_disp_eng_pll()
485 switch (frev) { in amdgpu_atombios_crtc_set_disp_eng_pll()
510 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in amdgpu_atombios_crtc_set_disp_eng_pll()
515 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in amdgpu_atombios_crtc_set_disp_eng_pll()
[all …]
Datombios_encoders.c384 uint8_t frev, crev; in amdgpu_atombios_encoder_setup_dvo() local
388 if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) in amdgpu_atombios_encoder_setup_dvo()
391 switch (frev) { in amdgpu_atombios_encoder_setup_dvo()
427 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in amdgpu_atombios_encoder_setup_dvo()
432 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in amdgpu_atombios_encoder_setup_dvo()
571 uint8_t frev, crev; in amdgpu_atombios_encoder_setup_dig_encoder() local
592 if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) in amdgpu_atombios_encoder_setup_dig_encoder()
595 switch (frev) { in amdgpu_atombios_encoder_setup_dig_encoder()
727 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in amdgpu_atombios_encoder_setup_dig_encoder()
732 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in amdgpu_atombios_encoder_setup_dig_encoder()
[all …]
Datom.h162 uint8_t *frev, uint8_t *crev, uint16_t *data_start);
164 uint8_t *frev, uint8_t *crev);
Datom.c1565 uint16_t *size, uint8_t *frev, uint8_t *crev, in amdgpu_atom_parse_data_header() argument
1577 if (frev) in amdgpu_atom_parse_data_header()
1578 *frev = CU8(idx + 2); in amdgpu_atom_parse_data_header()
1585 bool amdgpu_atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t *frev, in amdgpu_atom_parse_cmd_header() argument
1595 if (frev) in amdgpu_atom_parse_cmd_header()
1596 *frev = CU8(idx + 2); in amdgpu_atom_parse_cmd_header()
Damdgpu_atombios.h214 uint8_t *frev,
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_atombios.c523 u8 frev, crev; in radeon_get_atom_connector_info_from_object_table() local
537 if (!atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset)) in radeon_get_atom_connector_info_from_object_table()
592 if (atom_parse_data_header(ctx, index, &size, &frev, in radeon_get_atom_connector_info_from_object_table()
848 uint8_t frev, crev; in atombios_get_connector_object_id() local
851 if (atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset)) { in atombios_get_connector_object_id()
892 uint8_t frev, crev; in radeon_get_atom_connector_info_from_supported_devices_table() local
908 if (!atom_parse_data_header(ctx, index, &size, &frev, &crev, in radeon_get_atom_connector_info_from_supported_devices_table()
919 if (frev > 1) in radeon_get_atom_connector_info_from_supported_devices_table()
968 if ((crev > 1) && (frev > 1)) { in radeon_get_atom_connector_info_from_supported_devices_table()
1108 u8 frev, crev; in radeon_atombios_get_dentist_vco_freq() local
[all …]
Datombios_encoders.c491 uint8_t frev, crev; in atombios_dvo_setup() local
495 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) in atombios_dvo_setup()
500 frev = 1; in atombios_dvo_setup()
502 switch (frev) { in atombios_dvo_setup()
538 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in atombios_dvo_setup()
543 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in atombios_dvo_setup()
565 uint8_t frev, crev; in atombios_digital_setup() local
591 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) in atombios_digital_setup()
594 switch (frev) { in atombios_digital_setup()
656 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in atombios_digital_setup()
[all …]
Datom.h153 uint8_t *frev, uint8_t *crev, uint16_t *data_start);
155 uint8_t *frev, uint8_t *crev);
Datombios_crtc.c673 u8 frev, crev; in atombios_adjust_pll() local
677 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, in atombios_adjust_pll()
683 switch (frev) { in atombios_adjust_pll()
743 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in atombios_adjust_pll()
748 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in atombios_adjust_pll()
770 u8 frev, crev; in atombios_crtc_set_disp_eng_pll() local
777 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, in atombios_crtc_set_disp_eng_pll()
781 switch (frev) { in atombios_crtc_set_disp_eng_pll()
805 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in atombios_crtc_set_disp_eng_pll()
810 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in atombios_crtc_set_disp_eng_pll()
[all …]
Datom.c1362 uint16_t * size, uint8_t * frev, uint8_t * crev, in atom_parse_data_header() argument
1374 if (frev) in atom_parse_data_header()
1375 *frev = CU8(idx + 2); in atom_parse_data_header()
1382 bool atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t * frev, in atom_parse_cmd_header() argument
1392 if (frev) in atom_parse_cmd_header()
1393 *frev = CU8(idx + 2); in atom_parse_cmd_header()
Drs780_dpm.c799 u8 frev, crev; in rs780_parse_power_table() local
803 &frev, &crev, &data_offset)) in rs780_parse_power_table()
853 u8 frev, crev; in rs780_dpm_init() local
873 &frev, &crev, &data_offset)) { in rs780_dpm_init()
Datombios_dp.c795 u8 tmp, frev, crev; in radeon_dp_link_train() local
816 if (atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) { in radeon_dp_link_train()
Dtrinity_dpm.c1698 u8 frev, crev; in trinity_parse_power_table() local
1703 &frev, &crev, &data_offset)) in trinity_parse_power_table()
1808 u8 frev, crev; in trinity_parse_sys_info_table() local
1813 &frev, &crev, &data_offset)) { in trinity_parse_sys_info_table()
1818 DRM_ERROR("Unsupported IGP table: %d %d\n", frev, crev); in trinity_parse_sys_info_table()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppatomctrl.c140 u8 frev, crev; in atomctrl_initialize_mc_reg_table() local
145 GetIndexIntoMasterTable(DATA, VRAM_Info), &size, &frev, &crev); in atomctrl_initialize_mc_reg_table()
177 u8 frev, crev; in atomctrl_initialize_mc_reg_table_v2_2() local
182 GetIndexIntoMasterTable(DATA, VRAM_Info), &size, &frev, &crev); in atomctrl_initialize_mc_reg_table_v2_2()
241 u8 frev, crev; in get_voltage_info_table() local
247 &size, &frev, &crev); in get_voltage_info_table()
523 u8 frev, crev; in atomctrl_get_reference_clock() local
530 &size, &frev, &crev); in atomctrl_get_reference_clock()
643 u8 frev, crev; in get_gpio_lookup_table() local
650 &size, &frev, &crev); in get_gpio_lookup_table()
[all …]
Dvega12_processpptables.c49 u8 frev, crev; in get_powerplay_table() local
55 &size, &frev, &crev); in get_powerplay_table()
Dsmu_helper.h128 uint8_t *frev, uint8_t *crev);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table2.c54 #define BIOS_CMD_TABLE_REVISION(fname, frev, crev)\ argument
56 GET_INDEX_INTO_MASTER_TABLE(command, fname), &frev, &crev)
68 uint8_t frev, crev; in bios_cmd_table_para_revision() local
72 &frev, &crev)) in bios_cmd_table_para_revision()
229 uint8_t frev; in init_transmitter_control() local
232 BIOS_CMD_TABLE_REVISION(dig1transmittercontrol, frev, crev); in init_transmitter_control()
Dcommand_table.c42 #define BIOS_CMD_TABLE_REVISION(command, frev, crev)\ argument
44 GetIndexIntoMasterTable(COMMAND, command), &frev, &crev)
87 uint8_t frev, crev; in bios_cmd_table_para_revision() local
91 &frev, &crev)) in bios_cmd_table_para_revision()
401 uint8_t frev; in init_transmitter_control() local
405 frev, crev) == false) in init_transmitter_control()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.h107 void smu_cmn_init_soft_gpu_metrics(void *table, uint8_t frev, uint8_t crev);
Dsmu_cmn.c961 void smu_cmn_init_soft_gpu_metrics(void *table, uint8_t frev, uint8_t crev) in smu_cmn_init_soft_gpu_metrics() argument
968 switch (METRICS_VERSION(frev, crev)) { in smu_cmn_init_soft_gpu_metrics()
1001 header->format_revision = frev; in smu_cmn_init_soft_gpu_metrics()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu12/
Dsmu_v12_0.c317 uint8_t frev, crev; in smu_v12_0_get_vbios_bootup_values() local
325 ret = amdgpu_atombios_get_data_table(smu->adev, index, &size, &frev, &crev, in smu_v12_0_get_vbios_bootup_values()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dlegacy_dpm.c165 u8 frev, crev; in amdgpu_get_platform_caps() local
168 &frev, &crev, &data_offset)) in amdgpu_get_platform_caps()
228 u8 frev, crev; in amdgpu_parse_extended_power_table() local
232 &frev, &crev, &data_offset)) in amdgpu_parse_extended_power_table()
708 u8 frev, crev; in amdgpu_add_thermal_controller() local
711 &frev, &crev, &data_offset)) in amdgpu_add_thermal_controller()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c390 uint8_t frev, crev; in smu_v13_0_get_pptable_from_vbios() local
397 ret = amdgpu_atombios_get_data_table(adev, index, &atom_table_size, &frev, &crev, in smu_v13_0_get_pptable_from_vbios()
612 uint8_t frev, crev; in smu_v13_0_get_vbios_bootup_values() local
623 ret = amdgpu_atombios_get_data_table(smu->adev, index, &size, &frev, &crev, in smu_v13_0_get_vbios_bootup_values()
686 if (!amdgpu_atombios_get_data_table(smu->adev, index, &size, &frev, &crev, in smu_v13_0_get_vbios_bootup_values()
689 if ((frev == 3) && (crev == 6)) { in smu_v13_0_get_vbios_bootup_values()
696 } else if ((frev == 3) && (crev == 1)) { in smu_v13_0_get_vbios_bootup_values()
698 } else if ((frev == 4) && (crev == 0)) { in smu_v13_0_get_vbios_bootup_values()
708 (uint32_t)frev, (uint32_t)crev); in smu_v13_0_get_vbios_bootup_values()

12