minigbm: Remove plane in bo_map
Remove the parameter to align with upstream gbm. For some places that use the number of planes. The number is 1. The multi-planar formats are being allocated into a single plane, and minigbm exynos backend is dropped. So we can just set the plane index to 0 if needed. Fixed the format in i915.c. Bug=b:266776512 TEST=camera works after deploying the change #strongbad TEST=camera works after deploying the change #corsola Change-Id: I0880917754c01b9d0f27d21f3c42d87f00a09f50 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/4249501 Commit-Queue: Dawn Han <dawnhan@google.com> Tested-by: Dawn Han <dawnhan@google.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Chia-I Wu <olv@google.com>
This commit is contained in:
parent
46a3cfa5a8
commit
ecbc89179e
12 changed files with 23 additions and 24 deletions
|
|
@ -31,7 +31,7 @@ int drv_dumb_bo_create_ex(struct bo *bo, uint32_t width, uint32_t height, uint32
|
|||
int drv_dumb_bo_destroy(struct bo *bo);
|
||||
int drv_gem_bo_destroy(struct bo *bo);
|
||||
int drv_prime_bo_import(struct bo *bo, struct drv_import_fd_data *data);
|
||||
void *drv_dumb_bo_map(struct bo *bo, struct vma *vma, size_t plane, uint32_t map_flags);
|
||||
void *drv_dumb_bo_map(struct bo *bo, struct vma *vma, uint32_t map_flags);
|
||||
int drv_bo_munmap(struct bo *bo, struct vma *vma);
|
||||
int drv_get_prot(uint32_t map_flags);
|
||||
void drv_add_combination(struct driver *drv, uint32_t format, struct format_metadata *metadata,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue