Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/calcs/
Ddce_calcs.c79 const struct bw_calcs_vbios *vbios, in calculate_bandwidth() argument
126 yclk[low] = vbios->low_yclk; in calculate_bandwidth()
127 yclk[mid] = vbios->mid_yclk; in calculate_bandwidth()
128 yclk[high] = vbios->high_yclk; in calculate_bandwidth()
129 sclk[s_low] = vbios->low_sclk; in calculate_bandwidth()
130 sclk[s_mid1] = vbios->mid1_sclk; in calculate_bandwidth()
131 sclk[s_mid2] = vbios->mid2_sclk; in calculate_bandwidth()
132 sclk[s_mid3] = vbios->mid3_sclk; in calculate_bandwidth()
133 sclk[s_mid4] = vbios->mid4_sclk; in calculate_bandwidth()
134 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-v5.4/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-v5.4/drivers/gpu/drm/nouveau/
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()
249 d_inode(dentry)->i_size = drm->vbios.length; in nouveau_drm_debugfs_init()
Dnouveau_bios.c110 struct nvbios *bios = &drm->vbios; in call_lvds_manufacturer_script()
147 struct nvbios *bios = &drm->vbios; in run_lvds_table()
217 struct nvbios *bios = &drm->vbios; in call_lvds_script()
450 struct nvbios *bios = &drm->vbios; in nouveau_bios_fp_mode()
521 struct nvbios *bios = &drm->vbios; in nouveau_bios_parse_lvds_table()
637 struct nvbios *bios = &drm->vbios; in run_tmds_table()
973 struct nvbios *bios = &drm->vbios; in bit_table()
1254 dcb = ROMPTR(dev, drm->vbios.data[0x36]); in olddcb_table()
1649 struct dcb_table *dcb = &drm->vbios.dcb; in apply_dcb_encoder_quirks()
1787 struct dcb_table *dcb = &drm->vbios.dcb; in parse_dcb_entry()
[all …]
Dnouveau_bios.h38 ROM16(x) ? &drm->vbios.data[ROM16(x)] : NULL; \
Dnouveau_connector.c662 if (!drm->vbios.fp_no_ddc) { in nouveau_connector_detect_lvds()
688 if (nouveau_bios_fp_mode(dev, NULL) && (drm->vbios.fp_no_ddc || in nouveau_connector_detect_lvds()
697 if (!drm->vbios.fp_no_ddc) { in nouveau_connector_detect_lvds()
846 struct nvbios *bios = &drm->vbios; in nouveau_connector_detect_depth()
927 drm->vbios.fp_no_ddc) && nouveau_bios_fp_mode(dev, NULL)) { in nouveau_connector_get_modes()
1306 struct dcb_table *dcbt = &drm->vbios.dcb; in nouveau_connector_create()
Dnouveau_drv.h193 struct nvbios vbios; member
Dnouveau_display.c544 if (nouveau_modeset != 2 && drm->vbios.dcb.entries) { in nouveau_display_create()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c369 GOP_VBIOS_CONTENT *vbios = (GOP_VBIOS_CONTENT *)((char *)hdr + offset); in amdgpu_acpi_vfct_bios() local
370 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in amdgpu_acpi_vfct_bios()
390 adev->bios = kmemdup(&vbios->VbiosContent, in amdgpu_acpi_vfct_bios()
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dinstmem.h16 struct nvkm_memory *vbios; member
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/
Ddac.c250 if (drm->vbios.tvdactestval) in nv17_dac_sample_load()
251 testval = drm->vbios.tvdactestval; in nv17_dac_sample_load()
255 if (drm->vbios.dactestval) in nv17_dac_sample_load()
256 testval = drm->vbios.dactestval; in nv17_dac_sample_load()
Dtvnv17.c58 if (drm->vbios.tvdactestval) in nv42_tv_sample_load()
59 testval = drm->vbios.tvdactestval; in nv42_tv_sample_load()
426 drm->vbios.fp.dual_link); in nv17_tv_prepare()
Ddisp.c192 struct dcb_table *dcb = &drm->vbios.dcb; in nv04_display_create()
Ddfp.c304 drm->vbios.digital_min_front_porch) in nv04_dfp_mode_set()
307 regp->fp_horiz_regs[FP_CRTC] = output_mode->hsync_start - drm->vbios.digital_min_front_porch - 1; in nv04_dfp_mode_set()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv04.c174 &imem->base.vbios); in nv04_instmem_oneinit()
205 nvkm_memory_unref(&imem->base.vbios); in nv04_instmem_dtor()
Dnv40.c186 &imem->base.vbios); in nv40_instmem_oneinit()
221 nvkm_memory_unref(&imem->base.vbios); in nv40_instmem_dtor()
/Linux-v5.4/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-v5.4/drivers/gpu/drm/radeon/
Dradeon_bios.c620 GOP_VBIOS_CONTENT *vbios = (GOP_VBIOS_CONTENT *)((char *)hdr + offset); in radeon_acpi_vfct_bios() local
621 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in radeon_acpi_vfct_bios()
641 rdev->bios = kmemdup(&vbios->VbiosContent, in radeon_acpi_vfct_bios()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/
Ddce_calcs.h483 const struct bw_calcs_vbios *vbios,
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c408 args.load.data = nouveau_drm(encoder->dev)->vbios.dactestval; in nv50_dac_detect()
1448 struct nvbios *bios = &drm->vbios; in nv50_sor_enable()
2301 struct dcb_table *dcb = &drm->vbios.dcb; in nv50_display_create()