1### radeon_noop backend 2 3This implements the minimum of the radeon kernel driver in order to make shader-db work. 4The submit ioctl is stubbed out to not execute anything. 5 6Export `MESA_LOADER_DRIVER_OVERRIDE=r300 7LD_PRELOAD=$prefix/lib/libradeon_noop_drm_shim.so`. (or r600 for r600-class HW) 8 9By default, rv515 is exposed. The chip can be selected an environment 10variable like `RADEON_GPU_ID=CAYMAN` or `RADEON_GPU_ID=0x6740`. 11 12### amdgpu_noop backend 13 14This implements the minimum of the amdgpu kernel driver. The submit ioctl is 15stubbed out to not execute anything. 16 17Export `LD_PRELOAD=$prefix/lib/libamdgpu_noop_drm_shim.so`. 18 19To specify the device to expose, set the environment variable `AMDGPU_GPU_ID` 20to 21 22 - `renoir` to expose a `CHIP_RENOIR` device 23 - `raven` to expose a `CHIP_RAVEN` device 24 - `stoney` to expose a `CHIP_STONEY` device 25 26Further names follow the `CHIP_*` enum values. By default, the `CHIP_RENOIR` 27device is exposed. 28 29To add a new device, `amdgpu_devices.c` needs to be modified. 30`amdgpu_dump_states` can be used to dump the relevant states from a real 31device. 32