Skip to contentSkip to conversation

drm/panfrost: Remove type name from internal struct again

PATCH In review Steven Price 2 participants 3 messages Nov 3, 2022 – Nov 7, 2022

Subsystems (3)
lore
Share & tools
lore

Steven Price

author maintainer
#0 lore raw

PATCH 1/1 drm/panfrost: Remove type name from internal struct again

Commit 72655fb942c1 ("drm/panfrost: replace endian-specific types with native ones") accidentally reverted part of the parent commit 7228d9d79248 ("drm/panfrost: Remove type name from internal structs") leading to the situation that the Panfrost UAPI header still doesn't compile correctly in C++.

Revert the accidental revert and pass me a brown paper bag.

Fixes 72655fb942c1 ("drm/panfrost: replace endian-specific types with native ones")
---
 include/uapi/drm/panfrost_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/drm/panfrost_drm.h +1 -1
index 6f93c915cc88..9f231d40a146 100644
@@ -254,7 +254,7 @@ struct panfrost_dump_object_header {
 			__u64 nbos;
 		} reghdr;
 
-		struct pan_bomap_hdr {
+		struct {
 			__u32 valid;
 			__u64 iova;
 			__u32 data[2];
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 31 lines · Steven Price

Commit 72655fb942c1 ("drm/panfrost: replace endian-specific types with native ones") accidentally reverted part of the parent commit 7228d9d79248 ("drm/panfrost: Remove type name from internal structs") leading to the situation that the Panfrost UAPI header still doesn't compile correctly in C++.

Revert the accidental revert and pass me a brown paper bag.

Fixes 72655fb942c1 ("drm/panfrost: replace endian-specific types with native ones")
---
 include/uapi/drm/panfrost_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/drm/panfrost_drm.h +1 -1
index 6f93c915cc88..9f231d40a146 100644
@@ -254,7 +254,7 @@ struct panfrost_dump_object_header {
 			__u64 nbos;
 		} reghdr;
 
-		struct pan_bomap_hdr {
+		struct {
 			__u32 valid;
 			__u64 iova;
 			__u32 data[2];
Signature · 1 line
2.34.1
author maintainer
#2 lore raw
Quoted 1 line · Alyssa Rosenzweig

Thanks, pushed to drm-misc-fixes:

c4299907c09a drm/panfrost: Remove type name from internal struct again

Steve

Quoted 32 lines · Steven Price
Quoted 31 lines

Commit 72655fb942c1 ("drm/panfrost: replace endian-specific types with native ones") accidentally reverted part of the parent commit 7228d9d79248 ("drm/panfrost: Remove type name from internal structs") leading to the situation that the Panfrost UAPI header still doesn't compile correctly in C++.

Revert the accidental revert and pass me a brown paper bag.

Fixes 72655fb942c1 ("drm/panfrost: replace endian-specific types with native ones")
---
 include/uapi/drm/panfrost_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/drm/panfrost_drm.h +1 -1
index 6f93c915cc88..9f231d40a146 100644
@@ -254,7 +254,7 @@ struct panfrost_dump_object_header {
 			__u64 nbos;
 		} reghdr;
 
-		struct pan_bomap_hdr {
+		struct {
 			__u32 valid;
 			__u64 iova;
 			__u32 data[2];
Signature · 1 line
2.34.1