Home
last modified time | relevance | path

Searched refs:edid_size (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/include/video/
Dudlfb.h45 size_t edid_size; member
/linux-6.6.21/drivers/video/fbdev/
Dudlfb.c885 if (copy_to_user(edid, dlfb->edid, dlfb->edid_size)) in dlfb_ops_ioctl()
1324 dlfb->edid_size = i; in dlfb_setup_modes()
1347 dlfb->edid_size = default_edid_size; in dlfb_setup_modes()
1471 if ((off >= dlfb->edid_size) || (count > dlfb->edid_size)) in edid_show()
1474 if (off + count > dlfb->edid_size) in edid_show()
1475 count = dlfb->edid_size - off; in edid_show()
Dsmscufx.c103 size_t edid_size; member
999 if (copy_to_user(edid, dev->edid, dev->edid_size)) in ufx_ops_ioctl()
1522 dev->edid_size = i; in ufx_setup_modes()
1545 dev->edid_size = default_edid_size; in ufx_setup_modes()
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dkvmgt.c464 case offsetof(struct vfio_region_gfx_edid, edid_size): in handle_edid_regs()
470 regs->edid_size = data; in handle_edid_regs()
488 if (offset + count > region->vfio_edid_regs.edid_size) in handle_edid_blob()
596 base->vfio_edid_regs.edid_size = EDID_SIZE; in intel_gvt_set_edid()
/linux-6.6.21/include/uapi/linux/
Dvfio.h414 __u32 edid_size; member
/linux-6.6.21/drivers/gpu/drm/
Ddrm_edid.c1610 static int edid_size(const struct edid *edid) in edid_size() function
1689 drm_edid->size = edid_size(edid); in drm_edid_legacy_init()
1828 edid1_len = edid_size(edid1); in drm_edid_are_equal()
1829 edid2_len = edid_size(edid2); in drm_edid_are_equal()
2408 alloc_size = edid_size(edid); in _drm_do_get_edid()
2513 if (WARN_ON(edid_size(drm_edid->edid) > drm_edid->size)) in drm_edid_raw()
2892 return kmemdup(edid, edid_size(edid), GFP_KERNEL); in drm_edid_duplicate()
5489 .size = edid_size(edid), in drm_edid_get_monitor_name()
/linux-6.6.21/samples/vfio-mdev/
Dmbochs.c375 offset >= edid->edid_size) { in handle_mmio_read()
415 case offsetof(struct vfio_region_gfx_edid, edid_size): in handle_edid_regs()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Datombios_encoders.c2068 int edid_size = in amdgpu_atombios_encoder_get_lcd_info() local
2070 edid = kmalloc(edid_size, GFP_KERNEL); in amdgpu_atombios_encoder_get_lcd_info()
2077 adev->mode_info.bios_hardcoded_edid_size = edid_size; in amdgpu_atombios_encoder_get_lcd_info()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_atombios.c1715 int edid_size = in radeon_atombios_get_lvds_info() local
1717 edid = kmalloc(edid_size, GFP_KERNEL); in radeon_atombios_get_lvds_info()
1724 rdev->mode_info.bios_hardcoded_edid_size = edid_size; in radeon_atombios_get_lvds_info()