panfrost: Move pan_{bo,device}.{c,h} to the gallium driver dir

We've refactored the common lib and panvk so they no longer depend
on panfrost_{device,bo}.{c,h}. Let's move those files to the gallium
driver dir so we're not tempted to use them again.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Constantine Shablya <constantine.shablya@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26698>
This commit is contained in:
Boris Brezillon
2023-12-12 14:28:53 +01:00
committed by Marge Bot
parent 211aa20194
commit d9477f994a
6 changed files with 3 additions and 3 deletions

View File

@@ -21,6 +21,8 @@
files_panfrost = files(
'pan_afbc_cso.c',
'pan_bo.c',
'pan_device.c',
'pan_disk_cache.c',
'pan_fence.c',
'pan_helpers.c',

View File

@@ -83,7 +83,7 @@ panfrost_bo_alloc(struct panfrost_device *dev, size_t size, uint32_t flags,
assert(kmod_bo);
bo = pan_lookup_bo(dev, kmod_bo->handle);
assert(!memcmp(bo, &((struct panfrost_bo){}), sizeof(*bo)));
assert(!memcmp(bo, &((struct panfrost_bo){0}), sizeof(*bo)));
bo->kmod_bo = kmod_bo;
struct pan_kmod_vm_op vm_op = {

View File

@@ -73,10 +73,8 @@ libpanfrost_lib_files = files(
'pan_afbc.c',
'pan_attributes.c',
'pan_bo.c',
'pan_blend.c',
'pan_clear.c',
'pan_device.c',
'pan_earlyzs.c',
'pan_samples.c',
'pan_tiler.c',