panfrost: Use dev->arch where appropriate
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 26 Jan 2021 16:05:22 +0000 (17:05 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 2 Feb 2021 08:04:15 +0000 (09:04 +0100)
commit89cfa4180ba6ffe4e89ce2110da8c1a6b2ebf6fa
tree79c7c176c66864c8aeab01e3a5b4998c56281d01
parentd78f686ad1c523f1ac3fafc01d6895f05dc303c2
panfrost: Use dev->arch where appropriate

The architecture has already been extracted in panfrost_open_device()
don't do it again.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8808>
src/gallium/drivers/panfrost/pan_blend_cso.c
src/gallium/drivers/panfrost/pan_mfbd.c