Revert "pvr: Make pvr_cmd_pack() macro clearly internal"
authorKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Thu, 4 Aug 2022 13:00:57 +0000 (14:00 +0100)
committerKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Mon, 12 Sep 2022 09:32:20 +0000 (10:32 +0100)
commit7f39dbffd51743486d500f2e817566bb0f584980
tree1f86f5262d8f457eef837210c722ae7c55760e77
parentd8f41f8d55516f5f4fedf6d0dddda1a424c8efb9
Revert "pvr: Make pvr_cmd_pack() macro clearly internal"

This reverts commit 27c57b86500ce48154533d78b74350c31152b2f3.

The driver doesn't always pack or emit words directly. In some
cases it might be desirable to store the struct equivalent for the
control word and emit/pack at a later stage. Thus reverting to
expose pvr_cmd_pack().
One such use case is in the following commit.

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18124>
src/imagination/vulkan/pvr_csb.h