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:
Zhen Chen
2018-06-14 20:39:17 +08:00
parent d0cadf1fc3
commit e6dda0b9d9

View File

@@ -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,