Home
last modified time | relevance | path

Searched refs:vbios_info (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c875 switch (info->vbios_info.type) { in amdgpu_info_ioctl()
882 uint32_t bios_offset = info->vbios_info.offset; in amdgpu_info_ioctl()
893 struct drm_amdgpu_info_vbios vbios_info = {}; in amdgpu_info_ioctl() local
897 memcpy(vbios_info.name, atom_context->name, sizeof(atom_context->name)); in amdgpu_info_ioctl()
898 memcpy(vbios_info.vbios_pn, atom_context->vbios_pn, sizeof(atom_context->vbios_pn)); in amdgpu_info_ioctl()
899 vbios_info.version = atom_context->version; in amdgpu_info_ioctl()
900 memcpy(vbios_info.vbios_ver_str, atom_context->vbios_ver_str, in amdgpu_info_ioctl()
902 memcpy(vbios_info.date, atom_context->date, sizeof(atom_context->date)); in amdgpu_info_ioctl()
904 return copy_to_user(out, &vbios_info, in amdgpu_info_ioctl()
905 min((size_t)size, sizeof(vbios_info))) ? -EFAULT : 0; in amdgpu_info_ioctl()
[all …]
/linux-6.1.9/include/uapi/drm/
Damdgpu_drm.h922 } vbios_info; member