mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 13:40:16 +01:00
anv: enable protected memory
Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8064>
This commit is contained in:
parent
fd40134487
commit
794b0496e9
1 changed files with 5 additions and 2 deletions
|
|
@ -495,7 +495,7 @@ get_features(const struct anv_physical_device *pdevice,
|
||||||
.multiviewTessellationShader = true,
|
.multiviewTessellationShader = true,
|
||||||
.variablePointersStorageBuffer = true,
|
.variablePointersStorageBuffer = true,
|
||||||
.variablePointers = true,
|
.variablePointers = true,
|
||||||
.protectedMemory = false,
|
.protectedMemory = pdevice->has_protected_contexts,
|
||||||
.samplerYcbcrConversion = true,
|
.samplerYcbcrConversion = true,
|
||||||
.shaderDrawParameters = true,
|
.shaderDrawParameters = true,
|
||||||
|
|
||||||
|
|
@ -1930,7 +1930,10 @@ anv_get_physical_device_properties_1_1(struct anv_physical_device *pdevice,
|
||||||
p->pointClippingBehavior = VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY;
|
p->pointClippingBehavior = VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY;
|
||||||
p->maxMultiviewViewCount = 16;
|
p->maxMultiviewViewCount = 16;
|
||||||
p->maxMultiviewInstanceIndex = UINT32_MAX / 16;
|
p->maxMultiviewInstanceIndex = UINT32_MAX / 16;
|
||||||
p->protectedNoFault = false;
|
/* Our protected implementation is a memory encryption mechanism, it
|
||||||
|
* doesn't page fault.
|
||||||
|
*/
|
||||||
|
p->protectedNoFault = true;
|
||||||
/* This value doesn't matter for us today as our per-stage descriptors are
|
/* This value doesn't matter for us today as our per-stage descriptors are
|
||||||
* the real limit.
|
* the real limit.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue