Searched refs:read_regs (Results 1 – 2 of 2) sorted by relevance
/external/igt-gpu-tools/tests/i915/ |
D | gem_mocs_settings.c | 353 uint32_t *read_regs; in check_control_registers() local 365 read_regs = gem_mmap__cpu(fd, dst_handle, 0, 4096, PROT_READ); in check_control_registers() 374 read_val = read_regs[index]; in check_control_registers() 381 munmap(read_regs, 4096); in check_control_registers() 392 uint32_t *read_regs; in check_l3cc_registers() local 404 read_regs = gem_mmap__cpu(fd, dst_handle, 0, 4096, PROT_READ); in check_l3cc_registers() 410 igt_assert_eq_u32(read_regs[index] & 0xffff, in check_l3cc_registers() 414 igt_assert_eq_u32(read_regs[index] >> 16, in check_l3cc_registers() 420 igt_assert_eq_u32(read_regs[index] & 0xffff, in check_l3cc_registers() 423 munmap(read_regs, 4096); in check_l3cc_registers()
|
D | gem_ctx_isolation.c | 259 static uint32_t read_regs(int fd, in read_regs() function 571 tmpl = read_regs(fd, ctx, e, flags); in nonpriv() 572 regs[0] = read_regs(fd, ctx, e, flags); in nonpriv() 582 regs[1] = read_regs(fd, ctx, e, flags); in nonpriv() 625 regs[0] = read_regs(fd, ctx[0], e, flags); in isolation() 644 regs[1] = read_regs(fd, ctx[1], e, flags); in isolation() 656 tmp = read_regs(fd, ctx[0], e, flags); in isolation() 734 regs[num_values][0] = read_regs(fd, ctx[num_values], e, flags); in preservation() 739 regs[v][0] = read_regs(fd, ctx[v], e, flags); in preservation() 742 gem_close(fd, read_regs(fd, ctx[num_values], e, flags)); in preservation() [all …]
|