lima: add RGBA5551 and RGBA4444 formats
authorVasily Khoruzhick <anarsoul@gmail.com>
Wed, 26 Feb 2020 07:26:36 +0000 (23:26 -0800)
committerVasily Khoruzhick <anarsoul@gmail.com>
Mon, 2 Mar 2020 20:48:44 +0000 (12:48 -0800)
commit646fbb1c4f39f61648c1a1153070df2452153450
tree020fe8a809fb5dd6e8830fdf352b77cf0c0c57b4
parentede93a32786ff8548ab4c6f48eb8af7a81872ee5
lima: add RGBA5551 and RGBA4444 formats

We also need to set channel_layout in pp_frame reg (previously known as
foureight) depending on cbuf format.

Reviewed-by: Andreas Baierl <ichgeh@imkreisrum.de>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3972>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3972>
src/gallium/drivers/lima/lima_format.c
src/gallium/drivers/lima/lima_format.h
src/gallium/drivers/lima/lima_gpu.h
src/gallium/drivers/lima/lima_job.c