Searched refs:edid_size (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/include/video/ |
D | udlfb.h | 45 size_t edid_size; member
|
/linux-6.6.21/drivers/video/fbdev/ |
D | udlfb.c | 885 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()
|
D | smscufx.c | 103 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/ |
D | kvmgt.c | 464 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/ |
D | vfio.h | 414 __u32 edid_size; member
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_edid.c | 1610 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/ |
D | mbochs.c | 375 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/ |
D | atombios_encoders.c | 2068 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/ |
D | radeon_atombios.c | 1715 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()
|