amd,ac/rgp: fix SQTT memory types

This crashed on Steam Deck because the memory type is LPDDR5 and it
wasn't not handled in the switch. It seems the kernel changed the
memory type returned for VanGogh because it used to work.

Fixes: aef7ea868fe ("ac/gpu_info: handle LPDDR4 and 5 in ac_memory_ops_per_clock")
Signed-off-by: Samuel Pitoiset <>
Reviewed-by: Marek Olšák <>
Reviewed-by: Bas Nieuwenhuizen <>
Part-of: <>
(cherry picked from commit f19fccd9f8c368336a60ecfe94d3ef9565bc26dc)
3 files changed