radv/rmv: Recognize LPDDR memory
authorFriedrich Vock <friedrich.vock@gmx.de>
Sun, 22 Oct 2023 18:24:04 +0000 (20:24 +0200)
committerMarge 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

index 08db69c..6018a44 100644 (file)
@@ -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");