Skip to content
Snippets Groups Projects
Commit e0896048 authored by Yiwei Zhang's avatar Yiwei Zhang Committed by Marge Bot
Browse files

venus: cache ahb backed buffer memory type bits requirement


To properly init buffer memory requirement for AHB, memory type bits
from dma_buf fd properties need to be masked. However, creating a test
AHB at buffer creation is too costy. This patch caches the ahb backed
buffer memory type bits at device creation time if the app is requesting
AHB extension.

Cc: 21.2 mesa-stable

Signed-off-by: default avatarYiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: default avatarChia-I Wu <olvaffe@gmail.com>
Part-of: <mesa/mesa!12171>
parent 5ed5d081
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment