panfrost: Get rid of pan_drm.c
authorBoris Brezillon <boris.brezillon@collabora.com>
Sat, 14 Sep 2019 06:00:27 +0000 (08:00 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 18 Sep 2019 08:28:22 +0000 (10:28 +0200)
commit0500c9e5145e651566b0204c3b62984919ba2450
tree1055e2e84ba8a47510772dfe32b8d5539496dd00
parent1e47c3ee7b0d3cb4cd99db18d0919c08b476105d
panfrost: Get rid of pan_drm.c

pan_drm.c was only meaningful when we were supporting 2 kernel drivers
(mali_kbase, and the drm one). Now that there's now kernel-driver
abstraction we're better off moving those functions were they belong:

* BO related functions in pan_bo.c
* fence related functions + query_gpu_version() in pan_screen.c
* submit related functions in pan_job.c

While at it, we rename the functions according to the place they're
being moved to.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
12 files changed:
src/gallium/drivers/panfrost/meson.build
src/gallium/drivers/panfrost/pan_allocate.c
src/gallium/drivers/panfrost/pan_assemble.c
src/gallium/drivers/panfrost/pan_blend_cso.c
src/gallium/drivers/panfrost/pan_bo.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h
src/gallium/drivers/panfrost/pan_drm.c [deleted file]
src/gallium/drivers/panfrost/pan_job.c
src/gallium/drivers/panfrost/pan_resource.c
src/gallium/drivers/panfrost/pan_screen.c
src/gallium/drivers/panfrost/pan_screen.h