projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e734a7
)
radv/rmv: Recognize LPDDR memory
author
Friedrich Vock
<friedrich.vock@gmx.de>
Sun, 22 Oct 2023 18:24:04 +0000
(20:24 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Mon, 23 Oct 2023 18:08:02 +0000
(18:08 +0000)
Fixes:
8d0e6c02
("radv: Add RMV tracing utilities")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25845>
src/amd/vulkan/radv_rmv.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_rmv.c
b/src/amd/vulkan/radv_rmv.c
index
08db69c
..
6018a44
100644
(file)
--- a/
src/amd/vulkan/radv_rmv.c
+++ b/
src/amd/vulkan/radv_rmv.c
@@
-410,6
+410,10
@@
memory_type_from_vram_type(uint32_t vram_type)
case AMD_VRAM_TYPE_GDDR6:
return VK_RMV_MEMORY_TYPE_GDDR6;
case AMD_VRAM_TYPE_DDR5:
+ return VK_RMV_MEMORY_TYPE_DDR5;
+ case AMD_VRAM_TYPE_LPDDR4:
+ return VK_RMV_MEMORY_TYPE_LPDDR4;
+ case AMD_VRAM_TYPE_LPDDR5:
return VK_RMV_MEMORY_TYPE_LPDDR5;
default:
unreachable("Invalid vram type");