Home
last modified time | relevance | path

Searched refs:chip_id (Results 1 – 25 of 40) sorted by relevance

12

/third_party/mesa3d/src/freedreno/common/
Dfreedreno_dev_info.c48 assert(ref->chip_id && id->chip_id); in dev_id_compare()
52 if (ref->chip_id == id->chip_id) in dev_id_compare()
57 if (((ref->chip_id & 0xff) == 0xff) && in dev_id_compare()
58 ((ref->chip_id & UINT64_C(0xffffff00)) == in dev_id_compare()
59 (id->chip_id & UINT64_C(0xffffff00)))) in dev_id_compare()
65 if ((ref->chip_id & WILDCARD_FUSE_ID) == WILDCARD_FUSE_ID) { in dev_id_compare()
66 uint64_t chip_id = id->chip_id | WILDCARD_FUSE_ID; in dev_id_compare() local
69 if (ref->chip_id == chip_id) in dev_id_compare()
74 if (((ref->chip_id & 0xff) == 0xff) && in dev_id_compare()
75 ((ref->chip_id & UINT64_C(0xffffff00)) == in dev_id_compare()
[all …]
Dfreedreno_dev_info.h159 uint64_t chip_id; member
171 assert(id->gpu_id || id->chip_id); in fd_dev_gpu_id()
173 return ((id->chip_id >> 24) & 0xff) * 100 + in fd_dev_gpu_id()
174 ((id->chip_id >> 16) & 0xff) * 10 + in fd_dev_gpu_id()
175 ((id->chip_id >> 8) & 0xff); in fd_dev_gpu_id()
Dfreedreno_devices.py55 def __init__(self, gpu_id = None, chip_id = None, name=None): argument
56 if chip_id == None:
64 chip_id = (core << 24) | (major << 16) | (minor << 8) | 0xff
65 self.chip_id = chip_id
339 GPUId(chip_id=0x00be06030500, name="Adreno 8c Gen 3"),
340 GPUId(chip_id=0x007506030500, name="Adreno 7c+ Gen 3"),
341 GPUId(chip_id=0x006006030500, name="Adreno 7c+ Gen 3 Lite"),
343 GPUId(chip_id=0xffff06030500, name="Adreno 7c+ Gen 3"),
/third_party/mesa3d/src/freedreno/drm-shim/
Dfreedreno_noop.c37 uint32_t chip_id; member
122 gp->value = device_info->chip_id; in msm_ioctl_get_param()
182 .chip_id = CHIPID(6, 3, 0, 0xff),
187 .chip_id = CHIPID(2, 0, 0, 0),
192 .chip_id = CHIPID(2, 0, 0, 1),
197 .chip_id = CHIPID(2, 2, 0, 0xff),
202 .chip_id = CHIPID(3, 0, 5, 0xff),
207 .chip_id = CHIPID(3, 0, 6, 0),
212 .chip_id = CHIPID(3, 2, 0xff, 0xff),
217 .chip_id = CHIPID(3, 3, 0, 0xff),
[all …]
/third_party/libdrm/tests/amdgpu/
Dcs_tests.c43 static uint32_t chip_id; variable
72 chip_id = device_handle->info.chip_external_rev; in suite_cs_tests_enable()
80 asic_is_gfx_pipe_removed(family_id, chip_id, chip_rev)) { in suite_cs_tests_enable()
110 chip_id = device_handle->info.chip_external_rev; in suite_cs_tests_init()
238 (chip_id == chip_rev+0x50 || chip_id == chip_rev+0x5A || in amdgpu_cs_uvd_create()
239 chip_id == chip_rev+0x64)) { in amdgpu_cs_uvd_create()
320 (chip_id == chip_rev+0x50 || chip_id == chip_rev+0x5A || in amdgpu_cs_uvd_decode()
321 chip_id == chip_rev+0x64)) { in amdgpu_cs_uvd_decode()
367 (chip_id == chip_rev+0x50 || chip_id == chip_rev+0x5A || in amdgpu_cs_uvd_decode()
368 chip_id == chip_rev+0x64)) { in amdgpu_cs_uvd_decode()
[all …]
Dvm_tests.c34 static uint32_t chip_id; variable
117 chip_id = device_handle->info.chip_external_rev; in amdgpu_vmid_reserve_test()
120 gc_ip_type = (asic_is_gfx_pipe_removed(family_id, chip_id, chip_rev)) ? in amdgpu_vmid_reserve_test()
Dvcn_tests.c60 static uint32_t chip_id; variable
63 static uint32_t chip_id; variable
113 chip_id = device_handle->info.chip_external_rev; in suite_vcn_tests_enable()
123 (chip_id - chip_rev) < 0x32))) { /* Arcturus */ in suite_vcn_tests_enable()
Dsyncobj_tests.c37 static uint32_t chip_id; variable
114 chip_id = device_handle->info.chip_external_rev; in syncobj_command_submission_helper()
117 gc_ip_type = (asic_is_gfx_pipe_removed(family_id, chip_id, chip_rev)) ? in syncobj_command_submission_helper()
Dvce_tests.c70 static uint32_t chip_id; variable
108 chip_id = device_handle->info.chip_external_rev; in suite_vce_tests_enable()
119 asic_is_gfx_pipe_removed(family_id, chip_id, chip_rev)) { in suite_vce_tests_enable()
124 if (!(chip_id == (chip_rev + 0x3C) || /* FIJI */ in suite_vce_tests_enable()
125 chip_id == (chip_rev + 0x50) || /* Polaris 10*/ in suite_vce_tests_enable()
126 chip_id == (chip_rev + 0x5A) || /* Polaris 11*/ in suite_vce_tests_enable()
127 chip_id == (chip_rev + 0x64) || /* Polaris 12*/ in suite_vce_tests_enable()
Djpeg_tests.c125 static uint32_t chip_id; variable
128 static uint32_t chip_id; variable
167 chip_id = device_handle->info.chip_external_rev; in suite_jpeg_tests_enable()
177 (chip_id - chip_rev) < 0x32))) { /* Arcturus */ in suite_jpeg_tests_enable()
Dcp_dma_tests.c212 uint32_t family_id, chip_id, chip_rev; in submit_and_sync() local
223 chip_id = executing_device_handle->info.chip_external_rev; in submit_and_sync()
226 gc_ip_type = (asic_is_gfx_pipe_removed(family_id, chip_id, chip_rev)) ? in submit_and_sync()
Ddeadlock_tests.c111 static uint32_t chip_id; variable
137 chip_id = device_handle->info.chip_external_rev; in suite_deadlock_tests_enable()
153 if (asic_is_gfx_pipe_removed(family_id, chip_id, chip_rev)) { in suite_deadlock_tests_enable()
Damdgpu_test.h517 static inline bool asic_is_gfx_pipe_removed(uint32_t family_id, uint32_t chip_id, uint32_t chip_rev) in asic_is_gfx_pipe_removed() argument
523 switch (chip_id - chip_rev) { in asic_is_gfx_pipe_removed()
/third_party/mesa3d/src/loader/
Dloader.c451 drm_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) in drm_get_pci_id_for_fd() argument
467 *chip_id = device->deviceinfo.pci->device_id; in drm_get_pci_id_for_fd()
492 loader_get_linux_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) in loader_get_linux_pci_id_for_fd() argument
504 *chip_id = loader_get_linux_pci_field(maj, min, "device"); in loader_get_linux_pci_id_for_fd()
506 return *vendor_id && *chip_id; in loader_get_linux_pci_id_for_fd()
511 loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) in loader_get_pci_id_for_fd() argument
515 if (loader_get_linux_pci_id_for_fd(fd, vendor_id, chip_id)) in loader_get_pci_id_for_fd()
520 return drm_get_pci_id_for_fd(fd, vendor_id, chip_id); in loader_get_pci_id_for_fd()
540 int vendor_id, chip_id, i, j; in loader_get_pci_driver() local
543 if (!loader_get_pci_id_for_fd(fd, &vendor_id, &chip_id)) in loader_get_pci_driver()
[all …]
Dloader.h51 loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id);
/third_party/mesa3d/src/nouveau/drm-shim/
Dnouveau_noop.c55 uint32_t chip_id; member
122 if (device_info.chip_id == 0x50 || device_info.chip_id >= 0x80) in nouveau_ioctl_channel_alloc()
148 gp->value = device_info.chip_id; in nouveau_ioctl_get_param()
200 device_info.chip_id = 0xf0; in nouveau_driver_get_device_info()
204 device_info.chip_id = strtol(env, NULL, 16); in nouveau_driver_get_device_info()
/third_party/mesa3d/src/freedreno/drm/virtio/
Dvirtio_pipe.c93 *value = virtio_pipe->chip_id; in virtio_pipe_get_param()
255 virtio_pipe->chip_id = virtio_dev->caps.u.msm.chip_id; in virtio_pipe_new()
258 if (!(virtio_pipe->gpu_id || virtio_pipe->chip_id)) in virtio_pipe_new()
266 INFO_MSG(" Chip-id: 0x%016"PRIx64, virtio_pipe->chip_id); in virtio_pipe_new()
/third_party/libdrm/freedreno/kgsl/
Dkgsl_pipe.c47 *value = kgsl_pipe->devinfo.chip_id; in kgsl_pipe_get_param()
263 (kgsl_pipe->devinfo.chip_id >> 24) & 0xff, in kgsl_pipe_new()
264 (kgsl_pipe->devinfo.chip_id >> 16) & 0xff, in kgsl_pipe_new()
265 (kgsl_pipe->devinfo.chip_id >> 8) & 0xff, in kgsl_pipe_new()
266 (kgsl_pipe->devinfo.chip_id >> 0) & 0xff); in kgsl_pipe_new()
/third_party/mesa3d/src/gallium/auxiliary/pipe-loader/
Dpipe_loader_drm.c126 int vendor_id, chip_id; in pipe_loader_drm_probe_fd_nodup() local
131 if (loader_get_pci_id_for_fd(fd, &vendor_id, &chip_id)) { in pipe_loader_drm_probe_fd_nodup()
134 ddev->base.u.pci.chip_id = chip_id; in pipe_loader_drm_probe_fd_nodup()
/third_party/mesa3d/src/freedreno/drm/msm/
Dmsm_pipe.c89 *value = msm_pipe->chip_id; in msm_pipe_get_param()
267 msm_pipe->chip_id = get_param(pipe, MSM_PARAM_CHIP_ID); in msm_pipe_new()
272 if (!(msm_pipe->gpu_id || msm_pipe->chip_id)) in msm_pipe_new()
277 INFO_MSG(" Chip-id: 0x%016"PRIx64, msm_pipe->chip_id); in msm_pipe_new()
/third_party/mesa3d/src/freedreno/decode/
Dcffdump.c384 uint64_t chip_id = *((uint64_t *)buf); in handle_file() local
385 options.gpu_id = 100 * ((chip_id >> 24) & 0xff) + in handle_file()
386 10 * ((chip_id >> 16) & 0xff) + in handle_file()
387 ((chip_id >> 8) & 0xff); in handle_file()
/third_party/libdrm/freedreno/msm/
Dmsm_pipe.c64 *value = msm_pipe->chip_id; in msm_pipe_get_param()
194 msm_pipe->chip_id = get_param(pipe, MSM_PARAM_CHIP_ID); in msm_pipe_new()
201 INFO_MSG(" Chip-id: 0x%08x", msm_pipe->chip_id); in msm_pipe_new()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.h87 uint64_t chip_id; /* coreid:8 majorrev:8 minorrev:8 patch:8 */ member
221 return (screen->chip_id & 0xff0000ff) == 0x03000000; in is_a3xx_p0()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_kgsl.c249 ((info.chip_id >> 24) & 0xff) * 100 + in tu_enumerate_devices()
250 ((info.chip_id >> 16) & 0xff) * 10 + in tu_enumerate_devices()
251 ((info.chip_id >> 8) & 0xff); in tu_enumerate_devices()
252 device->dev_id.chip_id = info.chip_id; in tu_enumerate_devices()
/third_party/mesa3d/src/virtio/virtio-gpu/
Ddrm_hw.h27 uint64_t chip_id; member

12