mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 12:48:05 +02:00
freedreno: add dummy fd_bo_from_fbdev implementation when KGSL is disabled
Make sure that this function is defined (even empty/dummy) when KGSL support is disabled, since it's part of the driver i/f and it was reported to cause symbols issues when building against musl libc implementation. Reported-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
cc9a53f076
commit
739b888602
1 changed files with 7 additions and 0 deletions
|
|
@ -431,3 +431,10 @@ void fd_bo_cpu_fini(struct fd_bo *bo)
|
|||
{
|
||||
bo->funcs->cpu_fini(bo);
|
||||
}
|
||||
|
||||
#ifndef HAVE_FREEDRENO_KGSL
|
||||
struct fd_bo * fd_bo_from_fbdev(struct fd_pipe *pipe, int fbfd, uint32_t size)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue