mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
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>
This commit is contained in:
@@ -3204,7 +3204,7 @@ static ssize_t kbase_show_gpuinfo(struct device *dev,
|
||||
}
|
||||
}
|
||||
|
||||
return scnprintf(buf, PAGE_SIZE, "%s %d cores r%dp%d 0x%04X\n",
|
||||
return scnprintf(buf, PAGE_SIZE, "%s %d cores 2EE r%dp%d 0x%04X\n",
|
||||
product_name, kbdev->gpu_props.num_cores,
|
||||
(gpu_id & GPU_ID_VERSION_MAJOR) >> GPU_ID_VERSION_MAJOR_SHIFT,
|
||||
(gpu_id & GPU_ID_VERSION_MINOR) >> GPU_ID_VERSION_MINOR_SHIFT,
|
||||
|
||||
Reference in New Issue
Block a user