aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/v3d/v3d_drv.h
diff options
context:
space:
mode:
authorMaíra Canal <mcanal@igalia.com>2024-07-14 11:49:11 -0300
committerMaíra Canal <mcanal@igalia.com>2024-07-15 12:45:59 -0300
commit7c78fdbace0ff9bd2a2f1206182c054462b006af (patch)
tree6f7ddbe5627e1a880df961a1226a151b80b375ed /drivers/gpu/drm/v3d/v3d_drv.h
parentdrm/qxl: Pin buffer objects for internal mappings (diff)
downloadwireguard-linux-7c78fdbace0ff9bd2a2f1206182c054462b006af.tar.xz
wireguard-linux-7c78fdbace0ff9bd2a2f1206182c054462b006af.zip
drm/v3d: Add V3D tech revision to the device information
The V3D tech revision can be a useful information when configuring jobs. Therefore, expose it in the `struct v3d_dev` with the V3D tech version. Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240714145243.1223131-1-mcanal@igalia.com
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/v3d/v3d_drv.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/v3d/v3d_drv.h b/drivers/gpu/drm/v3d/v3d_drv.h
index 099b962bdfde..49089eefb7c7 100644
--- a/drivers/gpu/drm/v3d/v3d_drv.h
+++ b/drivers/gpu/drm/v3d/v3d_drv.h
@@ -98,10 +98,12 @@ struct v3d_perfmon {
struct v3d_dev {
struct drm_device drm;
- /* Short representation (e.g. 33, 41) of the V3D tech version
- * and revision.
- */
+ /* Short representation (e.g. 33, 41) of the V3D tech version */
int ver;
+
+ /* Short representation (e.g. 5, 6) of the V3D tech revision */
+ int rev;
+
bool single_irq_line;
/* Different revisions of V3D have different total number of performance