pvr: Improvements for pvr_cmd_*() macros

Matt Coster requested to merge MTCoster/mesa:pvr-cmd-macros into main

Motivated by comments on !17252 (closed); the pvr_cmd_struct() macro adds nothing of value over just using PVRX() directly.

Additionally there is no use for pvr_cmd_pack() outside pvr_csb.h, so it's marked as internal.

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Edited by Matt Coster

Merge request reports