The matrix matched the chip, not the machine
This tablet has an accelerometer, a driver for it, and the correct mounting matrix published by its own device tree. Auto-rotation had never worked, because one line in systemd's hardware database — written for a different Pine64 board with the same chip — overrode it, and four orientations collapsed into two.