Skip to content

Commit d0cadf1

Browse files
author
Zhen Chen
committed
MALI: bifrost_for_linux: add recognizing "Mali-G31" for sys node "gpuinfo"
Change-Id: I660f3666e35c59d321698cd10151bc5952be1c1e Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
1 parent 1ee82d8 commit d0cadf1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/arm/bifrost_for_linux/mali_kbase_core_linux.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3170,6 +3170,8 @@ static ssize_t kbase_show_gpuinfo(struct device *dev,
31703170
.name = "Mali-G72" },
31713171
{ .id = GPU_ID2_PRODUCT_TSIX >> GPU_ID_VERSION_PRODUCT_ID_SHIFT,
31723172
.name = "Mali-G51" },
3173+
{ .id = GPU_ID2_PRODUCT_TDVX >> GPU_ID_VERSION_PRODUCT_ID_SHIFT,
3174+
.name = "Mali-G31" },
31733175
};
31743176
const char *product_name = "(Unknown Mali GPU)";
31753177
struct kbase_device *kbdev;

0 commit comments

Comments
 (0)