Home
last modified time | relevance | path

Searched refs:vbios (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddce_calcs.c79 const struct bw_calcs_vbios *vbios, in calculate_bandwidth() argument
141 yclk[low] = vbios->low_yclk; in calculate_bandwidth()
142 yclk[mid] = vbios->mid_yclk; in calculate_bandwidth()
143 yclk[high] = vbios->high_yclk; in calculate_bandwidth()
144 sclk[s_low] = vbios->low_sclk; in calculate_bandwidth()
145 sclk[s_mid1] = vbios->mid1_sclk; in calculate_bandwidth()
146 sclk[s_mid2] = vbios->mid2_sclk; in calculate_bandwidth()
147 sclk[s_mid3] = vbios->mid3_sclk; in calculate_bandwidth()
148 sclk[s_mid4] = vbios->mid4_sclk; in calculate_bandwidth()
149 sclk[s_mid5] = vbios->mid5_sclk; in calculate_bandwidth()
[all …]
Dcalcs_logger.h124 static void print_bw_calcs_vbios(struct dc_context *ctx, const struct bw_calcs_vbios *vbios) in print_bw_calcs_vbios() argument
130 DC_LOG_BANDWIDTH_CALCS(" [enum] bw_defines memory_type: %d", vbios->memory_type); in print_bw_calcs_vbios()
131 DC_LOG_BANDWIDTH_CALCS(" [enum] bw_defines memory_type: %d", vbios->memory_type); in print_bw_calcs_vbios()
132 …DC_LOG_BANDWIDTH_CALCS(" [uint32_t] dram_channel_width_in_bits: %d", vbios->dram_channel_width_in_… in print_bw_calcs_vbios()
133 DC_LOG_BANDWIDTH_CALCS(" [uint32_t] number_of_dram_channels: %d", vbios->number_of_dram_channels); in print_bw_calcs_vbios()
134 DC_LOG_BANDWIDTH_CALCS(" [uint32_t] number_of_dram_banks: %d", vbios->number_of_dram_banks); in print_bw_calcs_vbios()
135 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] low_yclk: %d", bw_fixed_to_int(vbios->low_yclk)); in print_bw_calcs_vbios()
136 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] mid_yclk: %d", bw_fixed_to_int(vbios->mid_yclk)); in print_bw_calcs_vbios()
137 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] high_yclk: %d", bw_fixed_to_int(vbios->high_yclk)); in print_bw_calcs_vbios()
138 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] low_sclk: %d", bw_fixed_to_int(vbios->low_sclk)); in print_bw_calcs_vbios()
[all …]
/linux-6.6.21/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c427 static void get_bios_version(unsigned char __iomem * vbios, struct matrox_bios* bd) { in get_bios_version() argument
430 pcir_offset = readb(vbios + 24) | (readb(vbios + 25) << 8); in get_bios_version()
432 readb(vbios + pcir_offset ) == 'P' && in get_bios_version()
433 readb(vbios + pcir_offset + 1) == 'C' && in get_bios_version()
434 readb(vbios + pcir_offset + 2) == 'I' && in get_bios_version()
435 readb(vbios + pcir_offset + 3) == 'R') { in get_bios_version()
438 h = readb(vbios + pcir_offset + 0x12); in get_bios_version()
441 bd->version.vRev = readb(vbios + pcir_offset + 0x13); in get_bios_version()
445 h = readb(vbios + 5); in get_bios_version()
452 static void get_bios_output(unsigned char __iomem* vbios, struct matrox_bios* bd) { in get_bios_output() argument
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_bios.c110 struct nvbios *bios = &drm->vbios; in call_lvds_manufacturer_script()
150 struct nvbios *bios = &drm->vbios; in run_lvds_table()
220 struct nvbios *bios = &drm->vbios; in call_lvds_script()
453 struct nvbios *bios = &drm->vbios; in nouveau_bios_fp_mode()
524 struct nvbios *bios = &drm->vbios; in nouveau_bios_parse_lvds_table()
640 struct nvbios *bios = &drm->vbios; in run_tmds_table()
976 struct nvbios *bios = &drm->vbios; in bit_table()
1257 dcb = ROMPTR(dev, drm->vbios.data[0x36]); in olddcb_table()
1652 struct dcb_table *dcb = &drm->vbios.dcb; in apply_dcb_encoder_quirks()
1790 struct dcb_table *dcb = &drm->vbios.dcb; in parse_dcb_entry()
[all …]
Dnouveau_debugfs.c44 for (i = 0; i < drm->vbios.length; i++) in nouveau_debugfs_vbios_image()
45 seq_printf(m, "%c", drm->vbios.data[i]); in nouveau_debugfs_vbios_image()
291 d_inode(dentry)->i_size = drm->vbios.length; in nouveau_drm_debugfs_init()
Dnouveau_bios.h38 ROM16(x) ? &drm->vbios.data[ROM16(x)] : NULL; \
Dnouveau_connector.c680 if (!drm->vbios.fp_no_ddc) { in nouveau_connector_detect_lvds()
709 if (nouveau_bios_fp_mode(dev, NULL) && (drm->vbios.fp_no_ddc || in nouveau_connector_detect_lvds()
718 if (!drm->vbios.fp_no_ddc) { in nouveau_connector_detect_lvds()
866 struct nvbios *bios = &drm->vbios; in nouveau_connector_detect_depth()
963 drm->vbios.fp_no_ddc) && nouveau_bios_fp_mode(dev, NULL)) { in nouveau_connector_get_modes()
1333 struct dcb_table *dcbt = &drm->vbios.dcb; in nouveau_connector_create()
Dnouveau_drv.h274 struct nvbios vbios; member
Dnouveau_display.c727 if (nouveau_modeset != 2 && drm->vbios.dcb.entries) { in nouveau_display_create()
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/
Ddac.c251 if (drm->vbios.tvdactestval) in nv17_dac_sample_load()
252 testval = drm->vbios.tvdactestval; in nv17_dac_sample_load()
256 if (drm->vbios.dactestval) in nv17_dac_sample_load()
257 testval = drm->vbios.dactestval; in nv17_dac_sample_load()
Dtvnv17.c59 if (drm->vbios.tvdactestval) in nv42_tv_sample_load()
60 testval = drm->vbios.tvdactestval; in nv42_tv_sample_load()
427 drm->vbios.fp.dual_link); in nv17_tv_prepare()
Ddisp.c218 struct dcb_table *dcb = &drm->vbios.dcb; in nv04_display_create()
Ddfp.c305 drm->vbios.digital_min_front_porch) in nv04_dfp_mode_set()
308 regp->fp_horiz_regs[FP_CRTC] = output_mode->hsync_start - drm->vbios.digital_min_front_porch - 1; in nv04_dfp_mode_set()
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dinstmem.h21 struct nvkm_memory *vbios; member
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c383 GOP_VBIOS_CONTENT *vbios = (GOP_VBIOS_CONTENT *)((char *)hdr + offset); in amdgpu_acpi_vfct_bios() local
384 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in amdgpu_acpi_vfct_bios()
404 adev->bios = kmemdup(&vbios->VbiosContent, in amdgpu_acpi_vfct_bios()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv04.c173 &imem->base.vbios); in nv04_instmem_oneinit()
204 nvkm_memory_unref(&imem->base.vbios); in nv04_instmem_dtor()
Dnv40.c185 &imem->base.vbios); in nv40_instmem_oneinit()
220 nvkm_memory_unref(&imem->base.vbios); in nv40_instmem_dtor()
/linux-6.6.21/Documentation/driver-api/thermal/
Dnouveau_thermal.rst44 The default value for these thresholds comes from the GPU's vbios. These
85 When operating in manual mode outside the vbios-defined
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_bios.c630 GOP_VBIOS_CONTENT *vbios = (GOP_VBIOS_CONTENT *)((char *)hdr + offset); in radeon_acpi_vfct_bios() local
631 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in radeon_acpi_vfct_bios()
651 rdev->bios = kmemdup(&vbios->VbiosContent, in radeon_acpi_vfct_bios()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Ddce_calcs.h483 const struct bw_calcs_vbios *vbios,
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c520 loadval = nouveau_drm(encoder->dev)->vbios.dactestval; in nv50_dac_detect()
1588 struct nvbios *bios = &drm->vbios; in nv50_sor_atomic_enable()
2565 struct dcb_table *dcb = &drm->vbios.dcb; in nv50_display_create()