Repository navigation
- The HSA runtime adds the entry points HRX System main uses. LemonSeed Engine 0.5.8 and later need them; without them libhsa failed to load.
hsa_amd_queue_createwith version-1 queue descriptors. A compute descriptor creates an AQL queue ofqueue_size_bytes / 64packets. Device-memory placement, SDMA and AIE engines, cooperative queues and non-normal priorities fail that descriptor withHSA_STATUS_ERROR_INVALID_QUEUE_CREATION. In a batch, a failed descriptor's queue is NULL and the first error is returned.hsa_amd_queue_cu_set_maskaccepts a mask that enables every CU the device reports. A mask that leaves a CU out still fails withHSA_STATUS_ERROR_INVALID_QUEUE.hsa_amd_vmem_get_accessreports a mapping's permissions.- Target ids with an unknown OS field are accepted, and the
MEMORY_PROPERTIESandPM4_EMULATIONagent queries are answered. - The vendored HSA headers move to hsa-runtime-headers 4285513, the revision HRX System pins.
- On an R9700, LemonSeed Engine on HRX main loads
/Library/MacAMDGPU/runtime/libhsa-runtime64.0.1.0.dylibwith no runtime override and serves plain, MTP=3 and DFlash2 requests.
- The display agent closes a mirroring process's output pipe at end of file. It used to spin on the closed pipe and keep its descriptor open after every mirroring process exit: after 29 hours, 170–260% CPU and 2,556 open pipes. Now: 0.0–0.3% CPU and 2 pipes over 9 minutes.
- A mirroring process no longer ends when its STATUS poll is answered
kIOReturnBusy. The daemon's polls and the mirroring process's IMPORT share the driver's display gate, and each collision ended the mirror for 10 s, about once a minute. IMPORT is asked again for up to 2 s onkIOReturnBusy. The daemon logs each mirroring process's exit status.
Upgrading from an earlier build: the old build does not yet leave on its own. Turn the display off in the menu bar, then use Disconnect GPU (or power-cycle the GPU), and the new build takes over.