diff options
author | Boris Brezillon <[email protected]> | 2019-09-14 08:00:27 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-09-18 10:28:22 +0200 |
commit | 0500c9e5145e651566b0204c3b62984919ba2450 (patch) | |
tree | 1055e2e84ba8a47510772dfe32b8d5539496dd00 /src/gallium/drivers/panfrost/pan_blend_cso.c | |
parent | 1e47c3ee7b0d3cb4cd99db18d0919c08b476105d (diff) |
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 <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_blend_cso.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_blend_cso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_blend_cso.c b/src/gallium/drivers/panfrost/pan_blend_cso.c index ab49772f3ba..82527a5602a 100644 --- a/src/gallium/drivers/panfrost/pan_blend_cso.c +++ b/src/gallium/drivers/panfrost/pan_blend_cso.c @@ -272,7 +272,7 @@ panfrost_get_blend_for_context(struct panfrost_context *ctx, unsigned rti) final.shader.first_tag = shader->first_tag; /* Upload the shader */ - final.shader.bo = panfrost_drm_create_bo(screen, shader->size, PAN_ALLOCATE_EXECUTE); + final.shader.bo = panfrost_bo_create(screen, shader->size, PAN_ALLOCATE_EXECUTE); memcpy(final.shader.bo->cpu, shader->buffer, shader->size); /* Pass BO ownership to job */ |