Skip to content

Commit e6dda0b

Browse files
author
Zhen Chen
committed
MALI: bifrost_for_linux: add "2EE" in the output of catting sys node "gpuinfo"
Indeed, "2EE" is hardcoded, it's not a good way. But I could not find a way to get the number of EE(s) at runtime right now. Change-Id: I15afe580d194c0d8354953fe877ac1d2882826c5 Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
1 parent d0cadf1 commit e6dda0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/arm/bifrost_for_linux/mali_kbase_core_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3204,7 +3204,7 @@ static ssize_t kbase_show_gpuinfo(struct device *dev,
32043204
}
32053205
}
32063206

3207-
return scnprintf(buf, PAGE_SIZE, "%s %d cores r%dp%d 0x%04X\n",
3207+
return scnprintf(buf, PAGE_SIZE, "%s %d cores 2EE r%dp%d 0x%04X\n",
32083208
product_name, kbdev->gpu_props.num_cores,
32093209
(gpu_id & GPU_ID_VERSION_MAJOR) >> GPU_ID_VERSION_MAJOR_SHIFT,
32103210
(gpu_id & GPU_ID_VERSION_MINOR) >> GPU_ID_VERSION_MINOR_SHIFT,

0 commit comments

Comments
 (0)