Skip to content
Snippets Groups Projects
Commit 959314c4 authored by Mohamed Ahmed's avatar Mohamed Ahmed Committed by Danilo Krummrich
Browse files

drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations

Allow PTE kind and tile mode on BO create with VM_BIND, and add a
GETPARAM to indicate this change. This is needed to support modifiers in
NVK and ensure correctness when dealing with the nouveau GL driver.

The userspace modifiers implementation this is for can be found here:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795



Fixes: b88baab8 ("drm/nouveau: implement new VM_BIND uAPI")
Signed-off-by: default avatarMohamed Ahmed <mohamedahmedegypt2001@gmail.com>
Reviewed-by: default avatarFaith Ekstrand <faith.ekstrand@collabora.com>
Signed-off-by: default avatarDanilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240509204352.7597-1-mohamedahmedegypt2001@gmail.com
parent 3ce4322b
No related branches found
Tags drm-misc-fixes-2023-09-07
No related merge requests found
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