tinygrad/extra/qcom_gpu_driver
Vyacheslav Pachkov 610e454132
fix opencl_ioctl on comma (#5814)
- remove unused code
- add CP_REG_TO_MEM opcode
- fixed parse_cmd_buf for more than 1 command object by correcting
an offset
- fixed memory mappings for cases when memory was allocated with
KGSL_MEMFLAGS_USE_CPU_MAP.
KGSL_MEMFLAGS_USE_CPU_MAP: If set on call and return, the returned GPU
address will be 0. Calling mmap() will set the GPU address.
So there are no IOCTL_KGSL_GPUOBJ_INFO ioctls for that type of memory
and it resulted to crash right after get_mem.
2024-07-30 20:44:06 -07:00
..
adreno_pm4.xml
gen.sh
msm_kgsl.h
msm_kgsl.py
opencl_ioctl.py fix opencl_ioctl on comma (#5814) 2024-07-30 20:44:06 -07:00