All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/25] drm/edid: introduce struct drm_edid
@ 2022-05-06 10:10 ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

Introduce struct drm_edid and start converting struct edid * to struct
drm_edid * in the EDID parsing. The rationale for drm_edid is explained
in depth in commit message for patch 3.

Initially, there's little functional benefit in the series, it's mostly
just prep work. It's also intended to be relatively straightforward to
review.

Later on, we'll add interfaces around drm_edid that let us utilize the
actual EDID buffer allocation size as metadata outside of the size
contained within the EDID blob. This is a requirement for safely
handling HF-EEODB without a huge flag day switch from struct edid
usage. See [1] for that work.


BR,
Jani.


[1] https://cgit.freedesktop.org/~jani/drm/log/?h=edid-hfeeodb-2022-05-06


Jani Nikula (25):
  drm/edid: use else-if in CTA extension parsing
  drm/edid: convert drm_for_each_detailed_block() to edid iter
  drm/edid: add struct drm_edid container
  drm/edid: start propagating drm_edid to lower levels
  drm/edid: keep propagating drm_edid to display info
  drm/edid: propagate drm_edid to drm_edid_to_eld()
  drm/edid: convert drm_edid_connector_update() to drm_edid fully
  drm/edid: convert struct detailed_mode_closure to drm_edid
  drm/edid: convert drm_mode_detailed() to drm_edid
  drm/edid: convert drm_dmt_modes_for_range() to drm_edid
  drm/edid: convert drm_gtf_modes_for_range() to drm_edid
  drm/edid: convert drm_cvt_modes_for_range() to drm_edid
  drm/edid: convert drm_mode_std() and children to drm_edid
  drm/edid: convert mode_in_range() and drm_monitor_supports_rb() to
    drm_edid
  drm/edid: convert get_monitor_name() to drm_edid
  drm/edid: convert drm_for_each_detailed_block() to drm_edid
  drm/edid: add drm_edid helper for drm_edid_to_sad()
  drm/edid: add drm_edid helper for drm_edid_to_speaker_allocation()
  drm/edid: add drm_edid helper for drm_detect_hdmi_monitor()
  drm/edid: add drm_edid helper for drm_detect_monitor_audio()
  drm/edid: convert cea_db_iter_edid_begin() to drm_edid
  drm/edid: convert drm_edid_iter_begin() to drm_edid
  drm/edid: add drm_edid helper for drm_update_tile_info()
  drm/displayid: convert to drm_edid
  drm/edid: convert version_greater() to drm_edid

 drivers/gpu/drm/drm_displayid.c |  16 +-
 drivers/gpu/drm/drm_edid.c      | 542 +++++++++++++++++++-------------
 include/drm/drm_displayid.h     |   6 +-
 include/drm/drm_edid.h          |   6 +-
 4 files changed, 337 insertions(+), 233 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 00/25] drm/edid: introduce struct drm_edid
@ 2022-05-06 10:10 ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

Introduce struct drm_edid and start converting struct edid * to struct
drm_edid * in the EDID parsing. The rationale for drm_edid is explained
in depth in commit message for patch 3.

Initially, there's little functional benefit in the series, it's mostly
just prep work. It's also intended to be relatively straightforward to
review.

Later on, we'll add interfaces around drm_edid that let us utilize the
actual EDID buffer allocation size as metadata outside of the size
contained within the EDID blob. This is a requirement for safely
handling HF-EEODB without a huge flag day switch from struct edid
usage. See [1] for that work.


BR,
Jani.


[1] https://cgit.freedesktop.org/~jani/drm/log/?h=edid-hfeeodb-2022-05-06


Jani Nikula (25):
  drm/edid: use else-if in CTA extension parsing
  drm/edid: convert drm_for_each_detailed_block() to edid iter
  drm/edid: add struct drm_edid container
  drm/edid: start propagating drm_edid to lower levels
  drm/edid: keep propagating drm_edid to display info
  drm/edid: propagate drm_edid to drm_edid_to_eld()
  drm/edid: convert drm_edid_connector_update() to drm_edid fully
  drm/edid: convert struct detailed_mode_closure to drm_edid
  drm/edid: convert drm_mode_detailed() to drm_edid
  drm/edid: convert drm_dmt_modes_for_range() to drm_edid
  drm/edid: convert drm_gtf_modes_for_range() to drm_edid
  drm/edid: convert drm_cvt_modes_for_range() to drm_edid
  drm/edid: convert drm_mode_std() and children to drm_edid
  drm/edid: convert mode_in_range() and drm_monitor_supports_rb() to
    drm_edid
  drm/edid: convert get_monitor_name() to drm_edid
  drm/edid: convert drm_for_each_detailed_block() to drm_edid
  drm/edid: add drm_edid helper for drm_edid_to_sad()
  drm/edid: add drm_edid helper for drm_edid_to_speaker_allocation()
  drm/edid: add drm_edid helper for drm_detect_hdmi_monitor()
  drm/edid: add drm_edid helper for drm_detect_monitor_audio()
  drm/edid: convert cea_db_iter_edid_begin() to drm_edid
  drm/edid: convert drm_edid_iter_begin() to drm_edid
  drm/edid: add drm_edid helper for drm_update_tile_info()
  drm/displayid: convert to drm_edid
  drm/edid: convert version_greater() to drm_edid

 drivers/gpu/drm/drm_displayid.c |  16 +-
 drivers/gpu/drm/drm_edid.c      | 542 +++++++++++++++++++-------------
 include/drm/drm_displayid.h     |   6 +-
 include/drm/drm_edid.h          |   6 +-
 4 files changed, 337 insertions(+), 233 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 78+ messages in thread

* [PATCH 01/25] drm/edid: use else-if in CTA extension parsing
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

Only one of the conditions can be true.

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 47d121e99201..efc1999b9573 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -5473,16 +5473,16 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
 
 		if (cea_db_is_hdmi_vsdb(db))
 			drm_parse_hdmi_vsdb_video(connector, data);
-		if (cea_db_is_hdmi_forum_vsdb(db) ||
-		    cea_db_is_hdmi_forum_scdb(db))
+		else if (cea_db_is_hdmi_forum_vsdb(db) ||
+			 cea_db_is_hdmi_forum_scdb(db))
 			drm_parse_hdmi_forum_scds(connector, data);
-		if (cea_db_is_microsoft_vsdb(db))
+		else if (cea_db_is_microsoft_vsdb(db))
 			drm_parse_microsoft_vsdb(connector, data);
-		if (cea_db_is_y420cmdb(db))
+		else if (cea_db_is_y420cmdb(db))
 			drm_parse_y420cmdb_bitmap(connector, data);
-		if (cea_db_is_vcdb(db))
+		else if (cea_db_is_vcdb(db))
 			drm_parse_vcdb(connector, data);
-		if (cea_db_is_hdmi_hdr_metadata_block(db))
+		else if (cea_db_is_hdmi_hdr_metadata_block(db))
 			drm_parse_hdr_metadata_block(connector, data);
 	}
 	cea_db_iter_end(&iter);
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 01/25] drm/edid: use else-if in CTA extension parsing
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

Only one of the conditions can be true.

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 47d121e99201..efc1999b9573 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -5473,16 +5473,16 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
 
 		if (cea_db_is_hdmi_vsdb(db))
 			drm_parse_hdmi_vsdb_video(connector, data);
-		if (cea_db_is_hdmi_forum_vsdb(db) ||
-		    cea_db_is_hdmi_forum_scdb(db))
+		else if (cea_db_is_hdmi_forum_vsdb(db) ||
+			 cea_db_is_hdmi_forum_scdb(db))
 			drm_parse_hdmi_forum_scds(connector, data);
-		if (cea_db_is_microsoft_vsdb(db))
+		else if (cea_db_is_microsoft_vsdb(db))
 			drm_parse_microsoft_vsdb(connector, data);
-		if (cea_db_is_y420cmdb(db))
+		else if (cea_db_is_y420cmdb(db))
 			drm_parse_y420cmdb_bitmap(connector, data);
-		if (cea_db_is_vcdb(db))
+		else if (cea_db_is_vcdb(db))
 			drm_parse_vcdb(connector, data);
-		if (cea_db_is_hdmi_hdr_metadata_block(db))
+		else if (cea_db_is_hdmi_hdr_metadata_block(db))
 			drm_parse_hdr_metadata_block(connector, data);
 	}
 	cea_db_iter_end(&iter);
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 02/25] drm/edid: convert drm_for_each_detailed_block() to edid iter
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We have an iterator for this, use it. It does include the base block,
but its tag is 0 and will be skipped.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index efc1999b9573..dcef92c8887a 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2574,6 +2574,8 @@ vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure)
 static void
 drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *closure)
 {
+	struct drm_edid_iter edid_iter;
+	const u8 *ext;
 	int i;
 
 	if (edid == NULL)
@@ -2582,9 +2584,8 @@ drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *clos
 	for (i = 0; i < EDID_DETAILED_TIMINGS; i++)
 		cb(&(edid->detailed_timings[i]), closure);
 
-	for (i = 0; i < edid_extension_block_count(edid); i++) {
-		const u8 *ext = edid_extension_block_data(edid, i);
-
+	drm_edid_iter_begin(edid, &edid_iter);
+	drm_edid_iter_for_each(ext, &edid_iter) {
 		switch (*ext) {
 		case CEA_EXT:
 			cea_for_each_detailed_block(ext, cb, closure);
@@ -2596,6 +2597,7 @@ drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *clos
 			break;
 		}
 	}
+	drm_edid_iter_end(&edid_iter);
 }
 
 static void
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 02/25] drm/edid: convert drm_for_each_detailed_block() to edid iter
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We have an iterator for this, use it. It does include the base block,
but its tag is 0 and will be skipped.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index efc1999b9573..dcef92c8887a 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2574,6 +2574,8 @@ vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure)
 static void
 drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *closure)
 {
+	struct drm_edid_iter edid_iter;
+	const u8 *ext;
 	int i;
 
 	if (edid == NULL)
@@ -2582,9 +2584,8 @@ drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *clos
 	for (i = 0; i < EDID_DETAILED_TIMINGS; i++)
 		cb(&(edid->detailed_timings[i]), closure);
 
-	for (i = 0; i < edid_extension_block_count(edid); i++) {
-		const u8 *ext = edid_extension_block_data(edid, i);
-
+	drm_edid_iter_begin(edid, &edid_iter);
+	drm_edid_iter_for_each(ext, &edid_iter) {
 		switch (*ext) {
 		case CEA_EXT:
 			cea_for_each_detailed_block(ext, cb, closure);
@@ -2596,6 +2597,7 @@ drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *clos
 			break;
 		}
 	}
+	drm_edid_iter_end(&edid_iter);
 }
 
 static void
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 03/25] drm/edid: add struct drm_edid container
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

Introduce new opaque type struct drm_edid to encapsulate the EDID data
and the size allocated for it. The contents will be private to
drm_edid.c.

There are a number of reasons for adding a container around struct edid:

* struct edid is a raw blob pointer to data that usually originates
  outside of the kernel. Its size is contained within the structure.

* There's no way to attach meta information (such as allocated memory
  size) to struct edid.

* Validation of the EDID blob and its size become crucial, and it's
  spread all over the subsystem, with varying levels of accuracy.

* HDMI Forum has introduced an HF-EEODB extension that defines an
  override EDID size within an EDID extension. The size allocated for an
  EDID depends on whether the allocator understands the HF-EEODB
  extension. Given a struct edid *, it's impossible to know how much
  memory was actually allocated for it.

There are also some reasons for making the container type struct
drm_edid opaque and private to drm_edid.c:

* Have only one place for creating and parsing the EDID, to avoid
  duplicating bugs.

* Prepare for reading a pure DisplayID 2.0 from its own DDC address, and
  adding it within the same struct drm_edid container, transparently,
  and for all drivers.

* With the idea that the drm_edid objects are immutable during their
  lifetimes, it will be possible to refcount them and reduce EDID
  copying everywhere (this is left for future work).

Initially, just add the type. In follow-up, we'll start converting the
guts of drm_edid.c to use it, and finally add interfaces around it.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index dcef92c8887a..480fd9fbe412 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -1567,6 +1567,15 @@ static const struct drm_display_mode edid_4k_modes[] = {
 
 /*** DDC fetch and block validation ***/
 
+/*
+ * The opaque EDID type, internal to drm_edid.c.
+ */
+struct drm_edid {
+	/* Size allocated for edid */
+	size_t size;
+	const struct edid *edid;
+};
+
 static int edid_extension_block_count(const struct edid *edid)
 {
 	return edid->extensions;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 03/25] drm/edid: add struct drm_edid container
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

Introduce new opaque type struct drm_edid to encapsulate the EDID data
and the size allocated for it. The contents will be private to
drm_edid.c.

There are a number of reasons for adding a container around struct edid:

* struct edid is a raw blob pointer to data that usually originates
  outside of the kernel. Its size is contained within the structure.

* There's no way to attach meta information (such as allocated memory
  size) to struct edid.

* Validation of the EDID blob and its size become crucial, and it's
  spread all over the subsystem, with varying levels of accuracy.

* HDMI Forum has introduced an HF-EEODB extension that defines an
  override EDID size within an EDID extension. The size allocated for an
  EDID depends on whether the allocator understands the HF-EEODB
  extension. Given a struct edid *, it's impossible to know how much
  memory was actually allocated for it.

There are also some reasons for making the container type struct
drm_edid opaque and private to drm_edid.c:

* Have only one place for creating and parsing the EDID, to avoid
  duplicating bugs.

* Prepare for reading a pure DisplayID 2.0 from its own DDC address, and
  adding it within the same struct drm_edid container, transparently,
  and for all drivers.

* With the idea that the drm_edid objects are immutable during their
  lifetimes, it will be possible to refcount them and reduce EDID
  copying everywhere (this is left for future work).

Initially, just add the type. In follow-up, we'll start converting the
guts of drm_edid.c to use it, and finally add interfaces around it.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index dcef92c8887a..480fd9fbe412 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -1567,6 +1567,15 @@ static const struct drm_display_mode edid_4k_modes[] = {
 
 /*** DDC fetch and block validation ***/
 
+/*
+ * The opaque EDID type, internal to drm_edid.c.
+ */
+struct drm_edid {
+	/* Size allocated for edid */
+	size_t size;
+	const struct edid *edid;
+};
+
 static int edid_extension_block_count(const struct edid *edid)
 {
 	return edid->extensions;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 04/25] drm/edid: start propagating drm_edid to lower levels
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere. This is a clunky start, but
a start nonetheless. We'll eventually convert all of the EDID parsing to
struct drm_edid.

Initially, we'll just create the struct drm_edid in stack. This will be
the compat layer for legacy struct edid code. In the future, we'll have
EDID read return drm_edid objects.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 480fd9fbe412..946296632b2e 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -5814,17 +5814,20 @@ static int add_displayid_detailed_modes(struct drm_connector *connector,
 }
 
 static int drm_edid_connector_update(struct drm_connector *connector,
-				     const struct edid *edid)
+				     const struct drm_edid *drm_edid)
 {
+	const struct edid *edid;
 	int num_modes = 0;
 	u32 quirks;
 
-	if (edid == NULL) {
+	if (drm_edid == NULL) {
 		drm_reset_display_info(connector);
 		clear_eld(connector);
 		return 0;
 	}
 
+	edid = drm_edid->edid;
+
 	/*
 	 * CEA-861-F adds ycbcr capability map block, for HDMI 2.0 sinks.
 	 * To avoid multiple parsing of same block, lets parse that map
@@ -5890,13 +5893,20 @@ static int drm_edid_connector_update(struct drm_connector *connector,
  */
 int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid)
 {
+	struct drm_edid drm_edid = {};
+
 	if (edid && !drm_edid_is_valid(edid)) {
 		drm_warn(connector->dev, "%s: EDID invalid.\n",
 			 connector->name);
 		edid = NULL;
 	}
 
-	return drm_edid_connector_update(connector, edid);
+	if (edid) {
+		drm_edid.edid = edid;
+		drm_edid.size = edid_size(edid);
+	}
+
+	return drm_edid_connector_update(connector, edid ? &drm_edid : NULL);
 }
 EXPORT_SYMBOL(drm_add_edid_modes);
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 04/25] drm/edid: start propagating drm_edid to lower levels
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere. This is a clunky start, but
a start nonetheless. We'll eventually convert all of the EDID parsing to
struct drm_edid.

Initially, we'll just create the struct drm_edid in stack. This will be
the compat layer for legacy struct edid code. In the future, we'll have
EDID read return drm_edid objects.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 480fd9fbe412..946296632b2e 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -5814,17 +5814,20 @@ static int add_displayid_detailed_modes(struct drm_connector *connector,
 }
 
 static int drm_edid_connector_update(struct drm_connector *connector,
-				     const struct edid *edid)
+				     const struct drm_edid *drm_edid)
 {
+	const struct edid *edid;
 	int num_modes = 0;
 	u32 quirks;
 
-	if (edid == NULL) {
+	if (drm_edid == NULL) {
 		drm_reset_display_info(connector);
 		clear_eld(connector);
 		return 0;
 	}
 
+	edid = drm_edid->edid;
+
 	/*
 	 * CEA-861-F adds ycbcr capability map block, for HDMI 2.0 sinks.
 	 * To avoid multiple parsing of same block, lets parse that map
@@ -5890,13 +5893,20 @@ static int drm_edid_connector_update(struct drm_connector *connector,
  */
 int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid)
 {
+	struct drm_edid drm_edid = {};
+
 	if (edid && !drm_edid_is_valid(edid)) {
 		drm_warn(connector->dev, "%s: EDID invalid.\n",
 			 connector->name);
 		edid = NULL;
 	}
 
-	return drm_edid_connector_update(connector, edid);
+	if (edid) {
+		drm_edid.edid = edid;
+		drm_edid.size = edid_size(edid);
+	}
+
+	return drm_edid_connector_update(connector, edid ? &drm_edid : NULL);
 }
 EXPORT_SYMBOL(drm_add_edid_modes);
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 05/25] drm/edid: keep propagating drm_edid to display info
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate	drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 50 +++++++++++++++++++++++---------------
 1 file changed, 31 insertions(+), 19 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 946296632b2e..c9d48fbd0a76 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2419,13 +2419,13 @@ EXPORT_SYMBOL(drm_edid_duplicate);
 
 /**
  * edid_get_quirks - return quirk flags for a given EDID
- * @edid: EDID to process
+ * @drm_edid: EDID to process
  *
  * This tells subsequent routines what fixes they need to apply.
  */
-static u32 edid_get_quirks(const struct edid *edid)
+static u32 edid_get_quirks(const struct drm_edid *drm_edid)
 {
-	u32 panel_id = edid_extract_panel_id(edid);
+	u32 panel_id = edid_extract_panel_id(drm_edid->edid);
 	const struct edid_quirk *quirk;
 	int i;
 
@@ -5448,7 +5448,7 @@ static void drm_parse_microsoft_vsdb(struct drm_connector *connector,
 }
 
 static void drm_parse_cea_ext(struct drm_connector *connector,
-			      const struct edid *edid)
+			      const struct drm_edid *drm_edid)
 {
 	struct drm_display_info *info = &connector->display_info;
 	struct drm_edid_iter edid_iter;
@@ -5456,7 +5456,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
 	struct cea_db_iter iter;
 	const u8 *edid_ext;
 
-	drm_edid_iter_begin(edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
 	drm_edid_iter_for_each(edid_ext, &edid_iter) {
 		if (edid_ext[0] != CEA_EXT)
 			continue;
@@ -5477,7 +5477,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
 	}
 	drm_edid_iter_end(&edid_iter);
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		/* FIXME: convert parsers to use struct cea_db */
 		const u8 *data = (const u8 *)db;
@@ -5523,16 +5523,15 @@ void get_monitor_range(const struct detailed_timing *timing,
 	monitor_range->max_vfreq = range->max_vfreq;
 }
 
-static
-void drm_get_monitor_range(struct drm_connector *connector,
-			   const struct edid *edid)
+static void drm_get_monitor_range(struct drm_connector *connector,
+				  const struct drm_edid *drm_edid)
 {
 	struct drm_display_info *info = &connector->display_info;
 
-	if (!version_greater(edid, 1, 1))
+	if (!version_greater(drm_edid->edid, 1, 1))
 		return;
 
-	drm_for_each_detailed_block(edid, get_monitor_range,
+	drm_for_each_detailed_block(drm_edid->edid, get_monitor_range,
 				    &info->monitor_range);
 
 	DRM_DEBUG_KMS("Supported Monitor Refresh rate range is %d Hz - %d Hz\n",
@@ -5592,12 +5591,13 @@ static void drm_parse_vesa_mso_data(struct drm_connector *connector,
 		    info->mso_stream_count, info->mso_pixel_overlap);
 }
 
-static void drm_update_mso(struct drm_connector *connector, const struct edid *edid)
+static void drm_update_mso(struct drm_connector *connector,
+			   const struct drm_edid *drm_edid)
 {
 	const struct displayid_block *block;
 	struct displayid_iter iter;
 
-	displayid_iter_edid_begin(edid, &iter);
+	displayid_iter_edid_begin(drm_edid->edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_2_VENDOR_SPECIFIC)
 			drm_parse_vesa_mso_data(connector, block);
@@ -5636,18 +5636,20 @@ drm_reset_display_info(struct drm_connector *connector)
 	info->mso_pixel_overlap = 0;
 }
 
-u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
+static u32 update_display_info(struct drm_connector *connector,
+			       const struct drm_edid *drm_edid)
 {
 	struct drm_display_info *info = &connector->display_info;
+	const struct edid *edid = drm_edid->edid;
 
-	u32 quirks = edid_get_quirks(edid);
+	u32 quirks = edid_get_quirks(drm_edid);
 
 	drm_reset_display_info(connector);
 
 	info->width_mm = edid->width_cm * 10;
 	info->height_mm = edid->height_cm * 10;
 
-	drm_get_monitor_range(connector, edid);
+	drm_get_monitor_range(connector, drm_edid);
 
 	if (edid->revision < 3)
 		goto out;
@@ -5656,7 +5658,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
 		goto out;
 
 	info->color_formats |= DRM_COLOR_FORMAT_RGB444;
-	drm_parse_cea_ext(connector, edid);
+	drm_parse_cea_ext(connector, drm_edid);
 
 	/*
 	 * Digital sink with "DFP 1.x compliant TMDS" according to EDID 1.3?
@@ -5709,7 +5711,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
 	if (edid->features & DRM_EDID_FEATURE_RGB_YCRCB422)
 		info->color_formats |= DRM_COLOR_FORMAT_YCBCR422;
 
-	drm_update_mso(connector, edid);
+	drm_update_mso(connector, drm_edid);
 
 out:
 	if (quirks & EDID_QUIRK_NON_DESKTOP) {
@@ -5721,6 +5723,16 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
 	return quirks;
 }
 
+u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	return update_display_info(connector, &drm_edid);
+}
+
 static struct drm_display_mode *drm_mode_displayid_detailed(struct drm_device *dev,
 							    struct displayid_detailed_timings_1 *timings,
 							    bool type_7)
@@ -5833,7 +5845,7 @@ static int drm_edid_connector_update(struct drm_connector *connector,
 	 * To avoid multiple parsing of same block, lets parse that map
 	 * from sink info, before parsing CEA modes.
 	 */
-	quirks = drm_add_display_info(connector, edid);
+	quirks = update_display_info(connector, drm_edid);
 
 	/* Depends on info->cea_rev set by drm_add_display_info() above */
 	drm_edid_to_eld(connector, edid);
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 05/25] drm/edid: keep propagating drm_edid to display info
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate	drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 50 +++++++++++++++++++++++---------------
 1 file changed, 31 insertions(+), 19 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 946296632b2e..c9d48fbd0a76 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2419,13 +2419,13 @@ EXPORT_SYMBOL(drm_edid_duplicate);
 
 /**
  * edid_get_quirks - return quirk flags for a given EDID
- * @edid: EDID to process
+ * @drm_edid: EDID to process
  *
  * This tells subsequent routines what fixes they need to apply.
  */
-static u32 edid_get_quirks(const struct edid *edid)
+static u32 edid_get_quirks(const struct drm_edid *drm_edid)
 {
-	u32 panel_id = edid_extract_panel_id(edid);
+	u32 panel_id = edid_extract_panel_id(drm_edid->edid);
 	const struct edid_quirk *quirk;
 	int i;
 
@@ -5448,7 +5448,7 @@ static void drm_parse_microsoft_vsdb(struct drm_connector *connector,
 }
 
 static void drm_parse_cea_ext(struct drm_connector *connector,
-			      const struct edid *edid)
+			      const struct drm_edid *drm_edid)
 {
 	struct drm_display_info *info = &connector->display_info;
 	struct drm_edid_iter edid_iter;
@@ -5456,7 +5456,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
 	struct cea_db_iter iter;
 	const u8 *edid_ext;
 
-	drm_edid_iter_begin(edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
 	drm_edid_iter_for_each(edid_ext, &edid_iter) {
 		if (edid_ext[0] != CEA_EXT)
 			continue;
@@ -5477,7 +5477,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
 	}
 	drm_edid_iter_end(&edid_iter);
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		/* FIXME: convert parsers to use struct cea_db */
 		const u8 *data = (const u8 *)db;
@@ -5523,16 +5523,15 @@ void get_monitor_range(const struct detailed_timing *timing,
 	monitor_range->max_vfreq = range->max_vfreq;
 }
 
-static
-void drm_get_monitor_range(struct drm_connector *connector,
-			   const struct edid *edid)
+static void drm_get_monitor_range(struct drm_connector *connector,
+				  const struct drm_edid *drm_edid)
 {
 	struct drm_display_info *info = &connector->display_info;
 
-	if (!version_greater(edid, 1, 1))
+	if (!version_greater(drm_edid->edid, 1, 1))
 		return;
 
-	drm_for_each_detailed_block(edid, get_monitor_range,
+	drm_for_each_detailed_block(drm_edid->edid, get_monitor_range,
 				    &info->monitor_range);
 
 	DRM_DEBUG_KMS("Supported Monitor Refresh rate range is %d Hz - %d Hz\n",
@@ -5592,12 +5591,13 @@ static void drm_parse_vesa_mso_data(struct drm_connector *connector,
 		    info->mso_stream_count, info->mso_pixel_overlap);
 }
 
-static void drm_update_mso(struct drm_connector *connector, const struct edid *edid)
+static void drm_update_mso(struct drm_connector *connector,
+			   const struct drm_edid *drm_edid)
 {
 	const struct displayid_block *block;
 	struct displayid_iter iter;
 
-	displayid_iter_edid_begin(edid, &iter);
+	displayid_iter_edid_begin(drm_edid->edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_2_VENDOR_SPECIFIC)
 			drm_parse_vesa_mso_data(connector, block);
@@ -5636,18 +5636,20 @@ drm_reset_display_info(struct drm_connector *connector)
 	info->mso_pixel_overlap = 0;
 }
 
-u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
+static u32 update_display_info(struct drm_connector *connector,
+			       const struct drm_edid *drm_edid)
 {
 	struct drm_display_info *info = &connector->display_info;
+	const struct edid *edid = drm_edid->edid;
 
-	u32 quirks = edid_get_quirks(edid);
+	u32 quirks = edid_get_quirks(drm_edid);
 
 	drm_reset_display_info(connector);
 
 	info->width_mm = edid->width_cm * 10;
 	info->height_mm = edid->height_cm * 10;
 
-	drm_get_monitor_range(connector, edid);
+	drm_get_monitor_range(connector, drm_edid);
 
 	if (edid->revision < 3)
 		goto out;
@@ -5656,7 +5658,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
 		goto out;
 
 	info->color_formats |= DRM_COLOR_FORMAT_RGB444;
-	drm_parse_cea_ext(connector, edid);
+	drm_parse_cea_ext(connector, drm_edid);
 
 	/*
 	 * Digital sink with "DFP 1.x compliant TMDS" according to EDID 1.3?
@@ -5709,7 +5711,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
 	if (edid->features & DRM_EDID_FEATURE_RGB_YCRCB422)
 		info->color_formats |= DRM_COLOR_FORMAT_YCBCR422;
 
-	drm_update_mso(connector, edid);
+	drm_update_mso(connector, drm_edid);
 
 out:
 	if (quirks & EDID_QUIRK_NON_DESKTOP) {
@@ -5721,6 +5723,16 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
 	return quirks;
 }
 
+u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	return update_display_info(connector, &drm_edid);
+}
+
 static struct drm_display_mode *drm_mode_displayid_detailed(struct drm_device *dev,
 							    struct displayid_detailed_timings_1 *timings,
 							    bool type_7)
@@ -5833,7 +5845,7 @@ static int drm_edid_connector_update(struct drm_connector *connector,
 	 * To avoid multiple parsing of same block, lets parse that map
 	 * from sink info, before parsing CEA modes.
 	 */
-	quirks = drm_add_display_info(connector, edid);
+	quirks = update_display_info(connector, drm_edid);
 
 	/* Depends on info->cea_rev set by drm_add_display_info() above */
 	drm_edid_to_eld(connector, edid);
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 06/25] drm/edid: propagate drm_edid to drm_edid_to_eld()
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate	drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index c9d48fbd0a76..74038be72ad3 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -4865,13 +4865,13 @@ static void clear_eld(struct drm_connector *connector)
 /*
  * drm_edid_to_eld - build ELD from EDID
  * @connector: connector corresponding to the HDMI/DP sink
- * @edid: EDID to parse
+ * @drm_edid: EDID to parse
  *
  * Fill the ELD (EDID-Like Data) buffer for passing to the audio driver. The
  * HDCP and Port_ID ELD fields are left for the graphics driver to fill in.
  */
 static void drm_edid_to_eld(struct drm_connector *connector,
-			    const struct edid *edid)
+			    const struct drm_edid *drm_edid)
 {
 	const struct drm_display_info *info = &connector->display_info;
 	const struct cea_db *db;
@@ -4882,10 +4882,10 @@ static void drm_edid_to_eld(struct drm_connector *connector,
 
 	clear_eld(connector);
 
-	if (!edid)
+	if (!drm_edid)
 		return;
 
-	mnl = get_monitor_name(edid, &eld[DRM_ELD_MONITOR_NAME_STRING]);
+	mnl = get_monitor_name(drm_edid->edid, &eld[DRM_ELD_MONITOR_NAME_STRING]);
 	DRM_DEBUG_KMS("ELD monitor %s\n", &eld[DRM_ELD_MONITOR_NAME_STRING]);
 
 	eld[DRM_ELD_CEA_EDID_VER_MNL] = info->cea_rev << DRM_ELD_CEA_EDID_VER_SHIFT;
@@ -4893,12 +4893,12 @@ static void drm_edid_to_eld(struct drm_connector *connector,
 
 	eld[DRM_ELD_VER] = DRM_ELD_VER_CEA861D;
 
-	eld[DRM_ELD_MANUFACTURER_NAME0] = edid->mfg_id[0];
-	eld[DRM_ELD_MANUFACTURER_NAME1] = edid->mfg_id[1];
-	eld[DRM_ELD_PRODUCT_CODE0] = edid->prod_code[0];
-	eld[DRM_ELD_PRODUCT_CODE1] = edid->prod_code[1];
+	eld[DRM_ELD_MANUFACTURER_NAME0] = drm_edid->edid->mfg_id[0];
+	eld[DRM_ELD_MANUFACTURER_NAME1] = drm_edid->edid->mfg_id[1];
+	eld[DRM_ELD_PRODUCT_CODE0] = drm_edid->edid->prod_code[0];
+	eld[DRM_ELD_PRODUCT_CODE1] = drm_edid->edid->prod_code[1];
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		const u8 *data = cea_db_data(db);
 		int len = cea_db_payload_len(db);
@@ -5848,7 +5848,7 @@ static int drm_edid_connector_update(struct drm_connector *connector,
 	quirks = update_display_info(connector, drm_edid);
 
 	/* Depends on info->cea_rev set by drm_add_display_info() above */
-	drm_edid_to_eld(connector, edid);
+	drm_edid_to_eld(connector, drm_edid);
 
 	/*
 	 * EDID spec says modes should be preferred in this order:
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 06/25] drm/edid: propagate drm_edid to drm_edid_to_eld()
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate	drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index c9d48fbd0a76..74038be72ad3 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -4865,13 +4865,13 @@ static void clear_eld(struct drm_connector *connector)
 /*
  * drm_edid_to_eld - build ELD from EDID
  * @connector: connector corresponding to the HDMI/DP sink
- * @edid: EDID to parse
+ * @drm_edid: EDID to parse
  *
  * Fill the ELD (EDID-Like Data) buffer for passing to the audio driver. The
  * HDCP and Port_ID ELD fields are left for the graphics driver to fill in.
  */
 static void drm_edid_to_eld(struct drm_connector *connector,
-			    const struct edid *edid)
+			    const struct drm_edid *drm_edid)
 {
 	const struct drm_display_info *info = &connector->display_info;
 	const struct cea_db *db;
@@ -4882,10 +4882,10 @@ static void drm_edid_to_eld(struct drm_connector *connector,
 
 	clear_eld(connector);
 
-	if (!edid)
+	if (!drm_edid)
 		return;
 
-	mnl = get_monitor_name(edid, &eld[DRM_ELD_MONITOR_NAME_STRING]);
+	mnl = get_monitor_name(drm_edid->edid, &eld[DRM_ELD_MONITOR_NAME_STRING]);
 	DRM_DEBUG_KMS("ELD monitor %s\n", &eld[DRM_ELD_MONITOR_NAME_STRING]);
 
 	eld[DRM_ELD_CEA_EDID_VER_MNL] = info->cea_rev << DRM_ELD_CEA_EDID_VER_SHIFT;
@@ -4893,12 +4893,12 @@ static void drm_edid_to_eld(struct drm_connector *connector,
 
 	eld[DRM_ELD_VER] = DRM_ELD_VER_CEA861D;
 
-	eld[DRM_ELD_MANUFACTURER_NAME0] = edid->mfg_id[0];
-	eld[DRM_ELD_MANUFACTURER_NAME1] = edid->mfg_id[1];
-	eld[DRM_ELD_PRODUCT_CODE0] = edid->prod_code[0];
-	eld[DRM_ELD_PRODUCT_CODE1] = edid->prod_code[1];
+	eld[DRM_ELD_MANUFACTURER_NAME0] = drm_edid->edid->mfg_id[0];
+	eld[DRM_ELD_MANUFACTURER_NAME1] = drm_edid->edid->mfg_id[1];
+	eld[DRM_ELD_PRODUCT_CODE0] = drm_edid->edid->prod_code[0];
+	eld[DRM_ELD_PRODUCT_CODE1] = drm_edid->edid->prod_code[1];
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		const u8 *data = cea_db_data(db);
 		int len = cea_db_payload_len(db);
@@ -5848,7 +5848,7 @@ static int drm_edid_connector_update(struct drm_connector *connector,
 	quirks = update_display_info(connector, drm_edid);
 
 	/* Depends on info->cea_rev set by drm_add_display_info() above */
-	drm_edid_to_eld(connector, edid);
+	drm_edid_to_eld(connector, drm_edid);
 
 	/*
 	 * EDID spec says modes should be preferred in this order:
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 07/25] drm/edid: convert drm_edid_connector_update() to drm_edid fully
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 95 ++++++++++++++++++--------------------
 1 file changed, 46 insertions(+), 49 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 74038be72ad3..fdc6ad651d3f 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -3235,16 +3235,16 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 	}
 }
 
-static int
-add_inferred_modes(struct drm_connector *connector, const struct edid *edid)
+static int add_inferred_modes(struct drm_connector *connector,
+			      const struct drm_edid *drm_edid)
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = edid,
+		.edid = drm_edid->edid,
 	};
 
-	if (version_greater(edid, 1, 0))
-		drm_for_each_detailed_block(edid, do_inferred_modes, &closure);
+	if (version_greater(drm_edid->edid, 1, 0))
+		drm_for_each_detailed_block(drm_edid->edid, do_inferred_modes, &closure);
 
 	return closure.modes;
 }
@@ -3294,10 +3294,11 @@ do_established_modes(const struct detailed_timing *timing, void *c)
  * bitmap of the supported "established modes" list (defined above). Tease them
  * out and add them to the global modes list.
  */
-static int
-add_established_modes(struct drm_connector *connector, const struct edid *edid)
+static int add_established_modes(struct drm_connector *connector,
+				 const struct drm_edid *drm_edid)
 {
 	struct drm_device *dev = connector->dev;
+	const struct edid *edid = drm_edid->edid;
 	unsigned long est_bits = edid->established_timings.t1 |
 		(edid->established_timings.t2 << 8) |
 		((edid->established_timings.mfg_rsvd & 0x80) << 9);
@@ -3320,7 +3321,7 @@ add_established_modes(struct drm_connector *connector, const struct edid *edid)
 	}
 
 	if (version_greater(edid, 1, 0))
-		drm_for_each_detailed_block(edid, do_established_modes,
+		drm_for_each_detailed_block(drm_edid->edid, do_established_modes,
 					    &closure);
 
 	return modes + closure.modes;
@@ -3355,28 +3356,28 @@ do_standard_modes(const struct detailed_timing *timing, void *c)
  * using the appropriate standard (DMT, GTF, or CVT). Grab them from EDID and
  * add them to the list.
  */
-static int
-add_standard_modes(struct drm_connector *connector, const struct edid *edid)
+static int add_standard_modes(struct drm_connector *connector,
+			      const struct drm_edid *drm_edid)
 {
 	int i, modes = 0;
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = edid,
+		.edid = drm_edid->edid,
 	};
 
 	for (i = 0; i < EDID_STD_TIMINGS; i++) {
 		struct drm_display_mode *newmode;
 
-		newmode = drm_mode_std(connector, edid,
-				       &edid->standard_timings[i]);
+		newmode = drm_mode_std(connector, drm_edid->edid,
+				       &drm_edid->edid->standard_timings[i]);
 		if (newmode) {
 			drm_mode_probed_add(connector, newmode);
 			modes++;
 		}
 	}
 
-	if (version_greater(edid, 1, 0))
-		drm_for_each_detailed_block(edid, do_standard_modes,
+	if (version_greater(drm_edid->edid, 1, 0))
+		drm_for_each_detailed_block(drm_edid->edid, do_standard_modes,
 					    &closure);
 
 	/* XXX should also look for standard codes in VTB blocks */
@@ -3448,15 +3449,15 @@ do_cvt_mode(const struct detailed_timing *timing, void *c)
 }
 
 static int
-add_cvt_modes(struct drm_connector *connector, const struct edid *edid)
+add_cvt_modes(struct drm_connector *connector, const struct drm_edid *drm_edid)
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = edid,
+		.edid = drm_edid->edid,
 	};
 
-	if (version_greater(edid, 1, 2))
-		drm_for_each_detailed_block(edid, do_cvt_mode, &closure);
+	if (version_greater(drm_edid->edid, 1, 2))
+		drm_for_each_detailed_block(drm_edid->edid, do_cvt_mode, &closure);
 
 	/* XXX should also look for CVT codes in VTB blocks */
 
@@ -3501,22 +3502,21 @@ do_detailed_mode(const struct detailed_timing *timing, void *c)
  * @edid: EDID block to scan
  * @quirks: quirks to apply
  */
-static int
-add_detailed_modes(struct drm_connector *connector, const struct edid *edid,
-		   u32 quirks)
+static int add_detailed_modes(struct drm_connector *connector,
+			      const struct drm_edid *drm_edid, u32 quirks)
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = edid,
+		.edid = drm_edid->edid,
 		.preferred = true,
 		.quirks = quirks,
 	};
 
-	if (closure.preferred && !version_greater(edid, 1, 3))
+	if (closure.preferred && !version_greater(drm_edid->edid, 1, 3))
 		closure.preferred =
-		    (edid->features & DRM_EDID_FEATURE_PREFERRED_TIMING);
+		    (drm_edid->edid->features & DRM_EDID_FEATURE_PREFERRED_TIMING);
 
-	drm_for_each_detailed_block(edid, do_detailed_mode, &closure);
+	drm_for_each_detailed_block(drm_edid->edid, do_detailed_mode, &closure);
 
 	return closure.modes;
 }
@@ -3570,7 +3570,7 @@ const u8 *drm_find_edid_extension(const struct edid *edid,
 }
 
 /* Return true if the EDID has a CTA extension or a DisplayID CTA data block */
-static bool drm_edid_has_cta_extension(const struct edid *edid)
+static bool drm_edid_has_cta_extension(const struct drm_edid *drm_edid)
 {
 	const struct displayid_block *block;
 	struct displayid_iter iter;
@@ -3578,11 +3578,11 @@ static bool drm_edid_has_cta_extension(const struct edid *edid)
 	bool found = false;
 
 	/* Look for a top level CEA extension block */
-	if (drm_find_edid_extension(edid, CEA_EXT, &ext_index))
+	if (drm_find_edid_extension(drm_edid->edid, CEA_EXT, &ext_index))
 		return true;
 
 	/* CEA blocks can also be found embedded in a DisplayID block */
-	displayid_iter_edid_begin(edid, &iter);
+	displayid_iter_edid_begin(drm_edid->edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_CTA) {
 			found = true;
@@ -3856,8 +3856,8 @@ static bool drm_valid_hdmi_vic(u8 vic)
 	return vic > 0 && vic < ARRAY_SIZE(edid_4k_modes);
 }
 
-static int
-add_alternate_cea_modes(struct drm_connector *connector, const struct edid *edid)
+static int add_alternate_cea_modes(struct drm_connector *connector,
+				   const struct drm_edid *drm_edid)
 {
 	struct drm_device *dev = connector->dev;
 	struct drm_display_mode *mode, *tmp;
@@ -3865,7 +3865,7 @@ add_alternate_cea_modes(struct drm_connector *connector, const struct edid *edid
 	int modes = 0;
 
 	/* Don't add CTA modes if the CTA extension block is missing */
-	if (!drm_edid_has_cta_extension(edid))
+	if (!drm_edid_has_cta_extension(drm_edid))
 		return 0;
 
 	/*
@@ -4648,14 +4648,14 @@ static void drm_parse_y420cmdb_bitmap(struct drm_connector *connector,
 	hdmi->y420_cmdb_map = map;
 }
 
-static int
-add_cea_modes(struct drm_connector *connector, const struct edid *edid)
+static int add_cea_modes(struct drm_connector *connector,
+			 const struct drm_edid *drm_edid)
 {
 	const struct cea_db *db;
 	struct cea_db_iter iter;
 	int modes = 0;
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		const u8 *hdmi = NULL, *video = NULL;
 		u8 hdmi_len = 0, video_len = 0;
@@ -5808,13 +5808,13 @@ static int add_displayid_detailed_1_modes(struct drm_connector *connector,
 }
 
 static int add_displayid_detailed_modes(struct drm_connector *connector,
-					const struct edid *edid)
+					const struct drm_edid *drm_edid)
 {
 	const struct displayid_block *block;
 	struct displayid_iter iter;
 	int num_modes = 0;
 
-	displayid_iter_edid_begin(edid, &iter);
+	displayid_iter_edid_begin(drm_edid->edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_TYPE_1_DETAILED_TIMING ||
 		    block->tag == DATA_BLOCK_2_TYPE_7_DETAILED_TIMING)
@@ -5828,7 +5828,6 @@ static int add_displayid_detailed_modes(struct drm_connector *connector,
 static int drm_edid_connector_update(struct drm_connector *connector,
 				     const struct drm_edid *drm_edid)
 {
-	const struct edid *edid;
 	int num_modes = 0;
 	u32 quirks;
 
@@ -5838,8 +5837,6 @@ static int drm_edid_connector_update(struct drm_connector *connector,
 		return 0;
 	}
 
-	edid = drm_edid->edid;
-
 	/*
 	 * CEA-861-F adds ycbcr capability map block, for HDMI 2.0 sinks.
 	 * To avoid multiple parsing of same block, lets parse that map
@@ -5864,15 +5861,15 @@ static int drm_edid_connector_update(struct drm_connector *connector,
 	 *
 	 * XXX order for additional mode types in extension blocks?
 	 */
-	num_modes += add_detailed_modes(connector, edid, quirks);
-	num_modes += add_cvt_modes(connector, edid);
-	num_modes += add_standard_modes(connector, edid);
-	num_modes += add_established_modes(connector, edid);
-	num_modes += add_cea_modes(connector, edid);
-	num_modes += add_alternate_cea_modes(connector, edid);
-	num_modes += add_displayid_detailed_modes(connector, edid);
-	if (edid->features & DRM_EDID_FEATURE_DEFAULT_GTF)
-		num_modes += add_inferred_modes(connector, edid);
+	num_modes += add_detailed_modes(connector, drm_edid, quirks);
+	num_modes += add_cvt_modes(connector, drm_edid);
+	num_modes += add_standard_modes(connector, drm_edid);
+	num_modes += add_established_modes(connector, drm_edid);
+	num_modes += add_cea_modes(connector, drm_edid);
+	num_modes += add_alternate_cea_modes(connector, drm_edid);
+	num_modes += add_displayid_detailed_modes(connector, drm_edid);
+	if (drm_edid->edid->features & DRM_EDID_FEATURE_DEFAULT_GTF)
+		num_modes += add_inferred_modes(connector, drm_edid);
 
 	if (quirks & (EDID_QUIRK_PREFER_LARGE_60 | EDID_QUIRK_PREFER_LARGE_75))
 		edid_fixup_preferred(connector, quirks);
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 07/25] drm/edid: convert drm_edid_connector_update() to drm_edid fully
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 95 ++++++++++++++++++--------------------
 1 file changed, 46 insertions(+), 49 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 74038be72ad3..fdc6ad651d3f 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -3235,16 +3235,16 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 	}
 }
 
-static int
-add_inferred_modes(struct drm_connector *connector, const struct edid *edid)
+static int add_inferred_modes(struct drm_connector *connector,
+			      const struct drm_edid *drm_edid)
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = edid,
+		.edid = drm_edid->edid,
 	};
 
-	if (version_greater(edid, 1, 0))
-		drm_for_each_detailed_block(edid, do_inferred_modes, &closure);
+	if (version_greater(drm_edid->edid, 1, 0))
+		drm_for_each_detailed_block(drm_edid->edid, do_inferred_modes, &closure);
 
 	return closure.modes;
 }
@@ -3294,10 +3294,11 @@ do_established_modes(const struct detailed_timing *timing, void *c)
  * bitmap of the supported "established modes" list (defined above). Tease them
  * out and add them to the global modes list.
  */
-static int
-add_established_modes(struct drm_connector *connector, const struct edid *edid)
+static int add_established_modes(struct drm_connector *connector,
+				 const struct drm_edid *drm_edid)
 {
 	struct drm_device *dev = connector->dev;
+	const struct edid *edid = drm_edid->edid;
 	unsigned long est_bits = edid->established_timings.t1 |
 		(edid->established_timings.t2 << 8) |
 		((edid->established_timings.mfg_rsvd & 0x80) << 9);
@@ -3320,7 +3321,7 @@ add_established_modes(struct drm_connector *connector, const struct edid *edid)
 	}
 
 	if (version_greater(edid, 1, 0))
-		drm_for_each_detailed_block(edid, do_established_modes,
+		drm_for_each_detailed_block(drm_edid->edid, do_established_modes,
 					    &closure);
 
 	return modes + closure.modes;
@@ -3355,28 +3356,28 @@ do_standard_modes(const struct detailed_timing *timing, void *c)
  * using the appropriate standard (DMT, GTF, or CVT). Grab them from EDID and
  * add them to the list.
  */
-static int
-add_standard_modes(struct drm_connector *connector, const struct edid *edid)
+static int add_standard_modes(struct drm_connector *connector,
+			      const struct drm_edid *drm_edid)
 {
 	int i, modes = 0;
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = edid,
+		.edid = drm_edid->edid,
 	};
 
 	for (i = 0; i < EDID_STD_TIMINGS; i++) {
 		struct drm_display_mode *newmode;
 
-		newmode = drm_mode_std(connector, edid,
-				       &edid->standard_timings[i]);
+		newmode = drm_mode_std(connector, drm_edid->edid,
+				       &drm_edid->edid->standard_timings[i]);
 		if (newmode) {
 			drm_mode_probed_add(connector, newmode);
 			modes++;
 		}
 	}
 
-	if (version_greater(edid, 1, 0))
-		drm_for_each_detailed_block(edid, do_standard_modes,
+	if (version_greater(drm_edid->edid, 1, 0))
+		drm_for_each_detailed_block(drm_edid->edid, do_standard_modes,
 					    &closure);
 
 	/* XXX should also look for standard codes in VTB blocks */
@@ -3448,15 +3449,15 @@ do_cvt_mode(const struct detailed_timing *timing, void *c)
 }
 
 static int
-add_cvt_modes(struct drm_connector *connector, const struct edid *edid)
+add_cvt_modes(struct drm_connector *connector, const struct drm_edid *drm_edid)
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = edid,
+		.edid = drm_edid->edid,
 	};
 
-	if (version_greater(edid, 1, 2))
-		drm_for_each_detailed_block(edid, do_cvt_mode, &closure);
+	if (version_greater(drm_edid->edid, 1, 2))
+		drm_for_each_detailed_block(drm_edid->edid, do_cvt_mode, &closure);
 
 	/* XXX should also look for CVT codes in VTB blocks */
 
@@ -3501,22 +3502,21 @@ do_detailed_mode(const struct detailed_timing *timing, void *c)
  * @edid: EDID block to scan
  * @quirks: quirks to apply
  */
-static int
-add_detailed_modes(struct drm_connector *connector, const struct edid *edid,
-		   u32 quirks)
+static int add_detailed_modes(struct drm_connector *connector,
+			      const struct drm_edid *drm_edid, u32 quirks)
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = edid,
+		.edid = drm_edid->edid,
 		.preferred = true,
 		.quirks = quirks,
 	};
 
-	if (closure.preferred && !version_greater(edid, 1, 3))
+	if (closure.preferred && !version_greater(drm_edid->edid, 1, 3))
 		closure.preferred =
-		    (edid->features & DRM_EDID_FEATURE_PREFERRED_TIMING);
+		    (drm_edid->edid->features & DRM_EDID_FEATURE_PREFERRED_TIMING);
 
-	drm_for_each_detailed_block(edid, do_detailed_mode, &closure);
+	drm_for_each_detailed_block(drm_edid->edid, do_detailed_mode, &closure);
 
 	return closure.modes;
 }
@@ -3570,7 +3570,7 @@ const u8 *drm_find_edid_extension(const struct edid *edid,
 }
 
 /* Return true if the EDID has a CTA extension or a DisplayID CTA data block */
-static bool drm_edid_has_cta_extension(const struct edid *edid)
+static bool drm_edid_has_cta_extension(const struct drm_edid *drm_edid)
 {
 	const struct displayid_block *block;
 	struct displayid_iter iter;
@@ -3578,11 +3578,11 @@ static bool drm_edid_has_cta_extension(const struct edid *edid)
 	bool found = false;
 
 	/* Look for a top level CEA extension block */
-	if (drm_find_edid_extension(edid, CEA_EXT, &ext_index))
+	if (drm_find_edid_extension(drm_edid->edid, CEA_EXT, &ext_index))
 		return true;
 
 	/* CEA blocks can also be found embedded in a DisplayID block */
-	displayid_iter_edid_begin(edid, &iter);
+	displayid_iter_edid_begin(drm_edid->edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_CTA) {
 			found = true;
@@ -3856,8 +3856,8 @@ static bool drm_valid_hdmi_vic(u8 vic)
 	return vic > 0 && vic < ARRAY_SIZE(edid_4k_modes);
 }
 
-static int
-add_alternate_cea_modes(struct drm_connector *connector, const struct edid *edid)
+static int add_alternate_cea_modes(struct drm_connector *connector,
+				   const struct drm_edid *drm_edid)
 {
 	struct drm_device *dev = connector->dev;
 	struct drm_display_mode *mode, *tmp;
@@ -3865,7 +3865,7 @@ add_alternate_cea_modes(struct drm_connector *connector, const struct edid *edid
 	int modes = 0;
 
 	/* Don't add CTA modes if the CTA extension block is missing */
-	if (!drm_edid_has_cta_extension(edid))
+	if (!drm_edid_has_cta_extension(drm_edid))
 		return 0;
 
 	/*
@@ -4648,14 +4648,14 @@ static void drm_parse_y420cmdb_bitmap(struct drm_connector *connector,
 	hdmi->y420_cmdb_map = map;
 }
 
-static int
-add_cea_modes(struct drm_connector *connector, const struct edid *edid)
+static int add_cea_modes(struct drm_connector *connector,
+			 const struct drm_edid *drm_edid)
 {
 	const struct cea_db *db;
 	struct cea_db_iter iter;
 	int modes = 0;
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		const u8 *hdmi = NULL, *video = NULL;
 		u8 hdmi_len = 0, video_len = 0;
@@ -5808,13 +5808,13 @@ static int add_displayid_detailed_1_modes(struct drm_connector *connector,
 }
 
 static int add_displayid_detailed_modes(struct drm_connector *connector,
-					const struct edid *edid)
+					const struct drm_edid *drm_edid)
 {
 	const struct displayid_block *block;
 	struct displayid_iter iter;
 	int num_modes = 0;
 
-	displayid_iter_edid_begin(edid, &iter);
+	displayid_iter_edid_begin(drm_edid->edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_TYPE_1_DETAILED_TIMING ||
 		    block->tag == DATA_BLOCK_2_TYPE_7_DETAILED_TIMING)
@@ -5828,7 +5828,6 @@ static int add_displayid_detailed_modes(struct drm_connector *connector,
 static int drm_edid_connector_update(struct drm_connector *connector,
 				     const struct drm_edid *drm_edid)
 {
-	const struct edid *edid;
 	int num_modes = 0;
 	u32 quirks;
 
@@ -5838,8 +5837,6 @@ static int drm_edid_connector_update(struct drm_connector *connector,
 		return 0;
 	}
 
-	edid = drm_edid->edid;
-
 	/*
 	 * CEA-861-F adds ycbcr capability map block, for HDMI 2.0 sinks.
 	 * To avoid multiple parsing of same block, lets parse that map
@@ -5864,15 +5861,15 @@ static int drm_edid_connector_update(struct drm_connector *connector,
 	 *
 	 * XXX order for additional mode types in extension blocks?
 	 */
-	num_modes += add_detailed_modes(connector, edid, quirks);
-	num_modes += add_cvt_modes(connector, edid);
-	num_modes += add_standard_modes(connector, edid);
-	num_modes += add_established_modes(connector, edid);
-	num_modes += add_cea_modes(connector, edid);
-	num_modes += add_alternate_cea_modes(connector, edid);
-	num_modes += add_displayid_detailed_modes(connector, edid);
-	if (edid->features & DRM_EDID_FEATURE_DEFAULT_GTF)
-		num_modes += add_inferred_modes(connector, edid);
+	num_modes += add_detailed_modes(connector, drm_edid, quirks);
+	num_modes += add_cvt_modes(connector, drm_edid);
+	num_modes += add_standard_modes(connector, drm_edid);
+	num_modes += add_established_modes(connector, drm_edid);
+	num_modes += add_cea_modes(connector, drm_edid);
+	num_modes += add_alternate_cea_modes(connector, drm_edid);
+	num_modes += add_displayid_detailed_modes(connector, drm_edid);
+	if (drm_edid->edid->features & DRM_EDID_FEATURE_DEFAULT_GTF)
+		num_modes += add_inferred_modes(connector, drm_edid);
 
 	if (quirks & (EDID_QUIRK_PREFER_LARGE_60 | EDID_QUIRK_PREFER_LARGE_75))
 		edid_fixup_preferred(connector, quirks);
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 08/25] drm/edid: convert struct detailed_mode_closure to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index fdc6ad651d3f..1abdd88ff64b 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -96,7 +96,7 @@ static int oui(u8 first, u8 second, u8 third)
 
 struct detailed_mode_closure {
 	struct drm_connector *connector;
-	const struct edid *edid;
+	const struct drm_edid *drm_edid;
 	bool preferred;
 	u32 quirks;
 	int modes;
@@ -3208,25 +3208,25 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 		return;
 
 	closure->modes += drm_dmt_modes_for_range(closure->connector,
-						  closure->edid,
+						  closure->drm_edid->edid,
 						  timing);
 
-	if (!version_greater(closure->edid, 1, 1))
+	if (!version_greater(closure->drm_edid->edid, 1, 1))
 		return; /* GTF not defined yet */
 
 	switch (range->flags) {
 	case 0x02: /* secondary gtf, XXX could do more */
 	case 0x00: /* default gtf */
 		closure->modes += drm_gtf_modes_for_range(closure->connector,
-							  closure->edid,
+							  closure->drm_edid->edid,
 							  timing);
 		break;
 	case 0x04: /* cvt, only in 1.4+ */
-		if (!version_greater(closure->edid, 1, 3))
+		if (!version_greater(closure->drm_edid->edid, 1, 3))
 			break;
 
 		closure->modes += drm_cvt_modes_for_range(closure->connector,
-							  closure->edid,
+							  closure->drm_edid->edid,
 							  timing);
 		break;
 	case 0x01: /* just the ranges, no formula */
@@ -3240,7 +3240,7 @@ static int add_inferred_modes(struct drm_connector *connector,
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = drm_edid->edid,
+		.drm_edid = drm_edid,
 	};
 
 	if (version_greater(drm_edid->edid, 1, 0))
@@ -3305,7 +3305,7 @@ static int add_established_modes(struct drm_connector *connector,
 	int i, modes = 0;
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = edid,
+		.drm_edid = drm_edid,
 	};
 
 	for (i = 0; i <= EDID_EST_TIMINGS; i++) {
@@ -3333,7 +3333,6 @@ do_standard_modes(const struct detailed_timing *timing, void *c)
 	struct detailed_mode_closure *closure = c;
 	const struct detailed_non_pixel *data = &timing->data.other_data;
 	struct drm_connector *connector = closure->connector;
-	const struct edid *edid = closure->edid;
 	int i;
 
 	if (!is_display_descriptor(timing, EDID_DETAIL_STD_MODES))
@@ -3343,7 +3342,7 @@ do_standard_modes(const struct detailed_timing *timing, void *c)
 		const struct std_timing *std = &data->data.timings[i];
 		struct drm_display_mode *newmode;
 
-		newmode = drm_mode_std(connector, edid, std);
+		newmode = drm_mode_std(connector, closure->drm_edid->edid, std);
 		if (newmode) {
 			drm_mode_probed_add(connector, newmode);
 			closure->modes++;
@@ -3362,7 +3361,7 @@ static int add_standard_modes(struct drm_connector *connector,
 	int i, modes = 0;
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = drm_edid->edid,
+		.drm_edid = drm_edid,
 	};
 
 	for (i = 0; i < EDID_STD_TIMINGS; i++) {
@@ -3453,7 +3452,7 @@ add_cvt_modes(struct drm_connector *connector, const struct drm_edid *drm_edid)
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = drm_edid->edid,
+		.drm_edid = drm_edid,
 	};
 
 	if (version_greater(drm_edid->edid, 1, 2))
@@ -3476,7 +3475,7 @@ do_detailed_mode(const struct detailed_timing *timing, void *c)
 		return;
 
 	newmode = drm_mode_detailed(closure->connector->dev,
-				    closure->edid, timing,
+				    closure->drm_edid->edid, timing,
 				    closure->quirks);
 	if (!newmode)
 		return;
@@ -3507,7 +3506,7 @@ static int add_detailed_modes(struct drm_connector *connector,
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = drm_edid->edid,
+		.drm_edid = drm_edid,
 		.preferred = true,
 		.quirks = quirks,
 	};
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 08/25] drm/edid: convert struct detailed_mode_closure to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index fdc6ad651d3f..1abdd88ff64b 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -96,7 +96,7 @@ static int oui(u8 first, u8 second, u8 third)
 
 struct detailed_mode_closure {
 	struct drm_connector *connector;
-	const struct edid *edid;
+	const struct drm_edid *drm_edid;
 	bool preferred;
 	u32 quirks;
 	int modes;
@@ -3208,25 +3208,25 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 		return;
 
 	closure->modes += drm_dmt_modes_for_range(closure->connector,
-						  closure->edid,
+						  closure->drm_edid->edid,
 						  timing);
 
-	if (!version_greater(closure->edid, 1, 1))
+	if (!version_greater(closure->drm_edid->edid, 1, 1))
 		return; /* GTF not defined yet */
 
 	switch (range->flags) {
 	case 0x02: /* secondary gtf, XXX could do more */
 	case 0x00: /* default gtf */
 		closure->modes += drm_gtf_modes_for_range(closure->connector,
-							  closure->edid,
+							  closure->drm_edid->edid,
 							  timing);
 		break;
 	case 0x04: /* cvt, only in 1.4+ */
-		if (!version_greater(closure->edid, 1, 3))
+		if (!version_greater(closure->drm_edid->edid, 1, 3))
 			break;
 
 		closure->modes += drm_cvt_modes_for_range(closure->connector,
-							  closure->edid,
+							  closure->drm_edid->edid,
 							  timing);
 		break;
 	case 0x01: /* just the ranges, no formula */
@@ -3240,7 +3240,7 @@ static int add_inferred_modes(struct drm_connector *connector,
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = drm_edid->edid,
+		.drm_edid = drm_edid,
 	};
 
 	if (version_greater(drm_edid->edid, 1, 0))
@@ -3305,7 +3305,7 @@ static int add_established_modes(struct drm_connector *connector,
 	int i, modes = 0;
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = edid,
+		.drm_edid = drm_edid,
 	};
 
 	for (i = 0; i <= EDID_EST_TIMINGS; i++) {
@@ -3333,7 +3333,6 @@ do_standard_modes(const struct detailed_timing *timing, void *c)
 	struct detailed_mode_closure *closure = c;
 	const struct detailed_non_pixel *data = &timing->data.other_data;
 	struct drm_connector *connector = closure->connector;
-	const struct edid *edid = closure->edid;
 	int i;
 
 	if (!is_display_descriptor(timing, EDID_DETAIL_STD_MODES))
@@ -3343,7 +3342,7 @@ do_standard_modes(const struct detailed_timing *timing, void *c)
 		const struct std_timing *std = &data->data.timings[i];
 		struct drm_display_mode *newmode;
 
-		newmode = drm_mode_std(connector, edid, std);
+		newmode = drm_mode_std(connector, closure->drm_edid->edid, std);
 		if (newmode) {
 			drm_mode_probed_add(connector, newmode);
 			closure->modes++;
@@ -3362,7 +3361,7 @@ static int add_standard_modes(struct drm_connector *connector,
 	int i, modes = 0;
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = drm_edid->edid,
+		.drm_edid = drm_edid,
 	};
 
 	for (i = 0; i < EDID_STD_TIMINGS; i++) {
@@ -3453,7 +3452,7 @@ add_cvt_modes(struct drm_connector *connector, const struct drm_edid *drm_edid)
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = drm_edid->edid,
+		.drm_edid = drm_edid,
 	};
 
 	if (version_greater(drm_edid->edid, 1, 2))
@@ -3476,7 +3475,7 @@ do_detailed_mode(const struct detailed_timing *timing, void *c)
 		return;
 
 	newmode = drm_mode_detailed(closure->connector->dev,
-				    closure->edid, timing,
+				    closure->drm_edid->edid, timing,
 				    closure->quirks);
 	if (!newmode)
 		return;
@@ -3507,7 +3506,7 @@ static int add_detailed_modes(struct drm_connector *connector,
 {
 	struct detailed_mode_closure closure = {
 		.connector = connector,
-		.edid = drm_edid->edid,
+		.drm_edid = drm_edid,
 		.preferred = true,
 		.quirks = quirks,
 	};
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 09/25] drm/edid: convert drm_mode_detailed() to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 1abdd88ff64b..b5d7347f32d9 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2910,7 +2910,7 @@ drm_mode_do_interlace_quirk(struct drm_display_mode *mode,
  * drm_display_mode.
  */
 static struct drm_display_mode *drm_mode_detailed(struct drm_device *dev,
-						  const struct edid *edid,
+						  const struct drm_edid *drm_edid,
 						  const struct detailed_timing *timing,
 						  u32 quirks)
 {
@@ -2998,8 +2998,8 @@ static struct drm_display_mode *drm_mode_detailed(struct drm_device *dev,
 	}
 
 	if (quirks & EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE) {
-		mode->width_mm = edid->width_cm * 10;
-		mode->height_mm = edid->height_cm * 10;
+		mode->width_mm = drm_edid->edid->width_cm * 10;
+		mode->height_mm = drm_edid->edid->height_cm * 10;
 	}
 
 	mode->type = DRM_MODE_TYPE_DRIVER;
@@ -3475,7 +3475,7 @@ do_detailed_mode(const struct detailed_timing *timing, void *c)
 		return;
 
 	newmode = drm_mode_detailed(closure->connector->dev,
-				    closure->drm_edid->edid, timing,
+				    closure->drm_edid, timing,
 				    closure->quirks);
 	if (!newmode)
 		return;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 09/25] drm/edid: convert drm_mode_detailed() to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 1abdd88ff64b..b5d7347f32d9 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2910,7 +2910,7 @@ drm_mode_do_interlace_quirk(struct drm_display_mode *mode,
  * drm_display_mode.
  */
 static struct drm_display_mode *drm_mode_detailed(struct drm_device *dev,
-						  const struct edid *edid,
+						  const struct drm_edid *drm_edid,
 						  const struct detailed_timing *timing,
 						  u32 quirks)
 {
@@ -2998,8 +2998,8 @@ static struct drm_display_mode *drm_mode_detailed(struct drm_device *dev,
 	}
 
 	if (quirks & EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE) {
-		mode->width_mm = edid->width_cm * 10;
-		mode->height_mm = edid->height_cm * 10;
+		mode->width_mm = drm_edid->edid->width_cm * 10;
+		mode->height_mm = drm_edid->edid->height_cm * 10;
 	}
 
 	mode->type = DRM_MODE_TYPE_DRIVER;
@@ -3475,7 +3475,7 @@ do_detailed_mode(const struct detailed_timing *timing, void *c)
 		return;
 
 	newmode = drm_mode_detailed(closure->connector->dev,
-				    closure->drm_edid->edid, timing,
+				    closure->drm_edid, timing,
 				    closure->quirks);
 	if (!newmode)
 		return;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 10/25] drm/edid: convert drm_dmt_modes_for_range() to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index b5d7347f32d9..88bb6c7ac97c 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -3103,16 +3103,16 @@ static bool valid_inferred_mode(const struct drm_connector *connector,
 	return ok;
 }
 
-static int
-drm_dmt_modes_for_range(struct drm_connector *connector, const struct edid *edid,
-			const struct detailed_timing *timing)
+static int drm_dmt_modes_for_range(struct drm_connector *connector,
+				   const struct drm_edid *drm_edid,
+				   const struct detailed_timing *timing)
 {
 	int i, modes = 0;
 	struct drm_display_mode *newmode;
 	struct drm_device *dev = connector->dev;
 
 	for (i = 0; i < ARRAY_SIZE(drm_dmt_modes); i++) {
-		if (mode_in_range(drm_dmt_modes + i, edid, timing) &&
+		if (mode_in_range(drm_dmt_modes + i, drm_edid->edid, timing) &&
 		    valid_inferred_mode(connector, drm_dmt_modes + i)) {
 			newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]);
 			if (newmode) {
@@ -3208,7 +3208,7 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 		return;
 
 	closure->modes += drm_dmt_modes_for_range(closure->connector,
-						  closure->drm_edid->edid,
+						  closure->drm_edid,
 						  timing);
 
 	if (!version_greater(closure->drm_edid->edid, 1, 1))
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 10/25] drm/edid: convert drm_dmt_modes_for_range() to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index b5d7347f32d9..88bb6c7ac97c 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -3103,16 +3103,16 @@ static bool valid_inferred_mode(const struct drm_connector *connector,
 	return ok;
 }
 
-static int
-drm_dmt_modes_for_range(struct drm_connector *connector, const struct edid *edid,
-			const struct detailed_timing *timing)
+static int drm_dmt_modes_for_range(struct drm_connector *connector,
+				   const struct drm_edid *drm_edid,
+				   const struct detailed_timing *timing)
 {
 	int i, modes = 0;
 	struct drm_display_mode *newmode;
 	struct drm_device *dev = connector->dev;
 
 	for (i = 0; i < ARRAY_SIZE(drm_dmt_modes); i++) {
-		if (mode_in_range(drm_dmt_modes + i, edid, timing) &&
+		if (mode_in_range(drm_dmt_modes + i, drm_edid->edid, timing) &&
 		    valid_inferred_mode(connector, drm_dmt_modes + i)) {
 			newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]);
 			if (newmode) {
@@ -3208,7 +3208,7 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 		return;
 
 	closure->modes += drm_dmt_modes_for_range(closure->connector,
-						  closure->drm_edid->edid,
+						  closure->drm_edid,
 						  timing);
 
 	if (!version_greater(closure->drm_edid->edid, 1, 1))
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 11/25] drm/edid: convert drm_gtf_modes_for_range() to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 88bb6c7ac97c..3931c3318cf7 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -3138,9 +3138,9 @@ void drm_mode_fixup_1366x768(struct drm_display_mode *mode)
 	}
 }
 
-static int
-drm_gtf_modes_for_range(struct drm_connector *connector, const struct edid *edid,
-			const struct detailed_timing *timing)
+static int drm_gtf_modes_for_range(struct drm_connector *connector,
+				   const struct drm_edid *drm_edid,
+				   const struct detailed_timing *timing)
 {
 	int i, modes = 0;
 	struct drm_display_mode *newmode;
@@ -3154,7 +3154,7 @@ drm_gtf_modes_for_range(struct drm_connector *connector, const struct edid *edid
 			return modes;
 
 		drm_mode_fixup_1366x768(newmode);
-		if (!mode_in_range(newmode, edid, timing) ||
+		if (!mode_in_range(newmode, drm_edid->edid, timing) ||
 		    !valid_inferred_mode(connector, newmode)) {
 			drm_mode_destroy(dev, newmode);
 			continue;
@@ -3218,7 +3218,7 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 	case 0x02: /* secondary gtf, XXX could do more */
 	case 0x00: /* default gtf */
 		closure->modes += drm_gtf_modes_for_range(closure->connector,
-							  closure->drm_edid->edid,
+							  closure->drm_edid,
 							  timing);
 		break;
 	case 0x04: /* cvt, only in 1.4+ */
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 11/25] drm/edid: convert drm_gtf_modes_for_range() to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 88bb6c7ac97c..3931c3318cf7 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -3138,9 +3138,9 @@ void drm_mode_fixup_1366x768(struct drm_display_mode *mode)
 	}
 }
 
-static int
-drm_gtf_modes_for_range(struct drm_connector *connector, const struct edid *edid,
-			const struct detailed_timing *timing)
+static int drm_gtf_modes_for_range(struct drm_connector *connector,
+				   const struct drm_edid *drm_edid,
+				   const struct detailed_timing *timing)
 {
 	int i, modes = 0;
 	struct drm_display_mode *newmode;
@@ -3154,7 +3154,7 @@ drm_gtf_modes_for_range(struct drm_connector *connector, const struct edid *edid
 			return modes;
 
 		drm_mode_fixup_1366x768(newmode);
-		if (!mode_in_range(newmode, edid, timing) ||
+		if (!mode_in_range(newmode, drm_edid->edid, timing) ||
 		    !valid_inferred_mode(connector, newmode)) {
 			drm_mode_destroy(dev, newmode);
 			continue;
@@ -3218,7 +3218,7 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 	case 0x02: /* secondary gtf, XXX could do more */
 	case 0x00: /* default gtf */
 		closure->modes += drm_gtf_modes_for_range(closure->connector,
-							  closure->drm_edid->edid,
+							  closure->drm_edid,
 							  timing);
 		break;
 	case 0x04: /* cvt, only in 1.4+ */
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 12/25] drm/edid: convert drm_cvt_modes_for_range() to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 3931c3318cf7..27655da6ef9c 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -3167,14 +3167,14 @@ static int drm_gtf_modes_for_range(struct drm_connector *connector,
 	return modes;
 }
 
-static int
-drm_cvt_modes_for_range(struct drm_connector *connector, const struct edid *edid,
-			const struct detailed_timing *timing)
+static int drm_cvt_modes_for_range(struct drm_connector *connector,
+				   const struct drm_edid *drm_edid,
+				   const struct detailed_timing *timing)
 {
 	int i, modes = 0;
 	struct drm_display_mode *newmode;
 	struct drm_device *dev = connector->dev;
-	bool rb = drm_monitor_supports_rb(edid);
+	bool rb = drm_monitor_supports_rb(drm_edid->edid);
 
 	for (i = 0; i < ARRAY_SIZE(extra_modes); i++) {
 		const struct minimode *m = &extra_modes[i];
@@ -3184,7 +3184,7 @@ drm_cvt_modes_for_range(struct drm_connector *connector, const struct edid *edid
 			return modes;
 
 		drm_mode_fixup_1366x768(newmode);
-		if (!mode_in_range(newmode, edid, timing) ||
+		if (!mode_in_range(newmode, drm_edid->edid, timing) ||
 		    !valid_inferred_mode(connector, newmode)) {
 			drm_mode_destroy(dev, newmode);
 			continue;
@@ -3226,7 +3226,7 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 			break;
 
 		closure->modes += drm_cvt_modes_for_range(closure->connector,
-							  closure->drm_edid->edid,
+							  closure->drm_edid,
 							  timing);
 		break;
 	case 0x01: /* just the ranges, no formula */
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 12/25] drm/edid: convert drm_cvt_modes_for_range() to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 3931c3318cf7..27655da6ef9c 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -3167,14 +3167,14 @@ static int drm_gtf_modes_for_range(struct drm_connector *connector,
 	return modes;
 }
 
-static int
-drm_cvt_modes_for_range(struct drm_connector *connector, const struct edid *edid,
-			const struct detailed_timing *timing)
+static int drm_cvt_modes_for_range(struct drm_connector *connector,
+				   const struct drm_edid *drm_edid,
+				   const struct detailed_timing *timing)
 {
 	int i, modes = 0;
 	struct drm_display_mode *newmode;
 	struct drm_device *dev = connector->dev;
-	bool rb = drm_monitor_supports_rb(edid);
+	bool rb = drm_monitor_supports_rb(drm_edid->edid);
 
 	for (i = 0; i < ARRAY_SIZE(extra_modes); i++) {
 		const struct minimode *m = &extra_modes[i];
@@ -3184,7 +3184,7 @@ drm_cvt_modes_for_range(struct drm_connector *connector, const struct edid *edid
 			return modes;
 
 		drm_mode_fixup_1366x768(newmode);
-		if (!mode_in_range(newmode, edid, timing) ||
+		if (!mode_in_range(newmode, drm_edid->edid, timing) ||
 		    !valid_inferred_mode(connector, newmode)) {
 			drm_mode_destroy(dev, newmode);
 			continue;
@@ -3226,7 +3226,7 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 			break;
 
 		closure->modes += drm_cvt_modes_for_range(closure->connector,
-							  closure->drm_edid->edid,
+							  closure->drm_edid,
 							  timing);
 		break;
 	case 0x01: /* just the ranges, no formula */
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 13/25] drm/edid: convert drm_mode_std() and children to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 52 ++++++++++++++++++++------------------
 1 file changed, 27 insertions(+), 25 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 27655da6ef9c..4b2d3453fc5c 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2655,11 +2655,11 @@ find_gtf2(const struct detailed_timing *descriptor, void *data)
 
 /* Secondary GTF curve kicks in above some break frequency */
 static int
-drm_gtf2_hbreak(const struct edid *edid)
+drm_gtf2_hbreak(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.hfreq_start_khz) != 12);
 
@@ -2667,11 +2667,11 @@ drm_gtf2_hbreak(const struct edid *edid)
 }
 
 static int
-drm_gtf2_2c(const struct edid *edid)
+drm_gtf2_2c(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.c) != 13);
 
@@ -2679,11 +2679,11 @@ drm_gtf2_2c(const struct edid *edid)
 }
 
 static int
-drm_gtf2_m(const struct edid *edid)
+drm_gtf2_m(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.m) != 14);
 
@@ -2691,11 +2691,11 @@ drm_gtf2_m(const struct edid *edid)
 }
 
 static int
-drm_gtf2_k(const struct edid *edid)
+drm_gtf2_k(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.k) != 16);
 
@@ -2703,11 +2703,11 @@ drm_gtf2_k(const struct edid *edid)
 }
 
 static int
-drm_gtf2_2j(const struct edid *edid)
+drm_gtf2_2j(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.j) != 17);
 
@@ -2715,12 +2715,14 @@ drm_gtf2_2j(const struct edid *edid)
 }
 
 /* Get standard timing level (CVT/GTF/DMT). */
-static int standard_timing_level(const struct edid *edid)
+static int standard_timing_level(const struct drm_edid *drm_edid)
 {
+	const struct edid *edid = drm_edid->edid;
+
 	if (edid->revision >= 2) {
 		if (edid->revision >= 4 && (edid->features & DRM_EDID_FEATURE_DEFAULT_GTF))
 			return LEVEL_CVT;
-		if (drm_gtf2_hbreak(edid))
+		if (drm_gtf2_hbreak(drm_edid))
 			return LEVEL_GTF2;
 		if (edid->features & DRM_EDID_FEATURE_DEFAULT_GTF)
 			return LEVEL_GTF;
@@ -2752,9 +2754,9 @@ static int drm_mode_hsync(const struct drm_display_mode *mode)
  * Take the standard timing params (in this case width, aspect, and refresh)
  * and convert them into a real mode using CVT/GTF/DMT.
  */
-static struct drm_display_mode *
-drm_mode_std(struct drm_connector *connector, const struct edid *edid,
-	     const struct std_timing *t)
+static struct drm_display_mode *drm_mode_std(struct drm_connector *connector,
+					     const struct drm_edid *drm_edid,
+					     const struct std_timing *t)
 {
 	struct drm_device *dev = connector->dev;
 	struct drm_display_mode *m, *mode = NULL;
@@ -2764,7 +2766,7 @@ drm_mode_std(struct drm_connector *connector, const struct edid *edid,
 		>> EDID_TIMING_ASPECT_SHIFT;
 	unsigned vfreq = (t->vfreq_aspect & EDID_TIMING_VFREQ_MASK)
 		>> EDID_TIMING_VFREQ_SHIFT;
-	int timing_level = standard_timing_level(edid);
+	int timing_level = standard_timing_level(drm_edid);
 
 	if (bad_std_timing(t->hsize, t->vfreq_aspect))
 		return NULL;
@@ -2775,7 +2777,7 @@ drm_mode_std(struct drm_connector *connector, const struct edid *edid,
 	vrefresh_rate = vfreq + 60;
 	/* the vdisplay is calculated based on the aspect ratio */
 	if (aspect_ratio == 0) {
-		if (edid->revision < 3)
+		if (drm_edid->edid->revision < 3)
 			vsize = hsize;
 		else
 			vsize = (hsize * 10) / 16;
@@ -2818,7 +2820,7 @@ drm_mode_std(struct drm_connector *connector, const struct edid *edid,
 	}
 
 	/* check whether it can be found in default mode table */
-	if (drm_monitor_supports_rb(edid)) {
+	if (drm_monitor_supports_rb(drm_edid->edid)) {
 		mode = drm_mode_find_dmt(dev, hsize, vsize, vrefresh_rate,
 					 true);
 		if (mode)
@@ -2844,14 +2846,14 @@ drm_mode_std(struct drm_connector *connector, const struct edid *edid,
 		mode = drm_gtf_mode(dev, hsize, vsize, vrefresh_rate, 0, 0);
 		if (!mode)
 			return NULL;
-		if (drm_mode_hsync(mode) > drm_gtf2_hbreak(edid)) {
+		if (drm_mode_hsync(mode) > drm_gtf2_hbreak(drm_edid)) {
 			drm_mode_destroy(dev, mode);
 			mode = drm_gtf_mode_complex(dev, hsize, vsize,
 						    vrefresh_rate, 0, 0,
-						    drm_gtf2_m(edid),
-						    drm_gtf2_2c(edid),
-						    drm_gtf2_k(edid),
-						    drm_gtf2_2j(edid));
+						    drm_gtf2_m(drm_edid),
+						    drm_gtf2_2c(drm_edid),
+						    drm_gtf2_k(drm_edid),
+						    drm_gtf2_2j(drm_edid));
 		}
 		break;
 	case LEVEL_CVT:
@@ -3342,7 +3344,7 @@ do_standard_modes(const struct detailed_timing *timing, void *c)
 		const struct std_timing *std = &data->data.timings[i];
 		struct drm_display_mode *newmode;
 
-		newmode = drm_mode_std(connector, closure->drm_edid->edid, std);
+		newmode = drm_mode_std(connector, closure->drm_edid, std);
 		if (newmode) {
 			drm_mode_probed_add(connector, newmode);
 			closure->modes++;
@@ -3367,7 +3369,7 @@ static int add_standard_modes(struct drm_connector *connector,
 	for (i = 0; i < EDID_STD_TIMINGS; i++) {
 		struct drm_display_mode *newmode;
 
-		newmode = drm_mode_std(connector, drm_edid->edid,
+		newmode = drm_mode_std(connector, drm_edid,
 				       &drm_edid->edid->standard_timings[i]);
 		if (newmode) {
 			drm_mode_probed_add(connector, newmode);
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 13/25] drm/edid: convert drm_mode_std() and children to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 52 ++++++++++++++++++++------------------
 1 file changed, 27 insertions(+), 25 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 27655da6ef9c..4b2d3453fc5c 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2655,11 +2655,11 @@ find_gtf2(const struct detailed_timing *descriptor, void *data)
 
 /* Secondary GTF curve kicks in above some break frequency */
 static int
-drm_gtf2_hbreak(const struct edid *edid)
+drm_gtf2_hbreak(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.hfreq_start_khz) != 12);
 
@@ -2667,11 +2667,11 @@ drm_gtf2_hbreak(const struct edid *edid)
 }
 
 static int
-drm_gtf2_2c(const struct edid *edid)
+drm_gtf2_2c(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.c) != 13);
 
@@ -2679,11 +2679,11 @@ drm_gtf2_2c(const struct edid *edid)
 }
 
 static int
-drm_gtf2_m(const struct edid *edid)
+drm_gtf2_m(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.m) != 14);
 
@@ -2691,11 +2691,11 @@ drm_gtf2_m(const struct edid *edid)
 }
 
 static int
-drm_gtf2_k(const struct edid *edid)
+drm_gtf2_k(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.k) != 16);
 
@@ -2703,11 +2703,11 @@ drm_gtf2_k(const struct edid *edid)
 }
 
 static int
-drm_gtf2_2j(const struct edid *edid)
+drm_gtf2_2j(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.j) != 17);
 
@@ -2715,12 +2715,14 @@ drm_gtf2_2j(const struct edid *edid)
 }
 
 /* Get standard timing level (CVT/GTF/DMT). */
-static int standard_timing_level(const struct edid *edid)
+static int standard_timing_level(const struct drm_edid *drm_edid)
 {
+	const struct edid *edid = drm_edid->edid;
+
 	if (edid->revision >= 2) {
 		if (edid->revision >= 4 && (edid->features & DRM_EDID_FEATURE_DEFAULT_GTF))
 			return LEVEL_CVT;
-		if (drm_gtf2_hbreak(edid))
+		if (drm_gtf2_hbreak(drm_edid))
 			return LEVEL_GTF2;
 		if (edid->features & DRM_EDID_FEATURE_DEFAULT_GTF)
 			return LEVEL_GTF;
@@ -2752,9 +2754,9 @@ static int drm_mode_hsync(const struct drm_display_mode *mode)
  * Take the standard timing params (in this case width, aspect, and refresh)
  * and convert them into a real mode using CVT/GTF/DMT.
  */
-static struct drm_display_mode *
-drm_mode_std(struct drm_connector *connector, const struct edid *edid,
-	     const struct std_timing *t)
+static struct drm_display_mode *drm_mode_std(struct drm_connector *connector,
+					     const struct drm_edid *drm_edid,
+					     const struct std_timing *t)
 {
 	struct drm_device *dev = connector->dev;
 	struct drm_display_mode *m, *mode = NULL;
@@ -2764,7 +2766,7 @@ drm_mode_std(struct drm_connector *connector, const struct edid *edid,
 		>> EDID_TIMING_ASPECT_SHIFT;
 	unsigned vfreq = (t->vfreq_aspect & EDID_TIMING_VFREQ_MASK)
 		>> EDID_TIMING_VFREQ_SHIFT;
-	int timing_level = standard_timing_level(edid);
+	int timing_level = standard_timing_level(drm_edid);
 
 	if (bad_std_timing(t->hsize, t->vfreq_aspect))
 		return NULL;
@@ -2775,7 +2777,7 @@ drm_mode_std(struct drm_connector *connector, const struct edid *edid,
 	vrefresh_rate = vfreq + 60;
 	/* the vdisplay is calculated based on the aspect ratio */
 	if (aspect_ratio == 0) {
-		if (edid->revision < 3)
+		if (drm_edid->edid->revision < 3)
 			vsize = hsize;
 		else
 			vsize = (hsize * 10) / 16;
@@ -2818,7 +2820,7 @@ drm_mode_std(struct drm_connector *connector, const struct edid *edid,
 	}
 
 	/* check whether it can be found in default mode table */
-	if (drm_monitor_supports_rb(edid)) {
+	if (drm_monitor_supports_rb(drm_edid->edid)) {
 		mode = drm_mode_find_dmt(dev, hsize, vsize, vrefresh_rate,
 					 true);
 		if (mode)
@@ -2844,14 +2846,14 @@ drm_mode_std(struct drm_connector *connector, const struct edid *edid,
 		mode = drm_gtf_mode(dev, hsize, vsize, vrefresh_rate, 0, 0);
 		if (!mode)
 			return NULL;
-		if (drm_mode_hsync(mode) > drm_gtf2_hbreak(edid)) {
+		if (drm_mode_hsync(mode) > drm_gtf2_hbreak(drm_edid)) {
 			drm_mode_destroy(dev, mode);
 			mode = drm_gtf_mode_complex(dev, hsize, vsize,
 						    vrefresh_rate, 0, 0,
-						    drm_gtf2_m(edid),
-						    drm_gtf2_2c(edid),
-						    drm_gtf2_k(edid),
-						    drm_gtf2_2j(edid));
+						    drm_gtf2_m(drm_edid),
+						    drm_gtf2_2c(drm_edid),
+						    drm_gtf2_k(drm_edid),
+						    drm_gtf2_2j(drm_edid));
 		}
 		break;
 	case LEVEL_CVT:
@@ -3342,7 +3344,7 @@ do_standard_modes(const struct detailed_timing *timing, void *c)
 		const struct std_timing *std = &data->data.timings[i];
 		struct drm_display_mode *newmode;
 
-		newmode = drm_mode_std(connector, closure->drm_edid->edid, std);
+		newmode = drm_mode_std(connector, closure->drm_edid, std);
 		if (newmode) {
 			drm_mode_probed_add(connector, newmode);
 			closure->modes++;
@@ -3367,7 +3369,7 @@ static int add_standard_modes(struct drm_connector *connector,
 	for (i = 0; i < EDID_STD_TIMINGS; i++) {
 		struct drm_display_mode *newmode;
 
-		newmode = drm_mode_std(connector, drm_edid->edid,
+		newmode = drm_mode_std(connector, drm_edid,
 				       &drm_edid->edid->standard_timings[i]);
 		if (newmode) {
 			drm_mode_probed_add(connector, newmode);
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 14/25] drm/edid: convert mode_in_range() and drm_monitor_supports_rb() to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 4b2d3453fc5c..b8deced8de01 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2627,16 +2627,16 @@ is_rb(const struct detailed_timing *descriptor, void *data)
 
 /* EDID 1.4 defines this explicitly.  For EDID 1.3, we guess, badly. */
 static bool
-drm_monitor_supports_rb(const struct edid *edid)
+drm_monitor_supports_rb(const struct drm_edid *drm_edid)
 {
-	if (edid->revision >= 4) {
+	if (drm_edid->edid->revision >= 4) {
 		bool ret = false;
 
-		drm_for_each_detailed_block(edid, is_rb, &ret);
+		drm_for_each_detailed_block(drm_edid->edid, is_rb, &ret);
 		return ret;
 	}
 
-	return ((edid->input & DRM_EDID_INPUT_DIGITAL) != 0);
+	return ((drm_edid->edid->input & DRM_EDID_INPUT_DIGITAL) != 0);
 }
 
 static void
@@ -2820,7 +2820,7 @@ static struct drm_display_mode *drm_mode_std(struct drm_connector *connector,
 	}
 
 	/* check whether it can be found in default mode table */
-	if (drm_monitor_supports_rb(drm_edid->edid)) {
+	if (drm_monitor_supports_rb(drm_edid)) {
 		mode = drm_mode_find_dmt(dev, hsize, vsize, vrefresh_rate,
 					 true);
 		if (mode)
@@ -3059,10 +3059,11 @@ range_pixel_clock(const struct edid *edid, const u8 *t)
 	return t[9] * 10000 + 5001;
 }
 
-static bool
-mode_in_range(const struct drm_display_mode *mode, const struct edid *edid,
-	      const struct detailed_timing *timing)
+static bool mode_in_range(const struct drm_display_mode *mode,
+			  const struct drm_edid *drm_edid,
+			  const struct detailed_timing *timing)
 {
+	const struct edid *edid = drm_edid->edid;
 	u32 max_clock;
 	const u8 *t = (const u8 *)timing;
 
@@ -3081,7 +3082,7 @@ mode_in_range(const struct drm_display_mode *mode, const struct edid *edid,
 		if (t[13] && mode->hdisplay > 8 * (t[13] + (256 * (t[12]&0x3))))
 			return false;
 
-	if (mode_is_rb(mode) && !drm_monitor_supports_rb(edid))
+	if (mode_is_rb(mode) && !drm_monitor_supports_rb(drm_edid))
 		return false;
 
 	return true;
@@ -3114,7 +3115,7 @@ static int drm_dmt_modes_for_range(struct drm_connector *connector,
 	struct drm_device *dev = connector->dev;
 
 	for (i = 0; i < ARRAY_SIZE(drm_dmt_modes); i++) {
-		if (mode_in_range(drm_dmt_modes + i, drm_edid->edid, timing) &&
+		if (mode_in_range(drm_dmt_modes + i, drm_edid, timing) &&
 		    valid_inferred_mode(connector, drm_dmt_modes + i)) {
 			newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]);
 			if (newmode) {
@@ -3156,7 +3157,7 @@ static int drm_gtf_modes_for_range(struct drm_connector *connector,
 			return modes;
 
 		drm_mode_fixup_1366x768(newmode);
-		if (!mode_in_range(newmode, drm_edid->edid, timing) ||
+		if (!mode_in_range(newmode, drm_edid, timing) ||
 		    !valid_inferred_mode(connector, newmode)) {
 			drm_mode_destroy(dev, newmode);
 			continue;
@@ -3176,7 +3177,7 @@ static int drm_cvt_modes_for_range(struct drm_connector *connector,
 	int i, modes = 0;
 	struct drm_display_mode *newmode;
 	struct drm_device *dev = connector->dev;
-	bool rb = drm_monitor_supports_rb(drm_edid->edid);
+	bool rb = drm_monitor_supports_rb(drm_edid);
 
 	for (i = 0; i < ARRAY_SIZE(extra_modes); i++) {
 		const struct minimode *m = &extra_modes[i];
@@ -3186,7 +3187,7 @@ static int drm_cvt_modes_for_range(struct drm_connector *connector,
 			return modes;
 
 		drm_mode_fixup_1366x768(newmode);
-		if (!mode_in_range(newmode, drm_edid->edid, timing) ||
+		if (!mode_in_range(newmode, drm_edid, timing) ||
 		    !valid_inferred_mode(connector, newmode)) {
 			drm_mode_destroy(dev, newmode);
 			continue;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 14/25] drm/edid: convert mode_in_range() and drm_monitor_supports_rb() to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 4b2d3453fc5c..b8deced8de01 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2627,16 +2627,16 @@ is_rb(const struct detailed_timing *descriptor, void *data)
 
 /* EDID 1.4 defines this explicitly.  For EDID 1.3, we guess, badly. */
 static bool
-drm_monitor_supports_rb(const struct edid *edid)
+drm_monitor_supports_rb(const struct drm_edid *drm_edid)
 {
-	if (edid->revision >= 4) {
+	if (drm_edid->edid->revision >= 4) {
 		bool ret = false;
 
-		drm_for_each_detailed_block(edid, is_rb, &ret);
+		drm_for_each_detailed_block(drm_edid->edid, is_rb, &ret);
 		return ret;
 	}
 
-	return ((edid->input & DRM_EDID_INPUT_DIGITAL) != 0);
+	return ((drm_edid->edid->input & DRM_EDID_INPUT_DIGITAL) != 0);
 }
 
 static void
@@ -2820,7 +2820,7 @@ static struct drm_display_mode *drm_mode_std(struct drm_connector *connector,
 	}
 
 	/* check whether it can be found in default mode table */
-	if (drm_monitor_supports_rb(drm_edid->edid)) {
+	if (drm_monitor_supports_rb(drm_edid)) {
 		mode = drm_mode_find_dmt(dev, hsize, vsize, vrefresh_rate,
 					 true);
 		if (mode)
@@ -3059,10 +3059,11 @@ range_pixel_clock(const struct edid *edid, const u8 *t)
 	return t[9] * 10000 + 5001;
 }
 
-static bool
-mode_in_range(const struct drm_display_mode *mode, const struct edid *edid,
-	      const struct detailed_timing *timing)
+static bool mode_in_range(const struct drm_display_mode *mode,
+			  const struct drm_edid *drm_edid,
+			  const struct detailed_timing *timing)
 {
+	const struct edid *edid = drm_edid->edid;
 	u32 max_clock;
 	const u8 *t = (const u8 *)timing;
 
@@ -3081,7 +3082,7 @@ mode_in_range(const struct drm_display_mode *mode, const struct edid *edid,
 		if (t[13] && mode->hdisplay > 8 * (t[13] + (256 * (t[12]&0x3))))
 			return false;
 
-	if (mode_is_rb(mode) && !drm_monitor_supports_rb(edid))
+	if (mode_is_rb(mode) && !drm_monitor_supports_rb(drm_edid))
 		return false;
 
 	return true;
@@ -3114,7 +3115,7 @@ static int drm_dmt_modes_for_range(struct drm_connector *connector,
 	struct drm_device *dev = connector->dev;
 
 	for (i = 0; i < ARRAY_SIZE(drm_dmt_modes); i++) {
-		if (mode_in_range(drm_dmt_modes + i, drm_edid->edid, timing) &&
+		if (mode_in_range(drm_dmt_modes + i, drm_edid, timing) &&
 		    valid_inferred_mode(connector, drm_dmt_modes + i)) {
 			newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]);
 			if (newmode) {
@@ -3156,7 +3157,7 @@ static int drm_gtf_modes_for_range(struct drm_connector *connector,
 			return modes;
 
 		drm_mode_fixup_1366x768(newmode);
-		if (!mode_in_range(newmode, drm_edid->edid, timing) ||
+		if (!mode_in_range(newmode, drm_edid, timing) ||
 		    !valid_inferred_mode(connector, newmode)) {
 			drm_mode_destroy(dev, newmode);
 			continue;
@@ -3176,7 +3177,7 @@ static int drm_cvt_modes_for_range(struct drm_connector *connector,
 	int i, modes = 0;
 	struct drm_display_mode *newmode;
 	struct drm_device *dev = connector->dev;
-	bool rb = drm_monitor_supports_rb(drm_edid->edid);
+	bool rb = drm_monitor_supports_rb(drm_edid);
 
 	for (i = 0; i < ARRAY_SIZE(extra_modes); i++) {
 		const struct minimode *m = &extra_modes[i];
@@ -3186,7 +3187,7 @@ static int drm_cvt_modes_for_range(struct drm_connector *connector,
 			return modes;
 
 		drm_mode_fixup_1366x768(newmode);
-		if (!mode_in_range(newmode, drm_edid->edid, timing) ||
+		if (!mode_in_range(newmode, drm_edid, timing) ||
 		    !valid_inferred_mode(connector, newmode)) {
 			drm_mode_destroy(dev, newmode);
 			continue;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 15/25] drm/edid: convert get_monitor_name() to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

v2: Drop incorrect NULL name check (Dan Carpenter)

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index b8deced8de01..4fd2ee976d39 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -4812,15 +4812,15 @@ monitor_name(const struct detailed_timing *timing, void *data)
 	*res = timing->data.other_data.data.str.str;
 }
 
-static int get_monitor_name(const struct edid *edid, char name[13])
+static int get_monitor_name(const struct drm_edid *drm_edid, char name[13])
 {
 	const char *edid_name = NULL;
 	int mnl;
 
-	if (!edid || !name)
+	if (!drm_edid || !name)
 		return 0;
 
-	drm_for_each_detailed_block(edid, monitor_name, &edid_name);
+	drm_for_each_detailed_block(drm_edid->edid, monitor_name, &edid_name);
 	for (mnl = 0; edid_name && mnl < 13; mnl++) {
 		if (edid_name[mnl] == 0x0a)
 			break;
@@ -4840,14 +4840,22 @@ static int get_monitor_name(const struct edid *edid, char name[13])
  */
 void drm_edid_get_monitor_name(const struct edid *edid, char *name, int bufsize)
 {
-	int name_length;
-	char buf[13];
+	int name_length = 0;
 
 	if (bufsize <= 0)
 		return;
 
-	name_length = min(get_monitor_name(edid, buf), bufsize - 1);
-	memcpy(name, buf, name_length);
+	if (edid) {
+		char buf[13];
+		struct drm_edid drm_edid = {
+			.edid = edid,
+			.size = edid_size(edid),
+		};
+
+		name_length = min(get_monitor_name(&drm_edid, buf), bufsize - 1);
+		memcpy(name, buf, name_length);
+	}
+
 	name[name_length] = '\0';
 }
 EXPORT_SYMBOL(drm_edid_get_monitor_name);
@@ -4887,7 +4895,7 @@ static void drm_edid_to_eld(struct drm_connector *connector,
 	if (!drm_edid)
 		return;
 
-	mnl = get_monitor_name(drm_edid->edid, &eld[DRM_ELD_MONITOR_NAME_STRING]);
+	mnl = get_monitor_name(drm_edid, &eld[DRM_ELD_MONITOR_NAME_STRING]);
 	DRM_DEBUG_KMS("ELD monitor %s\n", &eld[DRM_ELD_MONITOR_NAME_STRING]);
 
 	eld[DRM_ELD_CEA_EDID_VER_MNL] = info->cea_rev << DRM_ELD_CEA_EDID_VER_SHIFT;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 15/25] drm/edid: convert get_monitor_name() to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

v2: Drop incorrect NULL name check (Dan Carpenter)

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index b8deced8de01..4fd2ee976d39 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -4812,15 +4812,15 @@ monitor_name(const struct detailed_timing *timing, void *data)
 	*res = timing->data.other_data.data.str.str;
 }
 
-static int get_monitor_name(const struct edid *edid, char name[13])
+static int get_monitor_name(const struct drm_edid *drm_edid, char name[13])
 {
 	const char *edid_name = NULL;
 	int mnl;
 
-	if (!edid || !name)
+	if (!drm_edid || !name)
 		return 0;
 
-	drm_for_each_detailed_block(edid, monitor_name, &edid_name);
+	drm_for_each_detailed_block(drm_edid->edid, monitor_name, &edid_name);
 	for (mnl = 0; edid_name && mnl < 13; mnl++) {
 		if (edid_name[mnl] == 0x0a)
 			break;
@@ -4840,14 +4840,22 @@ static int get_monitor_name(const struct edid *edid, char name[13])
  */
 void drm_edid_get_monitor_name(const struct edid *edid, char *name, int bufsize)
 {
-	int name_length;
-	char buf[13];
+	int name_length = 0;
 
 	if (bufsize <= 0)
 		return;
 
-	name_length = min(get_monitor_name(edid, buf), bufsize - 1);
-	memcpy(name, buf, name_length);
+	if (edid) {
+		char buf[13];
+		struct drm_edid drm_edid = {
+			.edid = edid,
+			.size = edid_size(edid),
+		};
+
+		name_length = min(get_monitor_name(&drm_edid, buf), bufsize - 1);
+		memcpy(name, buf, name_length);
+	}
+
 	name[name_length] = '\0';
 }
 EXPORT_SYMBOL(drm_edid_get_monitor_name);
@@ -4887,7 +4895,7 @@ static void drm_edid_to_eld(struct drm_connector *connector,
 	if (!drm_edid)
 		return;
 
-	mnl = get_monitor_name(drm_edid->edid, &eld[DRM_ELD_MONITOR_NAME_STRING]);
+	mnl = get_monitor_name(drm_edid, &eld[DRM_ELD_MONITOR_NAME_STRING]);
 	DRM_DEBUG_KMS("ELD monitor %s\n", &eld[DRM_ELD_MONITOR_NAME_STRING]);
 
 	eld[DRM_ELD_CEA_EDID_VER_MNL] = info->cea_rev << DRM_ELD_CEA_EDID_VER_SHIFT;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 16/25] drm/edid: convert drm_for_each_detailed_block() to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 4fd2ee976d39..2017feecbe1c 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2580,20 +2580,20 @@ vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure)
 		cb((const struct detailed_timing *)(det_base + 18 * i), closure);
 }
 
-static void
-drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *closure)
+static void drm_for_each_detailed_block(const struct drm_edid *drm_edid,
+					detailed_cb *cb, void *closure)
 {
 	struct drm_edid_iter edid_iter;
 	const u8 *ext;
 	int i;
 
-	if (edid == NULL)
+	if (!drm_edid)
 		return;
 
 	for (i = 0; i < EDID_DETAILED_TIMINGS; i++)
-		cb(&(edid->detailed_timings[i]), closure);
+		cb(&(drm_edid->edid->detailed_timings[i]), closure);
 
-	drm_edid_iter_begin(edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
 	drm_edid_iter_for_each(ext, &edid_iter) {
 		switch (*ext) {
 		case CEA_EXT:
@@ -2632,7 +2632,7 @@ drm_monitor_supports_rb(const struct drm_edid *drm_edid)
 	if (drm_edid->edid->revision >= 4) {
 		bool ret = false;
 
-		drm_for_each_detailed_block(drm_edid->edid, is_rb, &ret);
+		drm_for_each_detailed_block(drm_edid, is_rb, &ret);
 		return ret;
 	}
 
@@ -2659,7 +2659,7 @@ drm_gtf2_hbreak(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.hfreq_start_khz) != 12);
 
@@ -2671,7 +2671,7 @@ drm_gtf2_2c(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.c) != 13);
 
@@ -2683,7 +2683,7 @@ drm_gtf2_m(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.m) != 14);
 
@@ -2695,7 +2695,7 @@ drm_gtf2_k(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.k) != 16);
 
@@ -2707,7 +2707,7 @@ drm_gtf2_2j(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.j) != 17);
 
@@ -3247,7 +3247,7 @@ static int add_inferred_modes(struct drm_connector *connector,
 	};
 
 	if (version_greater(drm_edid->edid, 1, 0))
-		drm_for_each_detailed_block(drm_edid->edid, do_inferred_modes, &closure);
+		drm_for_each_detailed_block(drm_edid, do_inferred_modes, &closure);
 
 	return closure.modes;
 }
@@ -3324,7 +3324,7 @@ static int add_established_modes(struct drm_connector *connector,
 	}
 
 	if (version_greater(edid, 1, 0))
-		drm_for_each_detailed_block(drm_edid->edid, do_established_modes,
+		drm_for_each_detailed_block(drm_edid, do_established_modes,
 					    &closure);
 
 	return modes + closure.modes;
@@ -3379,7 +3379,7 @@ static int add_standard_modes(struct drm_connector *connector,
 	}
 
 	if (version_greater(drm_edid->edid, 1, 0))
-		drm_for_each_detailed_block(drm_edid->edid, do_standard_modes,
+		drm_for_each_detailed_block(drm_edid, do_standard_modes,
 					    &closure);
 
 	/* XXX should also look for standard codes in VTB blocks */
@@ -3459,7 +3459,7 @@ add_cvt_modes(struct drm_connector *connector, const struct drm_edid *drm_edid)
 	};
 
 	if (version_greater(drm_edid->edid, 1, 2))
-		drm_for_each_detailed_block(drm_edid->edid, do_cvt_mode, &closure);
+		drm_for_each_detailed_block(drm_edid, do_cvt_mode, &closure);
 
 	/* XXX should also look for CVT codes in VTB blocks */
 
@@ -3518,7 +3518,7 @@ static int add_detailed_modes(struct drm_connector *connector,
 		closure.preferred =
 		    (drm_edid->edid->features & DRM_EDID_FEATURE_PREFERRED_TIMING);
 
-	drm_for_each_detailed_block(drm_edid->edid, do_detailed_mode, &closure);
+	drm_for_each_detailed_block(drm_edid, do_detailed_mode, &closure);
 
 	return closure.modes;
 }
@@ -4820,7 +4820,7 @@ static int get_monitor_name(const struct drm_edid *drm_edid, char name[13])
 	if (!drm_edid || !name)
 		return 0;
 
-	drm_for_each_detailed_block(drm_edid->edid, monitor_name, &edid_name);
+	drm_for_each_detailed_block(drm_edid, monitor_name, &edid_name);
 	for (mnl = 0; edid_name && mnl < 13; mnl++) {
 		if (edid_name[mnl] == 0x0a)
 			break;
@@ -5541,7 +5541,7 @@ static void drm_get_monitor_range(struct drm_connector *connector,
 	if (!version_greater(drm_edid->edid, 1, 1))
 		return;
 
-	drm_for_each_detailed_block(drm_edid->edid, get_monitor_range,
+	drm_for_each_detailed_block(drm_edid, get_monitor_range,
 				    &info->monitor_range);
 
 	DRM_DEBUG_KMS("Supported Monitor Refresh rate range is %d Hz - %d Hz\n",
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 16/25] drm/edid: convert drm_for_each_detailed_block() to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 4fd2ee976d39..2017feecbe1c 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2580,20 +2580,20 @@ vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure)
 		cb((const struct detailed_timing *)(det_base + 18 * i), closure);
 }
 
-static void
-drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *closure)
+static void drm_for_each_detailed_block(const struct drm_edid *drm_edid,
+					detailed_cb *cb, void *closure)
 {
 	struct drm_edid_iter edid_iter;
 	const u8 *ext;
 	int i;
 
-	if (edid == NULL)
+	if (!drm_edid)
 		return;
 
 	for (i = 0; i < EDID_DETAILED_TIMINGS; i++)
-		cb(&(edid->detailed_timings[i]), closure);
+		cb(&(drm_edid->edid->detailed_timings[i]), closure);
 
-	drm_edid_iter_begin(edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
 	drm_edid_iter_for_each(ext, &edid_iter) {
 		switch (*ext) {
 		case CEA_EXT:
@@ -2632,7 +2632,7 @@ drm_monitor_supports_rb(const struct drm_edid *drm_edid)
 	if (drm_edid->edid->revision >= 4) {
 		bool ret = false;
 
-		drm_for_each_detailed_block(drm_edid->edid, is_rb, &ret);
+		drm_for_each_detailed_block(drm_edid, is_rb, &ret);
 		return ret;
 	}
 
@@ -2659,7 +2659,7 @@ drm_gtf2_hbreak(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.hfreq_start_khz) != 12);
 
@@ -2671,7 +2671,7 @@ drm_gtf2_2c(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.c) != 13);
 
@@ -2683,7 +2683,7 @@ drm_gtf2_m(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.m) != 14);
 
@@ -2695,7 +2695,7 @@ drm_gtf2_k(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.k) != 16);
 
@@ -2707,7 +2707,7 @@ drm_gtf2_2j(const struct drm_edid *drm_edid)
 {
 	const struct detailed_timing *descriptor = NULL;
 
-	drm_for_each_detailed_block(drm_edid->edid, find_gtf2, &descriptor);
+	drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
 
 	BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.j) != 17);
 
@@ -3247,7 +3247,7 @@ static int add_inferred_modes(struct drm_connector *connector,
 	};
 
 	if (version_greater(drm_edid->edid, 1, 0))
-		drm_for_each_detailed_block(drm_edid->edid, do_inferred_modes, &closure);
+		drm_for_each_detailed_block(drm_edid, do_inferred_modes, &closure);
 
 	return closure.modes;
 }
@@ -3324,7 +3324,7 @@ static int add_established_modes(struct drm_connector *connector,
 	}
 
 	if (version_greater(edid, 1, 0))
-		drm_for_each_detailed_block(drm_edid->edid, do_established_modes,
+		drm_for_each_detailed_block(drm_edid, do_established_modes,
 					    &closure);
 
 	return modes + closure.modes;
@@ -3379,7 +3379,7 @@ static int add_standard_modes(struct drm_connector *connector,
 	}
 
 	if (version_greater(drm_edid->edid, 1, 0))
-		drm_for_each_detailed_block(drm_edid->edid, do_standard_modes,
+		drm_for_each_detailed_block(drm_edid, do_standard_modes,
 					    &closure);
 
 	/* XXX should also look for standard codes in VTB blocks */
@@ -3459,7 +3459,7 @@ add_cvt_modes(struct drm_connector *connector, const struct drm_edid *drm_edid)
 	};
 
 	if (version_greater(drm_edid->edid, 1, 2))
-		drm_for_each_detailed_block(drm_edid->edid, do_cvt_mode, &closure);
+		drm_for_each_detailed_block(drm_edid, do_cvt_mode, &closure);
 
 	/* XXX should also look for CVT codes in VTB blocks */
 
@@ -3518,7 +3518,7 @@ static int add_detailed_modes(struct drm_connector *connector,
 		closure.preferred =
 		    (drm_edid->edid->features & DRM_EDID_FEATURE_PREFERRED_TIMING);
 
-	drm_for_each_detailed_block(drm_edid->edid, do_detailed_mode, &closure);
+	drm_for_each_detailed_block(drm_edid, do_detailed_mode, &closure);
 
 	return closure.modes;
 }
@@ -4820,7 +4820,7 @@ static int get_monitor_name(const struct drm_edid *drm_edid, char name[13])
 	if (!drm_edid || !name)
 		return 0;
 
-	drm_for_each_detailed_block(drm_edid->edid, monitor_name, &edid_name);
+	drm_for_each_detailed_block(drm_edid, monitor_name, &edid_name);
 	for (mnl = 0; edid_name && mnl < 13; mnl++) {
 		if (edid_name[mnl] == 0x0a)
 			break;
@@ -5541,7 +5541,7 @@ static void drm_get_monitor_range(struct drm_connector *connector,
 	if (!version_greater(drm_edid->edid, 1, 1))
 		return;
 
-	drm_for_each_detailed_block(drm_edid->edid, get_monitor_range,
+	drm_for_each_detailed_block(drm_edid, get_monitor_range,
 				    &info->monitor_range);
 
 	DRM_DEBUG_KMS("Supported Monitor Refresh rate range is %d Hz - %d Hz\n",
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 17/25] drm/edid: add drm_edid helper for drm_edid_to_sad()
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 37 ++++++++++++++++++++++++-------------
 1 file changed, 24 insertions(+), 13 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 2017feecbe1c..52ea187394dd 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -4954,24 +4954,14 @@ static void drm_edid_to_eld(struct drm_connector *connector,
 		      drm_eld_size(eld), total_sad_count);
 }
 
-/**
- * drm_edid_to_sad - extracts SADs from EDID
- * @edid: EDID to parse
- * @sads: pointer that will be set to the extracted SADs
- *
- * Looks for CEA EDID block and extracts SADs (Short Audio Descriptors) from it.
- *
- * Note: The returned pointer needs to be freed using kfree().
- *
- * Return: The number of found SADs or negative number on error.
- */
-int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
+static int _drm_edid_to_sad(const struct drm_edid *drm_edid,
+			    struct cea_sad **sads)
 {
 	const struct cea_db *db;
 	struct cea_db_iter iter;
 	int count = 0;
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_AUDIO) {
 			int j;
@@ -4997,6 +4987,27 @@ int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
 
 	return count;
 }
+
+/**
+ * drm_edid_to_sad - extracts SADs from EDID
+ * @edid: EDID to parse
+ * @sads: pointer that will be set to the extracted SADs
+ *
+ * Looks for CEA EDID block and extracts SADs (Short Audio Descriptors) from it.
+ *
+ * Note: The returned pointer needs to be freed using kfree().
+ *
+ * Return: The number of found SADs or negative number on error.
+ */
+int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	return _drm_edid_to_sad(&drm_edid, sads);
+}
 EXPORT_SYMBOL(drm_edid_to_sad);
 
 /**
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 17/25] drm/edid: add drm_edid helper for drm_edid_to_sad()
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 37 ++++++++++++++++++++++++-------------
 1 file changed, 24 insertions(+), 13 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 2017feecbe1c..52ea187394dd 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -4954,24 +4954,14 @@ static void drm_edid_to_eld(struct drm_connector *connector,
 		      drm_eld_size(eld), total_sad_count);
 }
 
-/**
- * drm_edid_to_sad - extracts SADs from EDID
- * @edid: EDID to parse
- * @sads: pointer that will be set to the extracted SADs
- *
- * Looks for CEA EDID block and extracts SADs (Short Audio Descriptors) from it.
- *
- * Note: The returned pointer needs to be freed using kfree().
- *
- * Return: The number of found SADs or negative number on error.
- */
-int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
+static int _drm_edid_to_sad(const struct drm_edid *drm_edid,
+			    struct cea_sad **sads)
 {
 	const struct cea_db *db;
 	struct cea_db_iter iter;
 	int count = 0;
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_AUDIO) {
 			int j;
@@ -4997,6 +4987,27 @@ int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
 
 	return count;
 }
+
+/**
+ * drm_edid_to_sad - extracts SADs from EDID
+ * @edid: EDID to parse
+ * @sads: pointer that will be set to the extracted SADs
+ *
+ * Looks for CEA EDID block and extracts SADs (Short Audio Descriptors) from it.
+ *
+ * Note: The returned pointer needs to be freed using kfree().
+ *
+ * Return: The number of found SADs or negative number on error.
+ */
+int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	return _drm_edid_to_sad(&drm_edid, sads);
+}
 EXPORT_SYMBOL(drm_edid_to_sad);
 
 /**
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 18/25] drm/edid: add drm_edid helper for drm_edid_to_speaker_allocation()
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 39 ++++++++++++++++++++++++--------------
 1 file changed, 25 insertions(+), 14 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 52ea187394dd..51aee048bcff 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -5010,25 +5010,14 @@ int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
 }
 EXPORT_SYMBOL(drm_edid_to_sad);
 
-/**
- * drm_edid_to_speaker_allocation - extracts Speaker Allocation Data Blocks from EDID
- * @edid: EDID to parse
- * @sadb: pointer to the speaker block
- *
- * Looks for CEA EDID block and extracts the Speaker Allocation Data Block from it.
- *
- * Note: The returned pointer needs to be freed using kfree().
- *
- * Return: The number of found Speaker Allocation Blocks or negative number on
- * error.
- */
-int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb)
+static int _drm_edid_to_speaker_allocation(const struct drm_edid *drm_edid,
+					   u8 **sadb)
 {
 	const struct cea_db *db;
 	struct cea_db_iter iter;
 	int count = 0;
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_SPEAKER &&
 		    cea_db_payload_len(db) == 3) {
@@ -5046,6 +5035,28 @@ int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb)
 
 	return count;
 }
+
+/**
+ * drm_edid_to_speaker_allocation - extracts Speaker Allocation Data Blocks from EDID
+ * @edid: EDID to parse
+ * @sadb: pointer to the speaker block
+ *
+ * Looks for CEA EDID block and extracts the Speaker Allocation Data Block from it.
+ *
+ * Note: The returned pointer needs to be freed using kfree().
+ *
+ * Return: The number of found Speaker Allocation Blocks or negative number on
+ * error.
+ */
+int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	return _drm_edid_to_speaker_allocation(&drm_edid, sadb);
+}
 EXPORT_SYMBOL(drm_edid_to_speaker_allocation);
 
 /**
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 18/25] drm/edid: add drm_edid helper for drm_edid_to_speaker_allocation()
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 39 ++++++++++++++++++++++++--------------
 1 file changed, 25 insertions(+), 14 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 52ea187394dd..51aee048bcff 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -5010,25 +5010,14 @@ int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
 }
 EXPORT_SYMBOL(drm_edid_to_sad);
 
-/**
- * drm_edid_to_speaker_allocation - extracts Speaker Allocation Data Blocks from EDID
- * @edid: EDID to parse
- * @sadb: pointer to the speaker block
- *
- * Looks for CEA EDID block and extracts the Speaker Allocation Data Block from it.
- *
- * Note: The returned pointer needs to be freed using kfree().
- *
- * Return: The number of found Speaker Allocation Blocks or negative number on
- * error.
- */
-int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb)
+static int _drm_edid_to_speaker_allocation(const struct drm_edid *drm_edid,
+					   u8 **sadb)
 {
 	const struct cea_db *db;
 	struct cea_db_iter iter;
 	int count = 0;
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_SPEAKER &&
 		    cea_db_payload_len(db) == 3) {
@@ -5046,6 +5035,28 @@ int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb)
 
 	return count;
 }
+
+/**
+ * drm_edid_to_speaker_allocation - extracts Speaker Allocation Data Blocks from EDID
+ * @edid: EDID to parse
+ * @sadb: pointer to the speaker block
+ *
+ * Looks for CEA EDID block and extracts the Speaker Allocation Data Block from it.
+ *
+ * Note: The returned pointer needs to be freed using kfree().
+ *
+ * Return: The number of found Speaker Allocation Blocks or negative number on
+ * error.
+ */
+int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	return _drm_edid_to_speaker_allocation(&drm_edid, sadb);
+}
 EXPORT_SYMBOL(drm_edid_to_speaker_allocation);
 
 /**
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 19/25] drm/edid: add drm_edid helper for drm_detect_hdmi_monitor()
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 36 +++++++++++++++++++++++-------------
 1 file changed, 23 insertions(+), 13 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 51aee048bcff..3277b4fd33ce 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -5100,18 +5100,7 @@ int drm_av_sync_delay(struct drm_connector *connector,
 }
 EXPORT_SYMBOL(drm_av_sync_delay);
 
-/**
- * drm_detect_hdmi_monitor - detect whether monitor is HDMI
- * @edid: monitor EDID information
- *
- * Parse the CEA extension according to CEA-861-B.
- *
- * Drivers that have added the modes parsed from EDID to drm_display_info
- * should use &drm_display_info.is_hdmi instead of calling this function.
- *
- * Return: True if the monitor is HDMI, false if not or unknown.
- */
-bool drm_detect_hdmi_monitor(const struct edid *edid)
+static bool _drm_detect_hdmi_monitor(const struct drm_edid *drm_edid)
 {
 	const struct cea_db *db;
 	struct cea_db_iter iter;
@@ -5121,7 +5110,7 @@ bool drm_detect_hdmi_monitor(const struct edid *edid)
 	 * Because HDMI identifier is in Vendor Specific Block,
 	 * search it from all data blocks of CEA extension.
 	 */
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_is_hdmi_vsdb(db)) {
 			hdmi = true;
@@ -5132,6 +5121,27 @@ bool drm_detect_hdmi_monitor(const struct edid *edid)
 
 	return hdmi;
 }
+
+/**
+ * drm_detect_hdmi_monitor - detect whether monitor is HDMI
+ * @edid: monitor EDID information
+ *
+ * Parse the CEA extension according to CEA-861-B.
+ *
+ * Drivers that have added the modes parsed from EDID to drm_display_info
+ * should use &drm_display_info.is_hdmi instead of calling this function.
+ *
+ * Return: True if the monitor is HDMI, false if not or unknown.
+ */
+bool drm_detect_hdmi_monitor(const struct edid *edid)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	return _drm_detect_hdmi_monitor(&drm_edid);
+}
 EXPORT_SYMBOL(drm_detect_hdmi_monitor);
 
 /**
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 19/25] drm/edid: add drm_edid helper for drm_detect_hdmi_monitor()
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 36 +++++++++++++++++++++++-------------
 1 file changed, 23 insertions(+), 13 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 51aee048bcff..3277b4fd33ce 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -5100,18 +5100,7 @@ int drm_av_sync_delay(struct drm_connector *connector,
 }
 EXPORT_SYMBOL(drm_av_sync_delay);
 
-/**
- * drm_detect_hdmi_monitor - detect whether monitor is HDMI
- * @edid: monitor EDID information
- *
- * Parse the CEA extension according to CEA-861-B.
- *
- * Drivers that have added the modes parsed from EDID to drm_display_info
- * should use &drm_display_info.is_hdmi instead of calling this function.
- *
- * Return: True if the monitor is HDMI, false if not or unknown.
- */
-bool drm_detect_hdmi_monitor(const struct edid *edid)
+static bool _drm_detect_hdmi_monitor(const struct drm_edid *drm_edid)
 {
 	const struct cea_db *db;
 	struct cea_db_iter iter;
@@ -5121,7 +5110,7 @@ bool drm_detect_hdmi_monitor(const struct edid *edid)
 	 * Because HDMI identifier is in Vendor Specific Block,
 	 * search it from all data blocks of CEA extension.
 	 */
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_is_hdmi_vsdb(db)) {
 			hdmi = true;
@@ -5132,6 +5121,27 @@ bool drm_detect_hdmi_monitor(const struct edid *edid)
 
 	return hdmi;
 }
+
+/**
+ * drm_detect_hdmi_monitor - detect whether monitor is HDMI
+ * @edid: monitor EDID information
+ *
+ * Parse the CEA extension according to CEA-861-B.
+ *
+ * Drivers that have added the modes parsed from EDID to drm_display_info
+ * should use &drm_display_info.is_hdmi instead of calling this function.
+ *
+ * Return: True if the monitor is HDMI, false if not or unknown.
+ */
+bool drm_detect_hdmi_monitor(const struct edid *edid)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	return _drm_detect_hdmi_monitor(&drm_edid);
+}
 EXPORT_SYMBOL(drm_detect_hdmi_monitor);
 
 /**
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 20/25] drm/edid: add drm_edid helper for drm_detect_monitor_audio()
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 40 ++++++++++++++++++++++++--------------
 1 file changed, 25 insertions(+), 15 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 3277b4fd33ce..706552ae00ea 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -5144,19 +5144,7 @@ bool drm_detect_hdmi_monitor(const struct edid *edid)
 }
 EXPORT_SYMBOL(drm_detect_hdmi_monitor);
 
-/**
- * drm_detect_monitor_audio - check monitor audio capability
- * @edid: EDID block to scan
- *
- * Monitor should have CEA extension block.
- * If monitor has 'basic audio', but no CEA audio blocks, it's 'basic
- * audio' only. If there is any audio extension block and supported
- * audio format, assume at least 'basic audio' support, even if 'basic
- * audio' is not defined in EDID.
- *
- * Return: True if the monitor supports audio, false otherwise.
- */
-bool drm_detect_monitor_audio(const struct edid *edid)
+static bool _drm_detect_monitor_audio(const struct drm_edid *drm_edid)
 {
 	struct drm_edid_iter edid_iter;
 	const struct cea_db *db;
@@ -5164,7 +5152,7 @@ bool drm_detect_monitor_audio(const struct edid *edid)
 	const u8 *edid_ext;
 	bool has_audio = false;
 
-	drm_edid_iter_begin(edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
 	drm_edid_iter_for_each(edid_ext, &edid_iter) {
 		if (edid_ext[0] == CEA_EXT) {
 			has_audio = edid_ext[3] & EDID_BASIC_AUDIO;
@@ -5179,7 +5167,7 @@ bool drm_detect_monitor_audio(const struct edid *edid)
 		goto end;
 	}
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_AUDIO) {
 			const u8 *data = cea_db_data(db);
@@ -5197,6 +5185,28 @@ bool drm_detect_monitor_audio(const struct edid *edid)
 end:
 	return has_audio;
 }
+
+/**
+ * drm_detect_monitor_audio - check monitor audio capability
+ * @edid: EDID block to scan
+ *
+ * Monitor should have CEA extension block.
+ * If monitor has 'basic audio', but no CEA audio blocks, it's 'basic
+ * audio' only. If there is any audio extension block and supported
+ * audio format, assume at least 'basic audio' support, even if 'basic
+ * audio' is not defined in EDID.
+ *
+ * Return: True if the monitor supports audio, false otherwise.
+ */
+bool drm_detect_monitor_audio(const struct edid *edid)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	return _drm_detect_monitor_audio(&drm_edid);
+}
 EXPORT_SYMBOL(drm_detect_monitor_audio);
 
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 20/25] drm/edid: add drm_edid helper for drm_detect_monitor_audio()
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 40 ++++++++++++++++++++++++--------------
 1 file changed, 25 insertions(+), 15 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 3277b4fd33ce..706552ae00ea 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -5144,19 +5144,7 @@ bool drm_detect_hdmi_monitor(const struct edid *edid)
 }
 EXPORT_SYMBOL(drm_detect_hdmi_monitor);
 
-/**
- * drm_detect_monitor_audio - check monitor audio capability
- * @edid: EDID block to scan
- *
- * Monitor should have CEA extension block.
- * If monitor has 'basic audio', but no CEA audio blocks, it's 'basic
- * audio' only. If there is any audio extension block and supported
- * audio format, assume at least 'basic audio' support, even if 'basic
- * audio' is not defined in EDID.
- *
- * Return: True if the monitor supports audio, false otherwise.
- */
-bool drm_detect_monitor_audio(const struct edid *edid)
+static bool _drm_detect_monitor_audio(const struct drm_edid *drm_edid)
 {
 	struct drm_edid_iter edid_iter;
 	const struct cea_db *db;
@@ -5164,7 +5152,7 @@ bool drm_detect_monitor_audio(const struct edid *edid)
 	const u8 *edid_ext;
 	bool has_audio = false;
 
-	drm_edid_iter_begin(edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
 	drm_edid_iter_for_each(edid_ext, &edid_iter) {
 		if (edid_ext[0] == CEA_EXT) {
 			has_audio = edid_ext[3] & EDID_BASIC_AUDIO;
@@ -5179,7 +5167,7 @@ bool drm_detect_monitor_audio(const struct edid *edid)
 		goto end;
 	}
 
-	cea_db_iter_edid_begin(edid, &iter);
+	cea_db_iter_edid_begin(drm_edid->edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_AUDIO) {
 			const u8 *data = cea_db_data(db);
@@ -5197,6 +5185,28 @@ bool drm_detect_monitor_audio(const struct edid *edid)
 end:
 	return has_audio;
 }
+
+/**
+ * drm_detect_monitor_audio - check monitor audio capability
+ * @edid: EDID block to scan
+ *
+ * Monitor should have CEA extension block.
+ * If monitor has 'basic audio', but no CEA audio blocks, it's 'basic
+ * audio' only. If there is any audio extension block and supported
+ * audio format, assume at least 'basic audio' support, even if 'basic
+ * audio' is not defined in EDID.
+ *
+ * Return: True if the monitor supports audio, false otherwise.
+ */
+bool drm_detect_monitor_audio(const struct edid *edid)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	return _drm_detect_monitor_audio(&drm_edid);
+}
 EXPORT_SYMBOL(drm_detect_monitor_audio);
 
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 21/25] drm/edid: convert cea_db_iter_edid_begin() to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 706552ae00ea..82a242a71ecf 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -4430,12 +4430,13 @@ static bool cea_db_is_vendor(const struct cea_db *db, int vendor_oui)
 		oui(data[2], data[1], data[0]) == vendor_oui;
 }
 
-static void cea_db_iter_edid_begin(const struct edid *edid, struct cea_db_iter *iter)
+static void cea_db_iter_edid_begin(const struct drm_edid *drm_edid,
+				   struct cea_db_iter *iter)
 {
 	memset(iter, 0, sizeof(*iter));
 
-	drm_edid_iter_begin(edid, &iter->edid_iter);
-	displayid_iter_edid_begin(edid, &iter->displayid_iter);
+	drm_edid_iter_begin(drm_edid->edid, &iter->edid_iter);
+	displayid_iter_edid_begin(drm_edid->edid, &iter->displayid_iter);
 }
 
 static const struct cea_db *
@@ -4657,7 +4658,7 @@ static int add_cea_modes(struct drm_connector *connector,
 	struct cea_db_iter iter;
 	int modes = 0;
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		const u8 *hdmi = NULL, *video = NULL;
 		u8 hdmi_len = 0, video_len = 0;
@@ -4908,7 +4909,7 @@ static void drm_edid_to_eld(struct drm_connector *connector,
 	eld[DRM_ELD_PRODUCT_CODE0] = drm_edid->edid->prod_code[0];
 	eld[DRM_ELD_PRODUCT_CODE1] = drm_edid->edid->prod_code[1];
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		const u8 *data = cea_db_data(db);
 		int len = cea_db_payload_len(db);
@@ -4961,7 +4962,7 @@ static int _drm_edid_to_sad(const struct drm_edid *drm_edid,
 	struct cea_db_iter iter;
 	int count = 0;
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_AUDIO) {
 			int j;
@@ -5017,7 +5018,7 @@ static int _drm_edid_to_speaker_allocation(const struct drm_edid *drm_edid,
 	struct cea_db_iter iter;
 	int count = 0;
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_SPEAKER &&
 		    cea_db_payload_len(db) == 3) {
@@ -5110,7 +5111,7 @@ static bool _drm_detect_hdmi_monitor(const struct drm_edid *drm_edid)
 	 * Because HDMI identifier is in Vendor Specific Block,
 	 * search it from all data blocks of CEA extension.
 	 */
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_is_hdmi_vsdb(db)) {
 			hdmi = true;
@@ -5167,7 +5168,7 @@ static bool _drm_detect_monitor_audio(const struct drm_edid *drm_edid)
 		goto end;
 	}
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_AUDIO) {
 			const u8 *data = cea_db_data(db);
@@ -5529,7 +5530,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
 	}
 	drm_edid_iter_end(&edid_iter);
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		/* FIXME: convert parsers to use struct cea_db */
 		const u8 *data = (const u8 *)db;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 21/25] drm/edid: convert cea_db_iter_edid_begin() to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 706552ae00ea..82a242a71ecf 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -4430,12 +4430,13 @@ static bool cea_db_is_vendor(const struct cea_db *db, int vendor_oui)
 		oui(data[2], data[1], data[0]) == vendor_oui;
 }
 
-static void cea_db_iter_edid_begin(const struct edid *edid, struct cea_db_iter *iter)
+static void cea_db_iter_edid_begin(const struct drm_edid *drm_edid,
+				   struct cea_db_iter *iter)
 {
 	memset(iter, 0, sizeof(*iter));
 
-	drm_edid_iter_begin(edid, &iter->edid_iter);
-	displayid_iter_edid_begin(edid, &iter->displayid_iter);
+	drm_edid_iter_begin(drm_edid->edid, &iter->edid_iter);
+	displayid_iter_edid_begin(drm_edid->edid, &iter->displayid_iter);
 }
 
 static const struct cea_db *
@@ -4657,7 +4658,7 @@ static int add_cea_modes(struct drm_connector *connector,
 	struct cea_db_iter iter;
 	int modes = 0;
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		const u8 *hdmi = NULL, *video = NULL;
 		u8 hdmi_len = 0, video_len = 0;
@@ -4908,7 +4909,7 @@ static void drm_edid_to_eld(struct drm_connector *connector,
 	eld[DRM_ELD_PRODUCT_CODE0] = drm_edid->edid->prod_code[0];
 	eld[DRM_ELD_PRODUCT_CODE1] = drm_edid->edid->prod_code[1];
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		const u8 *data = cea_db_data(db);
 		int len = cea_db_payload_len(db);
@@ -4961,7 +4962,7 @@ static int _drm_edid_to_sad(const struct drm_edid *drm_edid,
 	struct cea_db_iter iter;
 	int count = 0;
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_AUDIO) {
 			int j;
@@ -5017,7 +5018,7 @@ static int _drm_edid_to_speaker_allocation(const struct drm_edid *drm_edid,
 	struct cea_db_iter iter;
 	int count = 0;
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_SPEAKER &&
 		    cea_db_payload_len(db) == 3) {
@@ -5110,7 +5111,7 @@ static bool _drm_detect_hdmi_monitor(const struct drm_edid *drm_edid)
 	 * Because HDMI identifier is in Vendor Specific Block,
 	 * search it from all data blocks of CEA extension.
 	 */
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_is_hdmi_vsdb(db)) {
 			hdmi = true;
@@ -5167,7 +5168,7 @@ static bool _drm_detect_monitor_audio(const struct drm_edid *drm_edid)
 		goto end;
 	}
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		if (cea_db_tag(db) == CTA_DB_AUDIO) {
 			const u8 *data = cea_db_data(db);
@@ -5529,7 +5530,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
 	}
 	drm_edid_iter_end(&edid_iter);
 
-	cea_db_iter_edid_begin(drm_edid->edid, &iter);
+	cea_db_iter_edid_begin(drm_edid, &iter);
 	cea_db_iter_for_each(db, &iter) {
 		/* FIXME: convert parsers to use struct cea_db */
 		const u8 *data = (const u8 *)db;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 22/25] drm/edid: convert drm_edid_iter_begin() to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 82a242a71ecf..b453bbf2f642 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -1614,36 +1614,36 @@ static const void *edid_extension_block_data(const struct edid *edid, int index)
  * struct drm_edid_iter iter;
  * const u8 *block;
  *
- * drm_edid_iter_begin(edid, &iter);
+ * drm_edid_iter_begin(drm_edid, &iter);
  * drm_edid_iter_for_each(block, &iter) {
  *         // do stuff with block
  * }
  * drm_edid_iter_end(&iter);
  */
 struct drm_edid_iter {
-	const struct edid *edid;
+	const struct drm_edid *drm_edid;
 
 	/* Current block index. */
 	int index;
 };
 
-static void drm_edid_iter_begin(const struct edid *edid,
+static void drm_edid_iter_begin(const struct drm_edid *drm_edid,
 				struct drm_edid_iter *iter)
 {
 	memset(iter, 0, sizeof(*iter));
 
-	iter->edid = edid;
+	iter->drm_edid = drm_edid;
 }
 
 static const void *__drm_edid_iter_next(struct drm_edid_iter *iter)
 {
 	const void *block = NULL;
 
-	if (!iter->edid)
+	if (!iter->drm_edid)
 		return NULL;
 
-	if (iter->index < edid_block_count(iter->edid))
-		block = edid_block_data(iter->edid, iter->index++);
+	if (iter->index < edid_block_count(iter->drm_edid->edid))
+		block = edid_block_data(iter->drm_edid->edid, iter->index++);
 
 	return block;
 }
@@ -2593,7 +2593,7 @@ static void drm_for_each_detailed_block(const struct drm_edid *drm_edid,
 	for (i = 0; i < EDID_DETAILED_TIMINGS; i++)
 		cb(&(drm_edid->edid->detailed_timings[i]), closure);
 
-	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid, &edid_iter);
 	drm_edid_iter_for_each(ext, &edid_iter) {
 		switch (*ext) {
 		case CEA_EXT:
@@ -4435,7 +4435,7 @@ static void cea_db_iter_edid_begin(const struct drm_edid *drm_edid,
 {
 	memset(iter, 0, sizeof(*iter));
 
-	drm_edid_iter_begin(drm_edid->edid, &iter->edid_iter);
+	drm_edid_iter_begin(drm_edid, &iter->edid_iter);
 	displayid_iter_edid_begin(drm_edid->edid, &iter->displayid_iter);
 }
 
@@ -5153,7 +5153,7 @@ static bool _drm_detect_monitor_audio(const struct drm_edid *drm_edid)
 	const u8 *edid_ext;
 	bool has_audio = false;
 
-	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid, &edid_iter);
 	drm_edid_iter_for_each(edid_ext, &edid_iter) {
 		if (edid_ext[0] == CEA_EXT) {
 			has_audio = edid_ext[3] & EDID_BASIC_AUDIO;
@@ -5509,7 +5509,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
 	struct cea_db_iter iter;
 	const u8 *edid_ext;
 
-	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid, &edid_iter);
 	drm_edid_iter_for_each(edid_ext, &edid_iter) {
 		if (edid_ext[0] != CEA_EXT)
 			continue;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 22/25] drm/edid: convert drm_edid_iter_begin() to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 82a242a71ecf..b453bbf2f642 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -1614,36 +1614,36 @@ static const void *edid_extension_block_data(const struct edid *edid, int index)
  * struct drm_edid_iter iter;
  * const u8 *block;
  *
- * drm_edid_iter_begin(edid, &iter);
+ * drm_edid_iter_begin(drm_edid, &iter);
  * drm_edid_iter_for_each(block, &iter) {
  *         // do stuff with block
  * }
  * drm_edid_iter_end(&iter);
  */
 struct drm_edid_iter {
-	const struct edid *edid;
+	const struct drm_edid *drm_edid;
 
 	/* Current block index. */
 	int index;
 };
 
-static void drm_edid_iter_begin(const struct edid *edid,
+static void drm_edid_iter_begin(const struct drm_edid *drm_edid,
 				struct drm_edid_iter *iter)
 {
 	memset(iter, 0, sizeof(*iter));
 
-	iter->edid = edid;
+	iter->drm_edid = drm_edid;
 }
 
 static const void *__drm_edid_iter_next(struct drm_edid_iter *iter)
 {
 	const void *block = NULL;
 
-	if (!iter->edid)
+	if (!iter->drm_edid)
 		return NULL;
 
-	if (iter->index < edid_block_count(iter->edid))
-		block = edid_block_data(iter->edid, iter->index++);
+	if (iter->index < edid_block_count(iter->drm_edid->edid))
+		block = edid_block_data(iter->drm_edid->edid, iter->index++);
 
 	return block;
 }
@@ -2593,7 +2593,7 @@ static void drm_for_each_detailed_block(const struct drm_edid *drm_edid,
 	for (i = 0; i < EDID_DETAILED_TIMINGS; i++)
 		cb(&(drm_edid->edid->detailed_timings[i]), closure);
 
-	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid, &edid_iter);
 	drm_edid_iter_for_each(ext, &edid_iter) {
 		switch (*ext) {
 		case CEA_EXT:
@@ -4435,7 +4435,7 @@ static void cea_db_iter_edid_begin(const struct drm_edid *drm_edid,
 {
 	memset(iter, 0, sizeof(*iter));
 
-	drm_edid_iter_begin(drm_edid->edid, &iter->edid_iter);
+	drm_edid_iter_begin(drm_edid, &iter->edid_iter);
 	displayid_iter_edid_begin(drm_edid->edid, &iter->displayid_iter);
 }
 
@@ -5153,7 +5153,7 @@ static bool _drm_detect_monitor_audio(const struct drm_edid *drm_edid)
 	const u8 *edid_ext;
 	bool has_audio = false;
 
-	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid, &edid_iter);
 	drm_edid_iter_for_each(edid_ext, &edid_iter) {
 		if (edid_ext[0] == CEA_EXT) {
 			has_audio = edid_ext[3] & EDID_BASIC_AUDIO;
@@ -5509,7 +5509,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
 	struct cea_db_iter iter;
 	const u8 *edid_ext;
 
-	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
+	drm_edid_iter_begin(drm_edid, &edid_iter);
 	drm_edid_iter_for_each(edid_ext, &edid_iter) {
 		if (edid_ext[0] != CEA_EXT)
 			continue;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 23/25] drm/edid: add drm_edid helper for drm_update_tile_info()
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index b453bbf2f642..82db7afb4f8e 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -6363,15 +6363,15 @@ static void drm_parse_tiled_block(struct drm_connector *connector,
 	}
 }
 
-void drm_update_tile_info(struct drm_connector *connector,
-			  const struct edid *edid)
+static void _drm_update_tile_info(struct drm_connector *connector,
+				  const struct drm_edid *drm_edid)
 {
 	const struct displayid_block *block;
 	struct displayid_iter iter;
 
 	connector->has_tile = false;
 
-	displayid_iter_edid_begin(edid, &iter);
+	displayid_iter_edid_begin(drm_edid ? drm_edid->edid : NULL, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_TILED_DISPLAY)
 			drm_parse_tiled_block(connector, block);
@@ -6383,3 +6383,14 @@ void drm_update_tile_info(struct drm_connector *connector,
 		connector->tile_group = NULL;
 	}
 }
+
+void drm_update_tile_info(struct drm_connector *connector,
+			  const struct edid *edid)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	_drm_update_tile_info(connector, &drm_edid);
+}
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 23/25] drm/edid: add drm_edid helper for drm_update_tile_info()
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index b453bbf2f642..82db7afb4f8e 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -6363,15 +6363,15 @@ static void drm_parse_tiled_block(struct drm_connector *connector,
 	}
 }
 
-void drm_update_tile_info(struct drm_connector *connector,
-			  const struct edid *edid)
+static void _drm_update_tile_info(struct drm_connector *connector,
+				  const struct drm_edid *drm_edid)
 {
 	const struct displayid_block *block;
 	struct displayid_iter iter;
 
 	connector->has_tile = false;
 
-	displayid_iter_edid_begin(edid, &iter);
+	displayid_iter_edid_begin(drm_edid ? drm_edid->edid : NULL, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_TILED_DISPLAY)
 			drm_parse_tiled_block(connector, block);
@@ -6383,3 +6383,14 @@ void drm_update_tile_info(struct drm_connector *connector,
 		connector->tile_group = NULL;
 	}
 }
+
+void drm_update_tile_info(struct drm_connector *connector,
+			  const struct edid *edid)
+{
+	struct drm_edid drm_edid = {
+		.edid = edid,
+		.size = edid_size(edid),
+	};
+
+	_drm_update_tile_info(connector, &drm_edid);
+}
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 24/25] drm/displayid: convert to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_displayid.c | 16 ++++++++--------
 drivers/gpu/drm/drm_edid.c      | 17 ++++++++++-------
 include/drm/drm_displayid.h     |  6 +++---
 include/drm/drm_edid.h          |  6 ++++--
 4 files changed, 25 insertions(+), 20 deletions(-)

diff --git a/drivers/gpu/drm/drm_displayid.c b/drivers/gpu/drm/drm_displayid.c
index 32da557b960f..38ea8203df45 100644
--- a/drivers/gpu/drm/drm_displayid.c
+++ b/drivers/gpu/drm/drm_displayid.c
@@ -33,11 +33,11 @@ static int validate_displayid(const u8 *displayid, int length, int idx)
 	return 0;
 }
 
-static const u8 *drm_find_displayid_extension(const struct edid *edid,
+static const u8 *drm_find_displayid_extension(const struct drm_edid *drm_edid,
 					      int *length, int *idx,
 					      int *ext_index)
 {
-	const u8 *displayid = drm_find_edid_extension(edid, DISPLAYID_EXT, ext_index);
+	const u8 *displayid = drm_find_edid_extension(drm_edid, DISPLAYID_EXT, ext_index);
 	const struct displayid_header *base;
 	int ret;
 
@@ -58,12 +58,12 @@ static const u8 *drm_find_displayid_extension(const struct edid *edid,
 	return displayid;
 }
 
-void displayid_iter_edid_begin(const struct edid *edid,
+void displayid_iter_edid_begin(const struct drm_edid *drm_edid,
 			       struct displayid_iter *iter)
 {
 	memset(iter, 0, sizeof(*iter));
 
-	iter->edid = edid;
+	iter->drm_edid = drm_edid;
 }
 
 static const struct displayid_block *
@@ -88,7 +88,7 @@ __displayid_iter_next(struct displayid_iter *iter)
 {
 	const struct displayid_block *block;
 
-	if (!iter->edid)
+	if (!iter->drm_edid)
 		return NULL;
 
 	if (iter->section) {
@@ -96,7 +96,7 @@ __displayid_iter_next(struct displayid_iter *iter)
 		block = displayid_iter_block(iter);
 		if (WARN_ON(!block)) {
 			iter->section = NULL;
-			iter->edid = NULL;
+			iter->drm_edid = NULL;
 			return NULL;
 		}
 
@@ -109,12 +109,12 @@ __displayid_iter_next(struct displayid_iter *iter)
 	}
 
 	for (;;) {
-		iter->section = drm_find_displayid_extension(iter->edid,
+		iter->section = drm_find_displayid_extension(iter->drm_edid,
 							     &iter->length,
 							     &iter->idx,
 							     &iter->ext_index);
 		if (!iter->section) {
-			iter->edid = NULL;
+			iter->drm_edid = NULL;
 			return NULL;
 		}
 
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 82db7afb4f8e..bc64837ad706 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -3545,10 +3545,13 @@ static int add_detailed_modes(struct drm_connector *connector,
 
 /*
  * Search EDID for CEA extension block.
+ *
+ * FIXME: Prefer not returning pointers to raw EDID data.
  */
-const u8 *drm_find_edid_extension(const struct edid *edid,
+const u8 *drm_find_edid_extension(const struct drm_edid *drm_edid,
 				  int ext_id, int *ext_index)
 {
+	const struct edid *edid = drm_edid ? drm_edid->edid : NULL;
 	const u8 *edid_ext = NULL;
 	int i;
 
@@ -3580,11 +3583,11 @@ static bool drm_edid_has_cta_extension(const struct drm_edid *drm_edid)
 	bool found = false;
 
 	/* Look for a top level CEA extension block */
-	if (drm_find_edid_extension(drm_edid->edid, CEA_EXT, &ext_index))
+	if (drm_find_edid_extension(drm_edid, CEA_EXT, &ext_index))
 		return true;
 
 	/* CEA blocks can also be found embedded in a DisplayID block */
-	displayid_iter_edid_begin(drm_edid->edid, &iter);
+	displayid_iter_edid_begin(drm_edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_CTA) {
 			found = true;
@@ -4436,7 +4439,7 @@ static void cea_db_iter_edid_begin(const struct drm_edid *drm_edid,
 	memset(iter, 0, sizeof(*iter));
 
 	drm_edid_iter_begin(drm_edid, &iter->edid_iter);
-	displayid_iter_edid_begin(drm_edid->edid, &iter->displayid_iter);
+	displayid_iter_edid_begin(drm_edid, &iter->displayid_iter);
 }
 
 static const struct cea_db *
@@ -5650,7 +5653,7 @@ static void drm_update_mso(struct drm_connector *connector,
 	const struct displayid_block *block;
 	struct displayid_iter iter;
 
-	displayid_iter_edid_begin(drm_edid->edid, &iter);
+	displayid_iter_edid_begin(drm_edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_2_VENDOR_SPECIFIC)
 			drm_parse_vesa_mso_data(connector, block);
@@ -5867,7 +5870,7 @@ static int add_displayid_detailed_modes(struct drm_connector *connector,
 	struct displayid_iter iter;
 	int num_modes = 0;
 
-	displayid_iter_edid_begin(drm_edid->edid, &iter);
+	displayid_iter_edid_begin(drm_edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_TYPE_1_DETAILED_TIMING ||
 		    block->tag == DATA_BLOCK_2_TYPE_7_DETAILED_TIMING)
@@ -6371,7 +6374,7 @@ static void _drm_update_tile_info(struct drm_connector *connector,
 
 	connector->has_tile = false;
 
-	displayid_iter_edid_begin(drm_edid ? drm_edid->edid : NULL, &iter);
+	displayid_iter_edid_begin(drm_edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_TILED_DISPLAY)
 			drm_parse_tiled_block(connector, block);
diff --git a/include/drm/drm_displayid.h b/include/drm/drm_displayid.h
index 7ffbd9f7bfc7..49649eb8447e 100644
--- a/include/drm/drm_displayid.h
+++ b/include/drm/drm_displayid.h
@@ -25,7 +25,7 @@
 #include <linux/types.h>
 #include <linux/bits.h>
 
-struct edid;
+struct drm_edid;
 
 #define VESA_IEEE_OUI				0x3a0292
 
@@ -141,7 +141,7 @@ struct displayid_vesa_vendor_specific_block {
 
 /* DisplayID iteration */
 struct displayid_iter {
-	const struct edid *edid;
+	const struct drm_edid *drm_edid;
 
 	const u8 *section;
 	int length;
@@ -149,7 +149,7 @@ struct displayid_iter {
 	int ext_index;
 };
 
-void displayid_iter_edid_begin(const struct edid *edid,
+void displayid_iter_edid_begin(const struct drm_edid *drm_edid,
 			       struct displayid_iter *iter);
 const struct displayid_block *
 __displayid_iter_next(struct displayid_iter *iter);
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index c3204a58fb09..c61e75ab8f63 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -28,6 +28,7 @@
 #include <drm/drm_mode.h>
 
 struct drm_device;
+struct drm_edid;
 struct i2c_adapter;
 
 #define EDID_LENGTH 128
@@ -578,8 +579,9 @@ struct drm_display_mode *drm_mode_find_dmt(struct drm_device *dev,
 struct drm_display_mode *
 drm_display_mode_from_cea_vic(struct drm_device *dev,
 			      u8 video_code);
-const u8 *drm_find_edid_extension(const struct edid *edid,
-				  int ext_id, int *ext_index);
 
+/* Interface based on struct drm_edid */
+const u8 *drm_find_edid_extension(const struct drm_edid *drm_edid,
+				  int ext_id, int *ext_index);
 
 #endif /* __DRM_EDID_H__ */
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 24/25] drm/displayid: convert to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_displayid.c | 16 ++++++++--------
 drivers/gpu/drm/drm_edid.c      | 17 ++++++++++-------
 include/drm/drm_displayid.h     |  6 +++---
 include/drm/drm_edid.h          |  6 ++++--
 4 files changed, 25 insertions(+), 20 deletions(-)

diff --git a/drivers/gpu/drm/drm_displayid.c b/drivers/gpu/drm/drm_displayid.c
index 32da557b960f..38ea8203df45 100644
--- a/drivers/gpu/drm/drm_displayid.c
+++ b/drivers/gpu/drm/drm_displayid.c
@@ -33,11 +33,11 @@ static int validate_displayid(const u8 *displayid, int length, int idx)
 	return 0;
 }
 
-static const u8 *drm_find_displayid_extension(const struct edid *edid,
+static const u8 *drm_find_displayid_extension(const struct drm_edid *drm_edid,
 					      int *length, int *idx,
 					      int *ext_index)
 {
-	const u8 *displayid = drm_find_edid_extension(edid, DISPLAYID_EXT, ext_index);
+	const u8 *displayid = drm_find_edid_extension(drm_edid, DISPLAYID_EXT, ext_index);
 	const struct displayid_header *base;
 	int ret;
 
@@ -58,12 +58,12 @@ static const u8 *drm_find_displayid_extension(const struct edid *edid,
 	return displayid;
 }
 
-void displayid_iter_edid_begin(const struct edid *edid,
+void displayid_iter_edid_begin(const struct drm_edid *drm_edid,
 			       struct displayid_iter *iter)
 {
 	memset(iter, 0, sizeof(*iter));
 
-	iter->edid = edid;
+	iter->drm_edid = drm_edid;
 }
 
 static const struct displayid_block *
@@ -88,7 +88,7 @@ __displayid_iter_next(struct displayid_iter *iter)
 {
 	const struct displayid_block *block;
 
-	if (!iter->edid)
+	if (!iter->drm_edid)
 		return NULL;
 
 	if (iter->section) {
@@ -96,7 +96,7 @@ __displayid_iter_next(struct displayid_iter *iter)
 		block = displayid_iter_block(iter);
 		if (WARN_ON(!block)) {
 			iter->section = NULL;
-			iter->edid = NULL;
+			iter->drm_edid = NULL;
 			return NULL;
 		}
 
@@ -109,12 +109,12 @@ __displayid_iter_next(struct displayid_iter *iter)
 	}
 
 	for (;;) {
-		iter->section = drm_find_displayid_extension(iter->edid,
+		iter->section = drm_find_displayid_extension(iter->drm_edid,
 							     &iter->length,
 							     &iter->idx,
 							     &iter->ext_index);
 		if (!iter->section) {
-			iter->edid = NULL;
+			iter->drm_edid = NULL;
 			return NULL;
 		}
 
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 82db7afb4f8e..bc64837ad706 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -3545,10 +3545,13 @@ static int add_detailed_modes(struct drm_connector *connector,
 
 /*
  * Search EDID for CEA extension block.
+ *
+ * FIXME: Prefer not returning pointers to raw EDID data.
  */
-const u8 *drm_find_edid_extension(const struct edid *edid,
+const u8 *drm_find_edid_extension(const struct drm_edid *drm_edid,
 				  int ext_id, int *ext_index)
 {
+	const struct edid *edid = drm_edid ? drm_edid->edid : NULL;
 	const u8 *edid_ext = NULL;
 	int i;
 
@@ -3580,11 +3583,11 @@ static bool drm_edid_has_cta_extension(const struct drm_edid *drm_edid)
 	bool found = false;
 
 	/* Look for a top level CEA extension block */
-	if (drm_find_edid_extension(drm_edid->edid, CEA_EXT, &ext_index))
+	if (drm_find_edid_extension(drm_edid, CEA_EXT, &ext_index))
 		return true;
 
 	/* CEA blocks can also be found embedded in a DisplayID block */
-	displayid_iter_edid_begin(drm_edid->edid, &iter);
+	displayid_iter_edid_begin(drm_edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_CTA) {
 			found = true;
@@ -4436,7 +4439,7 @@ static void cea_db_iter_edid_begin(const struct drm_edid *drm_edid,
 	memset(iter, 0, sizeof(*iter));
 
 	drm_edid_iter_begin(drm_edid, &iter->edid_iter);
-	displayid_iter_edid_begin(drm_edid->edid, &iter->displayid_iter);
+	displayid_iter_edid_begin(drm_edid, &iter->displayid_iter);
 }
 
 static const struct cea_db *
@@ -5650,7 +5653,7 @@ static void drm_update_mso(struct drm_connector *connector,
 	const struct displayid_block *block;
 	struct displayid_iter iter;
 
-	displayid_iter_edid_begin(drm_edid->edid, &iter);
+	displayid_iter_edid_begin(drm_edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_2_VENDOR_SPECIFIC)
 			drm_parse_vesa_mso_data(connector, block);
@@ -5867,7 +5870,7 @@ static int add_displayid_detailed_modes(struct drm_connector *connector,
 	struct displayid_iter iter;
 	int num_modes = 0;
 
-	displayid_iter_edid_begin(drm_edid->edid, &iter);
+	displayid_iter_edid_begin(drm_edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_TYPE_1_DETAILED_TIMING ||
 		    block->tag == DATA_BLOCK_2_TYPE_7_DETAILED_TIMING)
@@ -6371,7 +6374,7 @@ static void _drm_update_tile_info(struct drm_connector *connector,
 
 	connector->has_tile = false;
 
-	displayid_iter_edid_begin(drm_edid ? drm_edid->edid : NULL, &iter);
+	displayid_iter_edid_begin(drm_edid, &iter);
 	displayid_iter_for_each(block, &iter) {
 		if (block->tag == DATA_BLOCK_TILED_DISPLAY)
 			drm_parse_tiled_block(connector, block);
diff --git a/include/drm/drm_displayid.h b/include/drm/drm_displayid.h
index 7ffbd9f7bfc7..49649eb8447e 100644
--- a/include/drm/drm_displayid.h
+++ b/include/drm/drm_displayid.h
@@ -25,7 +25,7 @@
 #include <linux/types.h>
 #include <linux/bits.h>
 
-struct edid;
+struct drm_edid;
 
 #define VESA_IEEE_OUI				0x3a0292
 
@@ -141,7 +141,7 @@ struct displayid_vesa_vendor_specific_block {
 
 /* DisplayID iteration */
 struct displayid_iter {
-	const struct edid *edid;
+	const struct drm_edid *drm_edid;
 
 	const u8 *section;
 	int length;
@@ -149,7 +149,7 @@ struct displayid_iter {
 	int ext_index;
 };
 
-void displayid_iter_edid_begin(const struct edid *edid,
+void displayid_iter_edid_begin(const struct drm_edid *drm_edid,
 			       struct displayid_iter *iter);
 const struct displayid_block *
 __displayid_iter_next(struct displayid_iter *iter);
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index c3204a58fb09..c61e75ab8f63 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -28,6 +28,7 @@
 #include <drm/drm_mode.h>
 
 struct drm_device;
+struct drm_edid;
 struct i2c_adapter;
 
 #define EDID_LENGTH 128
@@ -578,8 +579,9 @@ struct drm_display_mode *drm_mode_find_dmt(struct drm_device *dev,
 struct drm_display_mode *
 drm_display_mode_from_cea_vic(struct drm_device *dev,
 			      u8 video_code);
-const u8 *drm_find_edid_extension(const struct edid *edid,
-				  int ext_id, int *ext_index);
 
+/* Interface based on struct drm_edid */
+const u8 *drm_find_edid_extension(const struct drm_edid *drm_edid,
+				  int ext_id, int *ext_index);
 
 #endif /* __DRM_EDID_H__ */
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [PATCH 25/25] drm/edid: convert version_greater() to drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:10   ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere. Also make version_greater()
a function for type safety.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index bc64837ad706..df48189ba2c7 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -45,10 +45,6 @@
 
 #include "drm_crtc_internal.h"
 
-#define version_greater(edid, maj, min) \
-	(((edid)->version > (maj)) || \
-	 ((edid)->version == (maj) && (edid)->revision > (min)))
-
 static int oui(u8 first, u8 second, u8 third)
 {
 	return (first << 16) | (second << 8) | third;
@@ -1576,6 +1572,15 @@ struct drm_edid {
 	const struct edid *edid;
 };
 
+static bool version_greater(const struct drm_edid *drm_edid,
+			    u8 version, u8 revision)
+{
+	const struct edid *edid = drm_edid->edid;
+
+	return edid->version > version ||
+		(edid->version == version && edid->revision > revision);
+}
+
 static int edid_extension_block_count(const struct edid *edid)
 {
 	return edid->extensions;
@@ -3214,7 +3219,7 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 						  closure->drm_edid,
 						  timing);
 
-	if (!version_greater(closure->drm_edid->edid, 1, 1))
+	if (!version_greater(closure->drm_edid, 1, 1))
 		return; /* GTF not defined yet */
 
 	switch (range->flags) {
@@ -3225,7 +3230,7 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 							  timing);
 		break;
 	case 0x04: /* cvt, only in 1.4+ */
-		if (!version_greater(closure->drm_edid->edid, 1, 3))
+		if (!version_greater(closure->drm_edid, 1, 3))
 			break;
 
 		closure->modes += drm_cvt_modes_for_range(closure->connector,
@@ -3246,7 +3251,7 @@ static int add_inferred_modes(struct drm_connector *connector,
 		.drm_edid = drm_edid,
 	};
 
-	if (version_greater(drm_edid->edid, 1, 0))
+	if (version_greater(drm_edid, 1, 0))
 		drm_for_each_detailed_block(drm_edid, do_inferred_modes, &closure);
 
 	return closure.modes;
@@ -3323,7 +3328,7 @@ static int add_established_modes(struct drm_connector *connector,
 		}
 	}
 
-	if (version_greater(edid, 1, 0))
+	if (version_greater(drm_edid, 1, 0))
 		drm_for_each_detailed_block(drm_edid, do_established_modes,
 					    &closure);
 
@@ -3378,7 +3383,7 @@ static int add_standard_modes(struct drm_connector *connector,
 		}
 	}
 
-	if (version_greater(drm_edid->edid, 1, 0))
+	if (version_greater(drm_edid, 1, 0))
 		drm_for_each_detailed_block(drm_edid, do_standard_modes,
 					    &closure);
 
@@ -3458,7 +3463,7 @@ add_cvt_modes(struct drm_connector *connector, const struct drm_edid *drm_edid)
 		.drm_edid = drm_edid,
 	};
 
-	if (version_greater(drm_edid->edid, 1, 2))
+	if (version_greater(drm_edid, 1, 2))
 		drm_for_each_detailed_block(drm_edid, do_cvt_mode, &closure);
 
 	/* XXX should also look for CVT codes in VTB blocks */
@@ -3514,7 +3519,7 @@ static int add_detailed_modes(struct drm_connector *connector,
 		.quirks = quirks,
 	};
 
-	if (closure.preferred && !version_greater(drm_edid->edid, 1, 3))
+	if (closure.preferred && !version_greater(drm_edid, 1, 3))
 		closure.preferred =
 		    (drm_edid->edid->features & DRM_EDID_FEATURE_PREFERRED_TIMING);
 
@@ -5584,7 +5589,7 @@ static void drm_get_monitor_range(struct drm_connector *connector,
 {
 	struct drm_display_info *info = &connector->display_info;
 
-	if (!version_greater(drm_edid->edid, 1, 1))
+	if (!version_greater(drm_edid, 1, 1))
 		return;
 
 	drm_for_each_detailed_block(drm_edid, get_monitor_range,
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* [Intel-gfx] [PATCH 25/25] drm/edid: convert version_greater() to drm_edid
@ 2022-05-06 10:10   ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:10 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula, intel-gfx

We'll need to propagate drm_edid everywhere. Also make version_greater()
a function for type safety.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/drm_edid.c | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index bc64837ad706..df48189ba2c7 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -45,10 +45,6 @@
 
 #include "drm_crtc_internal.h"
 
-#define version_greater(edid, maj, min) \
-	(((edid)->version > (maj)) || \
-	 ((edid)->version == (maj) && (edid)->revision > (min)))
-
 static int oui(u8 first, u8 second, u8 third)
 {
 	return (first << 16) | (second << 8) | third;
@@ -1576,6 +1572,15 @@ struct drm_edid {
 	const struct edid *edid;
 };
 
+static bool version_greater(const struct drm_edid *drm_edid,
+			    u8 version, u8 revision)
+{
+	const struct edid *edid = drm_edid->edid;
+
+	return edid->version > version ||
+		(edid->version == version && edid->revision > revision);
+}
+
 static int edid_extension_block_count(const struct edid *edid)
 {
 	return edid->extensions;
@@ -3214,7 +3219,7 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 						  closure->drm_edid,
 						  timing);
 
-	if (!version_greater(closure->drm_edid->edid, 1, 1))
+	if (!version_greater(closure->drm_edid, 1, 1))
 		return; /* GTF not defined yet */
 
 	switch (range->flags) {
@@ -3225,7 +3230,7 @@ do_inferred_modes(const struct detailed_timing *timing, void *c)
 							  timing);
 		break;
 	case 0x04: /* cvt, only in 1.4+ */
-		if (!version_greater(closure->drm_edid->edid, 1, 3))
+		if (!version_greater(closure->drm_edid, 1, 3))
 			break;
 
 		closure->modes += drm_cvt_modes_for_range(closure->connector,
@@ -3246,7 +3251,7 @@ static int add_inferred_modes(struct drm_connector *connector,
 		.drm_edid = drm_edid,
 	};
 
-	if (version_greater(drm_edid->edid, 1, 0))
+	if (version_greater(drm_edid, 1, 0))
 		drm_for_each_detailed_block(drm_edid, do_inferred_modes, &closure);
 
 	return closure.modes;
@@ -3323,7 +3328,7 @@ static int add_established_modes(struct drm_connector *connector,
 		}
 	}
 
-	if (version_greater(edid, 1, 0))
+	if (version_greater(drm_edid, 1, 0))
 		drm_for_each_detailed_block(drm_edid, do_established_modes,
 					    &closure);
 
@@ -3378,7 +3383,7 @@ static int add_standard_modes(struct drm_connector *connector,
 		}
 	}
 
-	if (version_greater(drm_edid->edid, 1, 0))
+	if (version_greater(drm_edid, 1, 0))
 		drm_for_each_detailed_block(drm_edid, do_standard_modes,
 					    &closure);
 
@@ -3458,7 +3463,7 @@ add_cvt_modes(struct drm_connector *connector, const struct drm_edid *drm_edid)
 		.drm_edid = drm_edid,
 	};
 
-	if (version_greater(drm_edid->edid, 1, 2))
+	if (version_greater(drm_edid, 1, 2))
 		drm_for_each_detailed_block(drm_edid, do_cvt_mode, &closure);
 
 	/* XXX should also look for CVT codes in VTB blocks */
@@ -3514,7 +3519,7 @@ static int add_detailed_modes(struct drm_connector *connector,
 		.quirks = quirks,
 	};
 
-	if (closure.preferred && !version_greater(drm_edid->edid, 1, 3))
+	if (closure.preferred && !version_greater(drm_edid, 1, 3))
 		closure.preferred =
 		    (drm_edid->edid->features & DRM_EDID_FEATURE_PREFERRED_TIMING);
 
@@ -5584,7 +5589,7 @@ static void drm_get_monitor_range(struct drm_connector *connector,
 {
 	struct drm_display_info *info = &connector->display_info;
 
-	if (!version_greater(drm_edid->edid, 1, 1))
+	if (!version_greater(drm_edid, 1, 1))
 		return;
 
 	drm_for_each_detailed_block(drm_edid, get_monitor_range,
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 78+ messages in thread

* Re: [PATCH 05/25] drm/edid: keep propagating drm_edid to display info
  2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 10:16     ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:16 UTC (permalink / raw)
  To: dri-devel; +Cc: intel-gfx

On Fri, 06 May 2022, Jani Nikula <jani.nikula@intel.com> wrote:
> We'll need to propagate	drm_edid everywhere.

I seem to have copy-pasted a TAB in some of the commit messages, in a
way that does not show up in git log.

>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
>  drivers/gpu/drm/drm_edid.c | 50 +++++++++++++++++++++++---------------
>  1 file changed, 31 insertions(+), 19 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index 946296632b2e..c9d48fbd0a76 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -2419,13 +2419,13 @@ EXPORT_SYMBOL(drm_edid_duplicate);
>  
>  /**
>   * edid_get_quirks - return quirk flags for a given EDID
> - * @edid: EDID to process
> + * @drm_edid: EDID to process
>   *
>   * This tells subsequent routines what fixes they need to apply.
>   */
> -static u32 edid_get_quirks(const struct edid *edid)
> +static u32 edid_get_quirks(const struct drm_edid *drm_edid)
>  {
> -	u32 panel_id = edid_extract_panel_id(edid);
> +	u32 panel_id = edid_extract_panel_id(drm_edid->edid);
>  	const struct edid_quirk *quirk;
>  	int i;
>  
> @@ -5448,7 +5448,7 @@ static void drm_parse_microsoft_vsdb(struct drm_connector *connector,
>  }
>  
>  static void drm_parse_cea_ext(struct drm_connector *connector,
> -			      const struct edid *edid)
> +			      const struct drm_edid *drm_edid)
>  {
>  	struct drm_display_info *info = &connector->display_info;
>  	struct drm_edid_iter edid_iter;
> @@ -5456,7 +5456,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
>  	struct cea_db_iter iter;
>  	const u8 *edid_ext;
>  
> -	drm_edid_iter_begin(edid, &edid_iter);
> +	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
>  	drm_edid_iter_for_each(edid_ext, &edid_iter) {
>  		if (edid_ext[0] != CEA_EXT)
>  			continue;
> @@ -5477,7 +5477,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
>  	}
>  	drm_edid_iter_end(&edid_iter);
>  
> -	cea_db_iter_edid_begin(edid, &iter);
> +	cea_db_iter_edid_begin(drm_edid->edid, &iter);
>  	cea_db_iter_for_each(db, &iter) {
>  		/* FIXME: convert parsers to use struct cea_db */
>  		const u8 *data = (const u8 *)db;
> @@ -5523,16 +5523,15 @@ void get_monitor_range(const struct detailed_timing *timing,
>  	monitor_range->max_vfreq = range->max_vfreq;
>  }
>  
> -static
> -void drm_get_monitor_range(struct drm_connector *connector,
> -			   const struct edid *edid)
> +static void drm_get_monitor_range(struct drm_connector *connector,
> +				  const struct drm_edid *drm_edid)
>  {
>  	struct drm_display_info *info = &connector->display_info;
>  
> -	if (!version_greater(edid, 1, 1))
> +	if (!version_greater(drm_edid->edid, 1, 1))
>  		return;
>  
> -	drm_for_each_detailed_block(edid, get_monitor_range,
> +	drm_for_each_detailed_block(drm_edid->edid, get_monitor_range,
>  				    &info->monitor_range);
>  
>  	DRM_DEBUG_KMS("Supported Monitor Refresh rate range is %d Hz - %d Hz\n",
> @@ -5592,12 +5591,13 @@ static void drm_parse_vesa_mso_data(struct drm_connector *connector,
>  		    info->mso_stream_count, info->mso_pixel_overlap);
>  }
>  
> -static void drm_update_mso(struct drm_connector *connector, const struct edid *edid)
> +static void drm_update_mso(struct drm_connector *connector,
> +			   const struct drm_edid *drm_edid)
>  {
>  	const struct displayid_block *block;
>  	struct displayid_iter iter;
>  
> -	displayid_iter_edid_begin(edid, &iter);
> +	displayid_iter_edid_begin(drm_edid->edid, &iter);
>  	displayid_iter_for_each(block, &iter) {
>  		if (block->tag == DATA_BLOCK_2_VENDOR_SPECIFIC)
>  			drm_parse_vesa_mso_data(connector, block);
> @@ -5636,18 +5636,20 @@ drm_reset_display_info(struct drm_connector *connector)
>  	info->mso_pixel_overlap = 0;
>  }
>  
> -u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
> +static u32 update_display_info(struct drm_connector *connector,
> +			       const struct drm_edid *drm_edid)
>  {
>  	struct drm_display_info *info = &connector->display_info;
> +	const struct edid *edid = drm_edid->edid;
>  
> -	u32 quirks = edid_get_quirks(edid);
> +	u32 quirks = edid_get_quirks(drm_edid);
>  
>  	drm_reset_display_info(connector);
>  
>  	info->width_mm = edid->width_cm * 10;
>  	info->height_mm = edid->height_cm * 10;
>  
> -	drm_get_monitor_range(connector, edid);
> +	drm_get_monitor_range(connector, drm_edid);
>  
>  	if (edid->revision < 3)
>  		goto out;
> @@ -5656,7 +5658,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>  		goto out;
>  
>  	info->color_formats |= DRM_COLOR_FORMAT_RGB444;
> -	drm_parse_cea_ext(connector, edid);
> +	drm_parse_cea_ext(connector, drm_edid);
>  
>  	/*
>  	 * Digital sink with "DFP 1.x compliant TMDS" according to EDID 1.3?
> @@ -5709,7 +5711,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>  	if (edid->features & DRM_EDID_FEATURE_RGB_YCRCB422)
>  		info->color_formats |= DRM_COLOR_FORMAT_YCBCR422;
>  
> -	drm_update_mso(connector, edid);
> +	drm_update_mso(connector, drm_edid);
>  
>  out:
>  	if (quirks & EDID_QUIRK_NON_DESKTOP) {
> @@ -5721,6 +5723,16 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>  	return quirks;
>  }
>  
> +u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
> +{
> +	struct drm_edid drm_edid = {
> +		.edid = edid,
> +		.size = edid_size(edid),
> +	};
> +
> +	return update_display_info(connector, &drm_edid);
> +}
> +
>  static struct drm_display_mode *drm_mode_displayid_detailed(struct drm_device *dev,
>  							    struct displayid_detailed_timings_1 *timings,
>  							    bool type_7)
> @@ -5833,7 +5845,7 @@ static int drm_edid_connector_update(struct drm_connector *connector,
>  	 * To avoid multiple parsing of same block, lets parse that map
>  	 * from sink info, before parsing CEA modes.
>  	 */
> -	quirks = drm_add_display_info(connector, edid);
> +	quirks = update_display_info(connector, drm_edid);
>  
>  	/* Depends on info->cea_rev set by drm_add_display_info() above */
>  	drm_edid_to_eld(connector, edid);

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [Intel-gfx] [PATCH 05/25] drm/edid: keep propagating drm_edid to display info
@ 2022-05-06 10:16     ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 10:16 UTC (permalink / raw)
  To: dri-devel; +Cc: intel-gfx

On Fri, 06 May 2022, Jani Nikula <jani.nikula@intel.com> wrote:
> We'll need to propagate	drm_edid everywhere.

I seem to have copy-pasted a TAB in some of the commit messages, in a
way that does not show up in git log.

>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
>  drivers/gpu/drm/drm_edid.c | 50 +++++++++++++++++++++++---------------
>  1 file changed, 31 insertions(+), 19 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index 946296632b2e..c9d48fbd0a76 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -2419,13 +2419,13 @@ EXPORT_SYMBOL(drm_edid_duplicate);
>  
>  /**
>   * edid_get_quirks - return quirk flags for a given EDID
> - * @edid: EDID to process
> + * @drm_edid: EDID to process
>   *
>   * This tells subsequent routines what fixes they need to apply.
>   */
> -static u32 edid_get_quirks(const struct edid *edid)
> +static u32 edid_get_quirks(const struct drm_edid *drm_edid)
>  {
> -	u32 panel_id = edid_extract_panel_id(edid);
> +	u32 panel_id = edid_extract_panel_id(drm_edid->edid);
>  	const struct edid_quirk *quirk;
>  	int i;
>  
> @@ -5448,7 +5448,7 @@ static void drm_parse_microsoft_vsdb(struct drm_connector *connector,
>  }
>  
>  static void drm_parse_cea_ext(struct drm_connector *connector,
> -			      const struct edid *edid)
> +			      const struct drm_edid *drm_edid)
>  {
>  	struct drm_display_info *info = &connector->display_info;
>  	struct drm_edid_iter edid_iter;
> @@ -5456,7 +5456,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
>  	struct cea_db_iter iter;
>  	const u8 *edid_ext;
>  
> -	drm_edid_iter_begin(edid, &edid_iter);
> +	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
>  	drm_edid_iter_for_each(edid_ext, &edid_iter) {
>  		if (edid_ext[0] != CEA_EXT)
>  			continue;
> @@ -5477,7 +5477,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
>  	}
>  	drm_edid_iter_end(&edid_iter);
>  
> -	cea_db_iter_edid_begin(edid, &iter);
> +	cea_db_iter_edid_begin(drm_edid->edid, &iter);
>  	cea_db_iter_for_each(db, &iter) {
>  		/* FIXME: convert parsers to use struct cea_db */
>  		const u8 *data = (const u8 *)db;
> @@ -5523,16 +5523,15 @@ void get_monitor_range(const struct detailed_timing *timing,
>  	monitor_range->max_vfreq = range->max_vfreq;
>  }
>  
> -static
> -void drm_get_monitor_range(struct drm_connector *connector,
> -			   const struct edid *edid)
> +static void drm_get_monitor_range(struct drm_connector *connector,
> +				  const struct drm_edid *drm_edid)
>  {
>  	struct drm_display_info *info = &connector->display_info;
>  
> -	if (!version_greater(edid, 1, 1))
> +	if (!version_greater(drm_edid->edid, 1, 1))
>  		return;
>  
> -	drm_for_each_detailed_block(edid, get_monitor_range,
> +	drm_for_each_detailed_block(drm_edid->edid, get_monitor_range,
>  				    &info->monitor_range);
>  
>  	DRM_DEBUG_KMS("Supported Monitor Refresh rate range is %d Hz - %d Hz\n",
> @@ -5592,12 +5591,13 @@ static void drm_parse_vesa_mso_data(struct drm_connector *connector,
>  		    info->mso_stream_count, info->mso_pixel_overlap);
>  }
>  
> -static void drm_update_mso(struct drm_connector *connector, const struct edid *edid)
> +static void drm_update_mso(struct drm_connector *connector,
> +			   const struct drm_edid *drm_edid)
>  {
>  	const struct displayid_block *block;
>  	struct displayid_iter iter;
>  
> -	displayid_iter_edid_begin(edid, &iter);
> +	displayid_iter_edid_begin(drm_edid->edid, &iter);
>  	displayid_iter_for_each(block, &iter) {
>  		if (block->tag == DATA_BLOCK_2_VENDOR_SPECIFIC)
>  			drm_parse_vesa_mso_data(connector, block);
> @@ -5636,18 +5636,20 @@ drm_reset_display_info(struct drm_connector *connector)
>  	info->mso_pixel_overlap = 0;
>  }
>  
> -u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
> +static u32 update_display_info(struct drm_connector *connector,
> +			       const struct drm_edid *drm_edid)
>  {
>  	struct drm_display_info *info = &connector->display_info;
> +	const struct edid *edid = drm_edid->edid;
>  
> -	u32 quirks = edid_get_quirks(edid);
> +	u32 quirks = edid_get_quirks(drm_edid);
>  
>  	drm_reset_display_info(connector);
>  
>  	info->width_mm = edid->width_cm * 10;
>  	info->height_mm = edid->height_cm * 10;
>  
> -	drm_get_monitor_range(connector, edid);
> +	drm_get_monitor_range(connector, drm_edid);
>  
>  	if (edid->revision < 3)
>  		goto out;
> @@ -5656,7 +5658,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>  		goto out;
>  
>  	info->color_formats |= DRM_COLOR_FORMAT_RGB444;
> -	drm_parse_cea_ext(connector, edid);
> +	drm_parse_cea_ext(connector, drm_edid);
>  
>  	/*
>  	 * Digital sink with "DFP 1.x compliant TMDS" according to EDID 1.3?
> @@ -5709,7 +5711,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>  	if (edid->features & DRM_EDID_FEATURE_RGB_YCRCB422)
>  		info->color_formats |= DRM_COLOR_FORMAT_YCBCR422;
>  
> -	drm_update_mso(connector, edid);
> +	drm_update_mso(connector, drm_edid);
>  
>  out:
>  	if (quirks & EDID_QUIRK_NON_DESKTOP) {
> @@ -5721,6 +5723,16 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>  	return quirks;
>  }
>  
> +u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
> +{
> +	struct drm_edid drm_edid = {
> +		.edid = edid,
> +		.size = edid_size(edid),
> +	};
> +
> +	return update_display_info(connector, &drm_edid);
> +}
> +
>  static struct drm_display_mode *drm_mode_displayid_detailed(struct drm_device *dev,
>  							    struct displayid_detailed_timings_1 *timings,
>  							    bool type_7)
> @@ -5833,7 +5845,7 @@ static int drm_edid_connector_update(struct drm_connector *connector,
>  	 * To avoid multiple parsing of same block, lets parse that map
>  	 * from sink info, before parsing CEA modes.
>  	 */
> -	quirks = drm_add_display_info(connector, edid);
> +	quirks = update_display_info(connector, drm_edid);
>  
>  	/* Depends on info->cea_rev set by drm_add_display_info() above */
>  	drm_edid_to_eld(connector, edid);

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 78+ messages in thread

* [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/edid: introduce struct drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
                   ` (25 preceding siblings ...)
  (?)
@ 2022-05-06 11:12 ` Patchwork
  -1 siblings, 0 replies; 78+ messages in thread
From: Patchwork @ 2022-05-06 11:12 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx

== Series Details ==

Series: drm/edid: introduce struct drm_edid
URL   : https://patchwork.freedesktop.org/series/103665/
State : warning

== Summary ==

Error: dim checkpatch failed
d886c554f1a8 drm/edid: use else-if in CTA extension parsing
4cbaa4d285a2 drm/edid: convert drm_for_each_detailed_block() to edid iter
5a728625bfb4 drm/edid: add struct drm_edid container
4f87a69d8848 drm/edid: start propagating drm_edid to lower levels
-:32: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!drm_edid"
#32: FILE: drivers/gpu/drm/drm_edid.c:5823:
+	if (drm_edid == NULL) {

total: 0 errors, 0 warnings, 1 checks, 43 lines checked
b3ace29ad531 drm/edid: keep propagating drm_edid to display info
c9fe2b156008 drm/edid: propagate drm_edid to drm_edid_to_eld()
b4b764dfd316 drm/edid: convert drm_edid_connector_update() to drm_edid fully
c25559b7e2cf drm/edid: convert struct detailed_mode_closure to drm_edid
0c4403bc2931 drm/edid: convert drm_mode_detailed() to drm_edid
68d3e834de47 drm/edid: convert drm_dmt_modes_for_range() to drm_edid
78e7de5f61ff drm/edid: convert drm_gtf_modes_for_range() to drm_edid
a1bce597df2d drm/edid: convert drm_cvt_modes_for_range() to drm_edid
727ea972b7bc drm/edid: convert drm_mode_std() and children to drm_edid
7a6eb5cdaf09 drm/edid: convert mode_in_range() and drm_monitor_supports_rb() to drm_edid
eb58907519c4 drm/edid: convert get_monitor_name() to drm_edid
07189e36c881 drm/edid: convert drm_for_each_detailed_block() to drm_edid
-:33: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around drm_edid->edid->detailed_timings[i]
#33: FILE: drivers/gpu/drm/drm_edid.c:2594:
+		cb(&(drm_edid->edid->detailed_timings[i]), closure);

total: 0 errors, 0 warnings, 1 checks, 129 lines checked
b3c6e86982ba drm/edid: add drm_edid helper for drm_edid_to_sad()
ae55ee36f30d drm/edid: add drm_edid helper for drm_edid_to_speaker_allocation()
3a0b663d0761 drm/edid: add drm_edid helper for drm_detect_hdmi_monitor()
47e3c35b33c5 drm/edid: add drm_edid helper for drm_detect_monitor_audio()
42f9ecf45903 drm/edid: convert cea_db_iter_edid_begin() to drm_edid
2f064307b607 drm/edid: convert drm_edid_iter_begin() to drm_edid
84170f97f641 drm/edid: add drm_edid helper for drm_update_tile_info()
4919fb4097cb drm/displayid: convert to drm_edid
45a163aa8771 drm/edid: convert version_greater() to drm_edid



^ permalink raw reply	[flat|nested] 78+ messages in thread

* [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/edid: introduce struct drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
                   ` (26 preceding siblings ...)
  (?)
@ 2022-05-06 11:12 ` Patchwork
  2022-05-06 11:42     ` [Intel-gfx] " Jani Nikula
  -1 siblings, 1 reply; 78+ messages in thread
From: Patchwork @ 2022-05-06 11:12 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx

== Series Details ==

Series: drm/edid: introduce struct drm_edid
URL   : https://patchwork.freedesktop.org/series/103665/
State : warning

== Summary ==

Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
-
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16: error: incompatible types in comparison expression (different type sizes):
+drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long *
+drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long long *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9: error: incompatible types in conditional expression (different base types):
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    int
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    void
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17: error: incompatible types in conditional expression (different base types):
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    int
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    void
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9: error: incompatible types in conditional expression (different base types):
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    int
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    void
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9: error: incompatible types in conditional expression (different base types):
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    int
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    void
+drivers/gpu/drm/ast/ast_dp.c:278:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
+drivers/gpu/drm/ast/ast_dp.c:280:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
+drivers/gpu/drm/ast/ast_dp.c:281:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
+drivers/gpu/drm/ast/ast_dp.c:37:46: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
+drivers/gpu/drm/ast/ast_drv.c:42:5: warning: symbol 'ast_modeset' was not declared. Should it be static?
+drivers/gpu/drm/ast/ast_mode.c:678:16:    expected unsigned char [noderef] [usertype] __iomem *dstxor
+drivers/gpu/drm/ast/ast_mode.c:678:16:    got unsigned char [usertype] *
+drivers/gpu/drm/ast/ast_mode.c:678:16: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/ast/ast_mode.c:678:19: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/drm_drv.c:426:6: warning: context imbalance in 'drm_dev_enter' - different lock contexts for basic block
+drivers/gpu/drm/drm_drv.c:70:1: warning: symbol '__srcu_struct_drm_unplug_srcu' was not declared. Should it be static?
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void *
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
+drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/gma_display.c:402:25:    expected void *tmp_dst
+drivers/gpu/drm/gma500/gma_display.c:402:25:    got unsigned char [noderef] [usertype] __iomem *
+drivers/gpu/drm/gma500/gma_display.c:402:25: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/gma500/intel_bios.c:548:42:    expected void const *const p
+drivers/gpu/drm/gma500/intel_bios.c:548:42:    got unsigned char [noderef] [usertype] __iomem *
+drivers/gpu/drm/gma500/intel_bios.c:548:42: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/intel_bios.c:549:40: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/gma500/intel_bios.c:559:24: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/gma500/mmu.c:306:26: warning: context imbalance in 'psb_mmu_pt_alloc_map_lock' - wrong count at exit
+drivers/gpu/drm/gma500/mmu.c:346:26: warning: context imbalance in 'psb_mmu_pt_map_lock' - wrong count at exit
+drivers/gpu/drm/gma500/mmu.c:379:28: warning: context imbalance in 'psb_mmu_pt_unmap_unlock' - unexpected unlock
+drivers/gpu/drm/gma500/oaktrail_crtc.c:661:30: warning: symbol 'mrst_clock_funcs' was not declared. Should it be static?
+drivers/gpu/drm/gma500/opregion.c:298:25:    expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/gma500/opregion.c:298:25:    got struct opregion_header *header
+drivers/gpu/drm/gma500/opregion.c:298:25: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/opregion.c:328:20:    expected void const *const p
+drivers/gpu/drm/gma500/opregion.c:328:20:    got void [noderef] __iomem *[assigned] base
+drivers/gpu/drm/gma500/opregion.c:328:20: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/opregion.c:334:26:    expected struct opregion_header *header
+drivers/gpu/drm/gma500/opregion.c:334:26:    got void [noderef] __iomem *[assigned] base
+drivers/gpu/drm/gma500/opregion.c:334:26: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/gma500/opregion.c:335:23:    expected void *vbt
+drivers/gpu/drm/gma500/opregion.c:335:23:    got void [noderef] __iomem *
+drivers/gpu/drm/gma500/opregion.c:335:23: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/gma500/opregion.c:342:32:    expected struct opregion_acpi *acpi
+drivers/gpu/drm/gma500/opregion.c:342:32:    got void [noderef] __iomem *
+drivers/gpu/drm/gma500/opregion.c:342:32: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/gma500/opregion.c:347:32:    expected struct opregion_asle *asle
+drivers/gpu/drm/gma500/opregion.c:347:32:    got void [noderef] __iomem *
+drivers/gpu/drm/gma500/opregion.c:347:32: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/gma500/psb_intel_display.c:434:30: warning: symbol 'psb_clock_funcs' was not declared. Should it be static?
+drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    expected restricted __be32 const [usertype] *p
+drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    got unsigned int const [usertype] *
+drivers/gpu/drm/i2c/tda998x_drv.c:1712:50: warning: incorrect type in argument 1 (different base types)
+drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    expected restricted __be32 const [usertype] *p
+drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    got unsigned int const [usertype] *
+drivers/gpu/drm/i2c/tda998x_drv.c:1713:52: warning: incorrect type in argument 1 (different base types)
+drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    int enum port
+drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    unsigned int enum intel_display_power_domain
+drivers/gpu/drm/i915/display/intel_display_power.c:2431:34: warning: mixing different enum types:
+drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    int enum port
+drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    unsigned int enum intel_display_power_domain
+drivers/gpu/drm/i915/display/intel_display_power.c:2442:37: warning: mixing different enum types:
+drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned int enum aux_ch
+drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned int enum intel_display_power_domain
+drivers/gpu/drm/i915/display/intel_display_power.c:2468:43: warning: mixing different enum types:
+drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned int enum aux_ch
+drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned int enum intel_display_power_domain
+drivers/gpu/drm/i915/display/intel_display_power.c:2479:35: warning: mixing different enum types:
+drivers/gpu/drm/mgag200/mgag200_drv.c:23:5: warning: symbol 'mgag200_modeset' was not declared. Should it be static?
+drivers/gpu/drm/nouveau/dispnv50/disp.c:135:34: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/nouveau/dispnv50/disp.c:198:34: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    expected unsigned int [usertype] *cur
+drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    got void [noderef] __iomem *ptr
+drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    expected unsigned int [usertype] *bgn
+drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    got void [noderef] __iomem *ptr
+drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    expected unsigned int [usertype] *ptr
+drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    got void [noderef] __iomem *ptr
+drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    expected unsigned int [usertype] *bgn
+drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    got void [noderef] __iomem *ptr
+drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/nouveau/dispnv50/disp.c:2693:1: warning: symbol 'nv50_display_create' was not declared. Should it be static?
+drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c:40:9: warning: dubious: !x & y
+drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:282:9: warning: dubious: !x & y
+drivers/gpu/drm/qxl/qxl_kms.c:168:19:    expected struct qxl_rom *rom
+drivers/gpu/drm/qxl/qxl_kms.c:168:19:    got void [noderef] __iomem *
+drivers/gpu/drm/qxl/qxl_kms.c:168:19: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:186:26:    expected struct qxl_ram_header *ram_header
+drivers/gpu/drm/qxl/qxl_kms.c:186:26:    got void [noderef] __iomem *
+drivers/gpu/drm/qxl/qxl_kms.c:186:26: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:275:21:    expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/qxl/qxl_kms.c:275:21:    got struct qxl_ram_header *ram_header
+drivers/gpu/drm/qxl/qxl_kms.c:275:21: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:279:21:    expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/qxl/qxl_kms.c:279:21:    got struct qxl_rom *rom
+drivers/gpu/drm/qxl/qxl_kms.c:279:21: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:323:21:    expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/qxl/qxl_kms.c:323:21:    got struct qxl_ram_header *ram_header
+drivers/gpu/drm/qxl/qxl_kms.c:323:21: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:324:21:    expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/qxl/qxl_kms.c:324:21:    got struct qxl_rom *rom
+drivers/gpu/drm/qxl/qxl_kms.c:324:21: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:36:5: warning: symbol 'qxl_log_level' was not declared. Should it be static?
+drivers/gpu/drm/qxl/qxl_object.c:178:29: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/qxl/qxl_object.c:223:40:    expected void *
+drivers/gpu/drm/qxl/qxl_object.c:223:40:    got void [noderef] __iomem *
+drivers/gpu/drm/qxl/qxl_object.c:223:40: warning: incorrect type in return expression (different address spaces)
+drivers/gpu/drm/qxl/qxl_object.c:273:33:    expected void [noderef] __iomem *vaddr
+drivers/gpu/drm/qxl/qxl_object.c:273:33:    got void *pmap
+drivers/gpu/drm/qxl/qxl_object.c:273:33: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    expected unsigned short [addressable] [usertype] usH_Size
+drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:313:23: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    expected unsigned short [addressable] [usertype] usH_Blanking_Time
+drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:314:32: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    expected unsigned short [addressable] [usertype] usV_Size
+drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:316:23: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    expected unsigned short [addressable] [usertype] usV_Blanking_Time
+drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:317:32: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    expected unsigned short [addressable] [usertype] usH_SyncOffset
+drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:319:29: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    expected unsigned short [addressable] [usertype] usH_SyncWidth
+drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:321:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    expected unsigned short [addressable] [usertype] usV_SyncOffset
+drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:323:29: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    expected unsigned short [addressable] [usertype] usV_SyncWidth
+drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:325:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    expected unsigned short [addressable] [assigned] [usertype] usAccess
+drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:343:39: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    expected unsigned short [addressable] [usertype] usH_Total
+drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:360:24: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    expected unsigned short [addressable] [usertype] usH_Disp
+drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:361:23: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    expected unsigned short [addressable] [usertype] usH_SyncStart
+drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:362:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    expected unsigned short [addressable] [usertype] usH_SyncWidth
+drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:363:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    expected unsigned short [addressable] [usertype] usV_Total
+drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:365:24: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    expected unsigned short [addressable] [usertype] usV_Disp
+drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:366:23: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    expected unsigned short [addressable] [usertype] usV_SyncStart
+drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:367:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    expected unsigned short [addressable] [usertype] usV_SyncWidth
+drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:368:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    expected unsigned short [addressable] [assigned] [usertype] usAccess
+drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:389:39: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    expected unsigned short [addressable] [usertype] usSpreadSpectrumAmountFrac
+drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:481:52: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
+drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:496:48: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumStep
+drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:497:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
+drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:500:52: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
+drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:515:48: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumStep
+drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:516:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
+drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:519:52: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
+drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:532:59: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
+drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:543:57: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
+drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:55:36: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
+drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:56:39: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
+drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:57:37: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
+drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:58:38: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
+drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:65:45: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
+drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:66:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
+drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:68:44: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    expected unsigned short [addressable] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:694:54: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
+drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:69:47: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:703:50: warning: cast to restricted __le16
+drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:706:61: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:717:69: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:736:50: warning: cast to restricted __le32
+drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
+drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:74:38: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
+drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:75:37: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
+drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:76:39: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
+drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:77:36: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:795:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    expected unsigned int [addressable] [assigned] [usertype] ulDispEngClkFreq
+drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    got restricted __le32 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:802:50: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    expected unsigned short [addressable] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:854:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    expected unsigned short [addressable] [usertype] usRefDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:855:42: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    expected unsigned short [addressable] [usertype] usFbDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:856:41: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:864:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    expected unsigned short [addressable] [assigned] [usertype] usRefDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:865:42: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    expected unsigned short [addressable] [assigned] [usertype] usFbDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:866:41: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:874:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    expected unsigned short [addressable] [assigned] [usertype] usRefDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:875:42: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    expected unsigned short [addressable] [assigned] [usertype] usFbDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:876:41: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:891:46:    expected unsigned sh



^ permalink raw reply	[flat|nested] 78+ messages in thread

* [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/edid: introduce struct drm_edid
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
                   ` (27 preceding siblings ...)
  (?)
@ 2022-05-06 11:38 ` Patchwork
  -1 siblings, 0 replies; 78+ messages in thread
From: Patchwork @ 2022-05-06 11:38 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 6507 bytes --]

== Series Details ==

Series: drm/edid: introduce struct drm_edid
URL   : https://patchwork.freedesktop.org/series/103665/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_11616 -> Patchwork_103665v1
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_103665v1 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_103665v1, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v1/index.html

Participating hosts (42 -> 36)
------------------------------

  Additional (3): fi-icl-u2 bat-jsl-1 bat-dg2-9 
  Missing    (9): fi-kbl-7567u fi-bxt-dsi fi-bdw-5557u bat-adlm-1 fi-bsw-cyan fi-ilk-650 fi-snb-2520m fi-kbl-8809g fi-elk-e7500 

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_103665v1:

### CI changes ###

#### Possible regressions ####

  * boot:
    - fi-bdw-gvtdvm:      [PASS][1] -> [FAIL][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11616/fi-bdw-gvtdvm/boot.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v1/fi-bdw-gvtdvm/boot.html

  

### IGT changes ###

#### Possible regressions ####

  * igt@kms_force_connector_basic@force-connector-state:
    - fi-pnv-d510:        [PASS][3] -> [INCOMPLETE][4]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11616/fi-pnv-d510/igt@kms_force_connector_basic@force-connector-state.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v1/fi-pnv-d510/igt@kms_force_connector_basic@force-connector-state.html
    - fi-bwr-2160:        [PASS][5] -> [INCOMPLETE][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11616/fi-bwr-2160/igt@kms_force_connector_basic@force-connector-state.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v1/fi-bwr-2160/igt@kms_force_connector_basic@force-connector-state.html
    - fi-blb-e6850:       [PASS][7] -> [INCOMPLETE][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11616/fi-blb-e6850/igt@kms_force_connector_basic@force-connector-state.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v1/fi-blb-e6850/igt@kms_force_connector_basic@force-connector-state.html

  
Known issues
------------

  Here are the changes found in Patchwork_103665v1 that come from known issues:

### CI changes ###

#### Issues hit ####

  * boot:
    - fi-snb-2600:        [PASS][9] -> [FAIL][10] ([i915#4338])
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11616/fi-snb-2600/boot.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v1/fi-snb-2600/boot.html

  

### IGT changes ###

#### Issues hit ####

  * igt@runner@aborted:
    - fi-pnv-d510:        NOTRUN -> [FAIL][11] ([i915#2403] / [i915#4312])
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v1/fi-pnv-d510/igt@runner@aborted.html
    - fi-icl-u2:          NOTRUN -> [FAIL][12] ([i915#3690])
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v1/fi-icl-u2/igt@runner@aborted.html
    - fi-bwr-2160:        NOTRUN -> [FAIL][13] ([i915#4312])
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v1/fi-bwr-2160/igt@runner@aborted.html
    - fi-blb-e6850:       NOTRUN -> [FAIL][14] ([i915#2403] / [i915#4312])
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v1/fi-blb-e6850/igt@runner@aborted.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [i915#2403]: https://gitlab.freedesktop.org/drm/intel/issues/2403
  [i915#3690]: https://gitlab.freedesktop.org/drm/intel/issues/3690
  [i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
  [i915#4338]: https://gitlab.freedesktop.org/drm/intel/issues/4338
  [i915#5602]: https://gitlab.freedesktop.org/drm/intel/issues/5602
  [i915#5616]: https://gitlab.freedesktop.org/drm/intel/issues/5616
  [i915#5917]: https://gitlab.freedesktop.org/drm/intel/issues/5917


Build changes
-------------

  * Linux: CI_DRM_11616 -> Patchwork_103665v1

  CI-20190529: 20190529
  CI_DRM_11616: 65a5fe9ac96c60bd6dfcc44a0bb8d584912ea53d @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_6467: 929abc51cdd48d673efa03e025b1f31b557972ed @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  Patchwork_103665v1: 65a5fe9ac96c60bd6dfcc44a0bb8d584912ea53d @ git://anongit.freedesktop.org/gfx-ci/linux


### Linux commits

c116ae5ca936 drm/edid: convert version_greater() to drm_edid
17eb09103c8a drm/displayid: convert to drm_edid
4e57cd1461b2 drm/edid: add drm_edid helper for drm_update_tile_info()
93fc0eff94e8 drm/edid: convert drm_edid_iter_begin() to drm_edid
136b20f635b7 drm/edid: convert cea_db_iter_edid_begin() to drm_edid
77204a25d5c7 drm/edid: add drm_edid helper for drm_detect_monitor_audio()
86538967d77a drm/edid: add drm_edid helper for drm_detect_hdmi_monitor()
85805b1d0dc0 drm/edid: add drm_edid helper for drm_edid_to_speaker_allocation()
21679cbce550 drm/edid: add drm_edid helper for drm_edid_to_sad()
8b8b71902254 drm/edid: convert drm_for_each_detailed_block() to drm_edid
3791f409191d drm/edid: convert get_monitor_name() to drm_edid
092fdd563ce8 drm/edid: convert mode_in_range() and drm_monitor_supports_rb() to drm_edid
17571a777d37 drm/edid: convert drm_mode_std() and children to drm_edid
cfcfbe8b5034 drm/edid: convert drm_cvt_modes_for_range() to drm_edid
bf07a27fa8bc drm/edid: convert drm_gtf_modes_for_range() to drm_edid
5e4a874a1c68 drm/edid: convert drm_dmt_modes_for_range() to drm_edid
d847764f12cd drm/edid: convert drm_mode_detailed() to drm_edid
519aa79fb462 drm/edid: convert struct detailed_mode_closure to drm_edid
7d68d3a03888 drm/edid: convert drm_edid_connector_update() to drm_edid fully
4bc3fd0f32a2 drm/edid: propagate drm_edid to drm_edid_to_eld()
487f7eb750d7 drm/edid: keep propagating drm_edid to display info
b3351d6e209d drm/edid: start propagating drm_edid to lower levels
d9762b9c5962 drm/edid: add struct drm_edid container
412e9da080b4 drm/edid: convert drm_for_each_detailed_block() to edid iter
09baca11b6c4 drm/edid: use else-if in CTA extension parsing

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v1/index.html

[-- Attachment #2: Type: text/html, Size: 7448 bytes --]

^ permalink raw reply	[flat|nested] 78+ messages in thread

* amdgpu sparse warnings (was: Re: ✗ Fi.CI.SPARSE: warning for drm/edid: introduce struct drm_edid)
  2022-05-06 11:12 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
  2022-05-06 11:42     ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 11:42     ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 11:42 UTC (permalink / raw)
  To: Alex Deucher, Christian König, amd-gfx
  Cc: Daniel Vetter, intel-gfx, dri-devel


Hey, do you ever run sparse on your driver? Whenever our CI ends up
recompiling amdgpu, there's quite the spew. See below.

You're not alone, but, sorry to say, the _Static_assert() from
amdgv_sriovmsg.h has been pretty obnoxious for quite some time now.

First, I don't think you should be using _Static_assert() directly;
there's an in-kernel static_assert() wrapper. However, it's the #pragma
pack(push, 1) and #pragma pack(pop) pair that sparse does not
understand, leaves the structs unpacked, and leads to warnings.


BR,
Jani.



On Fri, 06 May 2022, Patchwork <patchwork@emeril.freedesktop.org> wrote:
> == Series Details ==
>
> Series: drm/edid: introduce struct drm_edid
> URL   : https://patchwork.freedesktop.org/series/103665/
> State : warning
>
> == Summary ==
>
> Error: dim sparse failed
> Sparse version: v0.6.2
> Fast mode used, each commit won't be checked separately.
> -
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16: error: incompatible types in comparison expression (different type sizes):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long long *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    void
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    void
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    void
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    void
> +drivers/gpu/drm/ast/ast_dp.c:278:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_dp.c:280:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_dp.c:281:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_dp.c:37:46: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_drv.c:42:5: warning: symbol 'ast_modeset' was not declared. Should it be static?
> +drivers/gpu/drm/ast/ast_mode.c:678:16:    expected unsigned char [noderef] [usertype] __iomem *dstxor
> +drivers/gpu/drm/ast/ast_mode.c:678:16:    got unsigned char [usertype] *
> +drivers/gpu/drm/ast/ast_mode.c:678:16: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/ast/ast_mode.c:678:19: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/drm_drv.c:426:6: warning: context imbalance in 'drm_dev_enter' - different lock contexts for basic block
> +drivers/gpu/drm/drm_drv.c:70:1: warning: symbol '__srcu_struct_drm_unplug_srcu' was not declared. Should it be static?
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/gma_display.c:402:25:    expected void *tmp_dst
> +drivers/gpu/drm/gma500/gma_display.c:402:25:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/gma_display.c:402:25: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/intel_bios.c:548:42:    expected void const *const p
> +drivers/gpu/drm/gma500/intel_bios.c:548:42:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/intel_bios.c:548:42: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/intel_bios.c:549:40: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/gma500/intel_bios.c:559:24: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/gma500/mmu.c:306:26: warning: context imbalance in 'psb_mmu_pt_alloc_map_lock' - wrong count at exit
> +drivers/gpu/drm/gma500/mmu.c:346:26: warning: context imbalance in 'psb_mmu_pt_map_lock' - wrong count at exit
> +drivers/gpu/drm/gma500/mmu.c:379:28: warning: context imbalance in 'psb_mmu_pt_unmap_unlock' - unexpected unlock
> +drivers/gpu/drm/gma500/oaktrail_crtc.c:661:30: warning: symbol 'mrst_clock_funcs' was not declared. Should it be static?
> +drivers/gpu/drm/gma500/opregion.c:298:25:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/gma500/opregion.c:298:25:    got struct opregion_header *header
> +drivers/gpu/drm/gma500/opregion.c:298:25: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:328:20:    expected void const *const p
> +drivers/gpu/drm/gma500/opregion.c:328:20:    got void [noderef] __iomem *[assigned] base
> +drivers/gpu/drm/gma500/opregion.c:328:20: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:334:26:    expected struct opregion_header *header
> +drivers/gpu/drm/gma500/opregion.c:334:26:    got void [noderef] __iomem *[assigned] base
> +drivers/gpu/drm/gma500/opregion.c:334:26: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:335:23:    expected void *vbt
> +drivers/gpu/drm/gma500/opregion.c:335:23:    got void [noderef] __iomem *
> +drivers/gpu/drm/gma500/opregion.c:335:23: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:342:32:    expected struct opregion_acpi *acpi
> +drivers/gpu/drm/gma500/opregion.c:342:32:    got void [noderef] __iomem *
> +drivers/gpu/drm/gma500/opregion.c:342:32: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:347:32:    expected struct opregion_asle *asle
> +drivers/gpu/drm/gma500/opregion.c:347:32:    got void [noderef] __iomem *
> +drivers/gpu/drm/gma500/opregion.c:347:32: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/psb_intel_display.c:434:30: warning: symbol 'psb_clock_funcs' was not declared. Should it be static?
> +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    expected restricted __be32 const [usertype] *p
> +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    got unsigned int const [usertype] *
> +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50: warning: incorrect type in argument 1 (different base types)
> +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    expected restricted __be32 const [usertype] *p
> +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    got unsigned int const [usertype] *
> +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52: warning: incorrect type in argument 1 (different base types)
> +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    int enum port
> +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34: warning: mixing different enum types:
> +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    int enum port
> +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37: warning: mixing different enum types:
> +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned int enum aux_ch
> +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43: warning: mixing different enum types:
> +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned int enum aux_ch
> +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35: warning: mixing different enum types:
> +drivers/gpu/drm/mgag200/mgag200_drv.c:23:5: warning: symbol 'mgag200_modeset' was not declared. Should it be static?
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:135:34: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:198:34: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    expected unsigned int [usertype] *cur
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    expected unsigned int [usertype] *bgn
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    expected unsigned int [usertype] *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    expected unsigned int [usertype] *bgn
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:2693:1: warning: symbol 'nv50_display_create' was not declared. Should it be static?
> +drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c:40:9: warning: dubious: !x & y
> +drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:282:9: warning: dubious: !x & y
> +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    expected struct qxl_rom *rom
> +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    got void [noderef] __iomem *
> +drivers/gpu/drm/qxl/qxl_kms.c:168:19: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    expected struct qxl_ram_header *ram_header
> +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    got void [noderef] __iomem *
> +drivers/gpu/drm/qxl/qxl_kms.c:186:26: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    got struct qxl_ram_header *ram_header
> +drivers/gpu/drm/qxl/qxl_kms.c:275:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    got struct qxl_rom *rom
> +drivers/gpu/drm/qxl/qxl_kms.c:279:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    got struct qxl_ram_header *ram_header
> +drivers/gpu/drm/qxl/qxl_kms.c:323:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    got struct qxl_rom *rom
> +drivers/gpu/drm/qxl/qxl_kms.c:324:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:36:5: warning: symbol 'qxl_log_level' was not declared. Should it be static?
> +drivers/gpu/drm/qxl/qxl_object.c:178:29: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/qxl/qxl_object.c:223:40:    expected void *
> +drivers/gpu/drm/qxl/qxl_object.c:223:40:    got void [noderef] __iomem *
> +drivers/gpu/drm/qxl/qxl_object.c:223:40: warning: incorrect type in return expression (different address spaces)
> +drivers/gpu/drm/qxl/qxl_object.c:273:33:    expected void [noderef] __iomem *vaddr
> +drivers/gpu/drm/qxl/qxl_object.c:273:33:    got void *pmap
> +drivers/gpu/drm/qxl/qxl_object.c:273:33: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    expected unsigned short [addressable] [usertype] usH_Size
> +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:313:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    expected unsigned short [addressable] [usertype] usH_Blanking_Time
> +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:314:32: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    expected unsigned short [addressable] [usertype] usV_Size
> +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:316:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    expected unsigned short [addressable] [usertype] usV_Blanking_Time
> +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:317:32: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    expected unsigned short [addressable] [usertype] usH_SyncOffset
> +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:319:29: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    expected unsigned short [addressable] [usertype] usH_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:321:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    expected unsigned short [addressable] [usertype] usV_SyncOffset
> +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:323:29: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    expected unsigned short [addressable] [usertype] usV_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:325:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    expected unsigned short [addressable] [assigned] [usertype] usAccess
> +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:343:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    expected unsigned short [addressable] [usertype] usH_Total
> +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:360:24: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    expected unsigned short [addressable] [usertype] usH_Disp
> +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:361:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    expected unsigned short [addressable] [usertype] usH_SyncStart
> +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:362:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    expected unsigned short [addressable] [usertype] usH_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:363:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    expected unsigned short [addressable] [usertype] usV_Total
> +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:365:24: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    expected unsigned short [addressable] [usertype] usV_Disp
> +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:366:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    expected unsigned short [addressable] [usertype] usV_SyncStart
> +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:367:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    expected unsigned short [addressable] [usertype] usV_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:368:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    expected unsigned short [addressable] [assigned] [usertype] usAccess
> +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:389:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    expected unsigned short [addressable] [usertype] usSpreadSpectrumAmountFrac
> +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:481:52: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:496:48: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:497:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:500:52: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:515:48: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:516:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:519:52: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:532:59: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:543:57: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
> +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:55:36: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
> +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:56:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
> +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:57:37: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
> +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:58:38: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
> +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:65:45: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
> +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:66:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
> +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:68:44: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    expected unsigned short [addressable] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:694:54: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
> +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:69:47: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:703:50: warning: cast to restricted __le16
> +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:706:61: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:717:69: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:736:50: warning: cast to restricted __le32
> +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
> +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:74:38: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
> +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:75:37: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
> +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:76:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
> +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:77:36: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:795:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    expected unsigned int [addressable] [assigned] [usertype] ulDispEngClkFreq
> +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    got restricted __le32 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:802:50: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    expected unsigned short [addressable] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:854:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    expected unsigned short [addressable] [usertype] usRefDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:855:42: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    expected unsigned short [addressable] [usertype] usFbDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:856:41: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:864:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    expected unsigned short [addressable] [assigned] [usertype] usRefDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:865:42: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    expected unsigned short [addressable] [assigned] [usertype] usFbDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:866:41: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:874:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    expected unsigned short [addressable] [assigned] [usertype] usRefDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:875:42: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    expected unsigned short [addressable] [assigned] [usertype] usFbDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:876:41: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:891:46:    expected unsigned sh
>
>

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 78+ messages in thread

* [Intel-gfx] amdgpu sparse warnings (was: Re: ✗  Fi.CI.SPARSE: warning for drm/edid: introduce struct drm_edid)
@ 2022-05-06 11:42     ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 11:42 UTC (permalink / raw)
  To: Alex Deucher, Christian König, amd-gfx
  Cc: Daniel Vetter, intel-gfx, Dave Airlie, dri-devel


Hey, do you ever run sparse on your driver? Whenever our CI ends up
recompiling amdgpu, there's quite the spew. See below.

You're not alone, but, sorry to say, the _Static_assert() from
amdgv_sriovmsg.h has been pretty obnoxious for quite some time now.

First, I don't think you should be using _Static_assert() directly;
there's an in-kernel static_assert() wrapper. However, it's the #pragma
pack(push, 1) and #pragma pack(pop) pair that sparse does not
understand, leaves the structs unpacked, and leads to warnings.


BR,
Jani.



On Fri, 06 May 2022, Patchwork <patchwork@emeril.freedesktop.org> wrote:
> == Series Details ==
>
> Series: drm/edid: introduce struct drm_edid
> URL   : https://patchwork.freedesktop.org/series/103665/
> State : warning
>
> == Summary ==
>
> Error: dim sparse failed
> Sparse version: v0.6.2
> Fast mode used, each commit won't be checked separately.
> -
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16: error: incompatible types in comparison expression (different type sizes):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long long *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    void
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    void
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    void
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    void
> +drivers/gpu/drm/ast/ast_dp.c:278:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_dp.c:280:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_dp.c:281:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_dp.c:37:46: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_drv.c:42:5: warning: symbol 'ast_modeset' was not declared. Should it be static?
> +drivers/gpu/drm/ast/ast_mode.c:678:16:    expected unsigned char [noderef] [usertype] __iomem *dstxor
> +drivers/gpu/drm/ast/ast_mode.c:678:16:    got unsigned char [usertype] *
> +drivers/gpu/drm/ast/ast_mode.c:678:16: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/ast/ast_mode.c:678:19: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/drm_drv.c:426:6: warning: context imbalance in 'drm_dev_enter' - different lock contexts for basic block
> +drivers/gpu/drm/drm_drv.c:70:1: warning: symbol '__srcu_struct_drm_unplug_srcu' was not declared. Should it be static?
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/gma_display.c:402:25:    expected void *tmp_dst
> +drivers/gpu/drm/gma500/gma_display.c:402:25:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/gma_display.c:402:25: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/intel_bios.c:548:42:    expected void const *const p
> +drivers/gpu/drm/gma500/intel_bios.c:548:42:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/intel_bios.c:548:42: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/intel_bios.c:549:40: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/gma500/intel_bios.c:559:24: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/gma500/mmu.c:306:26: warning: context imbalance in 'psb_mmu_pt_alloc_map_lock' - wrong count at exit
> +drivers/gpu/drm/gma500/mmu.c:346:26: warning: context imbalance in 'psb_mmu_pt_map_lock' - wrong count at exit
> +drivers/gpu/drm/gma500/mmu.c:379:28: warning: context imbalance in 'psb_mmu_pt_unmap_unlock' - unexpected unlock
> +drivers/gpu/drm/gma500/oaktrail_crtc.c:661:30: warning: symbol 'mrst_clock_funcs' was not declared. Should it be static?
> +drivers/gpu/drm/gma500/opregion.c:298:25:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/gma500/opregion.c:298:25:    got struct opregion_header *header
> +drivers/gpu/drm/gma500/opregion.c:298:25: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:328:20:    expected void const *const p
> +drivers/gpu/drm/gma500/opregion.c:328:20:    got void [noderef] __iomem *[assigned] base
> +drivers/gpu/drm/gma500/opregion.c:328:20: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:334:26:    expected struct opregion_header *header
> +drivers/gpu/drm/gma500/opregion.c:334:26:    got void [noderef] __iomem *[assigned] base
> +drivers/gpu/drm/gma500/opregion.c:334:26: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:335:23:    expected void *vbt
> +drivers/gpu/drm/gma500/opregion.c:335:23:    got void [noderef] __iomem *
> +drivers/gpu/drm/gma500/opregion.c:335:23: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:342:32:    expected struct opregion_acpi *acpi
> +drivers/gpu/drm/gma500/opregion.c:342:32:    got void [noderef] __iomem *
> +drivers/gpu/drm/gma500/opregion.c:342:32: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:347:32:    expected struct opregion_asle *asle
> +drivers/gpu/drm/gma500/opregion.c:347:32:    got void [noderef] __iomem *
> +drivers/gpu/drm/gma500/opregion.c:347:32: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/psb_intel_display.c:434:30: warning: symbol 'psb_clock_funcs' was not declared. Should it be static?
> +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    expected restricted __be32 const [usertype] *p
> +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    got unsigned int const [usertype] *
> +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50: warning: incorrect type in argument 1 (different base types)
> +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    expected restricted __be32 const [usertype] *p
> +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    got unsigned int const [usertype] *
> +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52: warning: incorrect type in argument 1 (different base types)
> +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    int enum port
> +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34: warning: mixing different enum types:
> +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    int enum port
> +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37: warning: mixing different enum types:
> +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned int enum aux_ch
> +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43: warning: mixing different enum types:
> +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned int enum aux_ch
> +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35: warning: mixing different enum types:
> +drivers/gpu/drm/mgag200/mgag200_drv.c:23:5: warning: symbol 'mgag200_modeset' was not declared. Should it be static?
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:135:34: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:198:34: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    expected unsigned int [usertype] *cur
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    expected unsigned int [usertype] *bgn
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    expected unsigned int [usertype] *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    expected unsigned int [usertype] *bgn
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:2693:1: warning: symbol 'nv50_display_create' was not declared. Should it be static?
> +drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c:40:9: warning: dubious: !x & y
> +drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:282:9: warning: dubious: !x & y
> +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    expected struct qxl_rom *rom
> +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    got void [noderef] __iomem *
> +drivers/gpu/drm/qxl/qxl_kms.c:168:19: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    expected struct qxl_ram_header *ram_header
> +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    got void [noderef] __iomem *
> +drivers/gpu/drm/qxl/qxl_kms.c:186:26: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    got struct qxl_ram_header *ram_header
> +drivers/gpu/drm/qxl/qxl_kms.c:275:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    got struct qxl_rom *rom
> +drivers/gpu/drm/qxl/qxl_kms.c:279:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    got struct qxl_ram_header *ram_header
> +drivers/gpu/drm/qxl/qxl_kms.c:323:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    got struct qxl_rom *rom
> +drivers/gpu/drm/qxl/qxl_kms.c:324:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:36:5: warning: symbol 'qxl_log_level' was not declared. Should it be static?
> +drivers/gpu/drm/qxl/qxl_object.c:178:29: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/qxl/qxl_object.c:223:40:    expected void *
> +drivers/gpu/drm/qxl/qxl_object.c:223:40:    got void [noderef] __iomem *
> +drivers/gpu/drm/qxl/qxl_object.c:223:40: warning: incorrect type in return expression (different address spaces)
> +drivers/gpu/drm/qxl/qxl_object.c:273:33:    expected void [noderef] __iomem *vaddr
> +drivers/gpu/drm/qxl/qxl_object.c:273:33:    got void *pmap
> +drivers/gpu/drm/qxl/qxl_object.c:273:33: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    expected unsigned short [addressable] [usertype] usH_Size
> +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:313:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    expected unsigned short [addressable] [usertype] usH_Blanking_Time
> +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:314:32: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    expected unsigned short [addressable] [usertype] usV_Size
> +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:316:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    expected unsigned short [addressable] [usertype] usV_Blanking_Time
> +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:317:32: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    expected unsigned short [addressable] [usertype] usH_SyncOffset
> +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:319:29: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    expected unsigned short [addressable] [usertype] usH_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:321:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    expected unsigned short [addressable] [usertype] usV_SyncOffset
> +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:323:29: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    expected unsigned short [addressable] [usertype] usV_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:325:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    expected unsigned short [addressable] [assigned] [usertype] usAccess
> +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:343:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    expected unsigned short [addressable] [usertype] usH_Total
> +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:360:24: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    expected unsigned short [addressable] [usertype] usH_Disp
> +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:361:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    expected unsigned short [addressable] [usertype] usH_SyncStart
> +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:362:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    expected unsigned short [addressable] [usertype] usH_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:363:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    expected unsigned short [addressable] [usertype] usV_Total
> +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:365:24: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    expected unsigned short [addressable] [usertype] usV_Disp
> +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:366:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    expected unsigned short [addressable] [usertype] usV_SyncStart
> +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:367:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    expected unsigned short [addressable] [usertype] usV_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:368:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    expected unsigned short [addressable] [assigned] [usertype] usAccess
> +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:389:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    expected unsigned short [addressable] [usertype] usSpreadSpectrumAmountFrac
> +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:481:52: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:496:48: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:497:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:500:52: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:515:48: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:516:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:519:52: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:532:59: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:543:57: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
> +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:55:36: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
> +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:56:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
> +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:57:37: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
> +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:58:38: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
> +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:65:45: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
> +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:66:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
> +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:68:44: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    expected unsigned short [addressable] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:694:54: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
> +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:69:47: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:703:50: warning: cast to restricted __le16
> +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:706:61: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:717:69: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:736:50: warning: cast to restricted __le32
> +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
> +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:74:38: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
> +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:75:37: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
> +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:76:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
> +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:77:36: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:795:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    expected unsigned int [addressable] [assigned] [usertype] ulDispEngClkFreq
> +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    got restricted __le32 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:802:50: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    expected unsigned short [addressable] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:854:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    expected unsigned short [addressable] [usertype] usRefDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:855:42: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    expected unsigned short [addressable] [usertype] usFbDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:856:41: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:864:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    expected unsigned short [addressable] [assigned] [usertype] usRefDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:865:42: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    expected unsigned short [addressable] [assigned] [usertype] usFbDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:866:41: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:874:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    expected unsigned short [addressable] [assigned] [usertype] usRefDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:875:42: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    expected unsigned short [addressable] [assigned] [usertype] usFbDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:876:41: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:891:46:    expected unsigned sh
>
>

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 78+ messages in thread

* amdgpu sparse warnings (was: Re: ✗ Fi.CI.SPARSE: warning for drm/edid: introduce struct drm_edid)
@ 2022-05-06 11:42     ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-06 11:42 UTC (permalink / raw)
  To: Alex Deucher, Christian König, amd-gfx
  Cc: Daniel Vetter, intel-gfx, Dave Airlie, dri-devel


Hey, do you ever run sparse on your driver? Whenever our CI ends up
recompiling amdgpu, there's quite the spew. See below.

You're not alone, but, sorry to say, the _Static_assert() from
amdgv_sriovmsg.h has been pretty obnoxious for quite some time now.

First, I don't think you should be using _Static_assert() directly;
there's an in-kernel static_assert() wrapper. However, it's the #pragma
pack(push, 1) and #pragma pack(pop) pair that sparse does not
understand, leaves the structs unpacked, and leads to warnings.


BR,
Jani.



On Fri, 06 May 2022, Patchwork <patchwork@emeril.freedesktop.org> wrote:
> == Series Details ==
>
> Series: drm/edid: introduce struct drm_edid
> URL   : https://patchwork.freedesktop.org/series/103665/
> State : warning
>
> == Summary ==
>
> Error: dim sparse failed
> Sparse version: v0.6.2
> Fast mode used, each commit won't be checked separately.
> -
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16: error: incompatible types in comparison expression (different type sizes):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long long *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25: error: incompatible types in comparison expression (different address spaces):
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct dma_fence *
> +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct dma_fence [noderef] __rcu *
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    void
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    void
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    void
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9: error: incompatible types in conditional expression (different base types):
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    int
> +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    void
> +drivers/gpu/drm/ast/ast_dp.c:278:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_dp.c:280:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_dp.c:281:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_dp.c:37:46: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
> +drivers/gpu/drm/ast/ast_drv.c:42:5: warning: symbol 'ast_modeset' was not declared. Should it be static?
> +drivers/gpu/drm/ast/ast_mode.c:678:16:    expected unsigned char [noderef] [usertype] __iomem *dstxor
> +drivers/gpu/drm/ast/ast_mode.c:678:16:    got unsigned char [usertype] *
> +drivers/gpu/drm/ast/ast_mode.c:678:16: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/ast/ast_mode.c:678:19: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/drm_drv.c:426:6: warning: context imbalance in 'drm_dev_enter' - different lock contexts for basic block
> +drivers/gpu/drm/drm_drv.c:70:1: warning: symbol '__srcu_struct_drm_unplug_srcu' was not declared. Should it be static?
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/gma_display.c:402:25:    expected void *tmp_dst
> +drivers/gpu/drm/gma500/gma_display.c:402:25:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/gma_display.c:402:25: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/intel_bios.c:548:42:    expected void const *const p
> +drivers/gpu/drm/gma500/intel_bios.c:548:42:    got unsigned char [noderef] [usertype] __iomem *
> +drivers/gpu/drm/gma500/intel_bios.c:548:42: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/intel_bios.c:549:40: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/gma500/intel_bios.c:559:24: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/gma500/mmu.c:306:26: warning: context imbalance in 'psb_mmu_pt_alloc_map_lock' - wrong count at exit
> +drivers/gpu/drm/gma500/mmu.c:346:26: warning: context imbalance in 'psb_mmu_pt_map_lock' - wrong count at exit
> +drivers/gpu/drm/gma500/mmu.c:379:28: warning: context imbalance in 'psb_mmu_pt_unmap_unlock' - unexpected unlock
> +drivers/gpu/drm/gma500/oaktrail_crtc.c:661:30: warning: symbol 'mrst_clock_funcs' was not declared. Should it be static?
> +drivers/gpu/drm/gma500/opregion.c:298:25:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/gma500/opregion.c:298:25:    got struct opregion_header *header
> +drivers/gpu/drm/gma500/opregion.c:298:25: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:328:20:    expected void const *const p
> +drivers/gpu/drm/gma500/opregion.c:328:20:    got void [noderef] __iomem *[assigned] base
> +drivers/gpu/drm/gma500/opregion.c:328:20: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:334:26:    expected struct opregion_header *header
> +drivers/gpu/drm/gma500/opregion.c:334:26:    got void [noderef] __iomem *[assigned] base
> +drivers/gpu/drm/gma500/opregion.c:334:26: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:335:23:    expected void *vbt
> +drivers/gpu/drm/gma500/opregion.c:335:23:    got void [noderef] __iomem *
> +drivers/gpu/drm/gma500/opregion.c:335:23: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:342:32:    expected struct opregion_acpi *acpi
> +drivers/gpu/drm/gma500/opregion.c:342:32:    got void [noderef] __iomem *
> +drivers/gpu/drm/gma500/opregion.c:342:32: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/opregion.c:347:32:    expected struct opregion_asle *asle
> +drivers/gpu/drm/gma500/opregion.c:347:32:    got void [noderef] __iomem *
> +drivers/gpu/drm/gma500/opregion.c:347:32: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/gma500/psb_intel_display.c:434:30: warning: symbol 'psb_clock_funcs' was not declared. Should it be static?
> +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    expected restricted __be32 const [usertype] *p
> +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    got unsigned int const [usertype] *
> +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50: warning: incorrect type in argument 1 (different base types)
> +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    expected restricted __be32 const [usertype] *p
> +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    got unsigned int const [usertype] *
> +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52: warning: incorrect type in argument 1 (different base types)
> +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    int enum port
> +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34: warning: mixing different enum types:
> +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    int enum port
> +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37: warning: mixing different enum types:
> +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned int enum aux_ch
> +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43: warning: mixing different enum types:
> +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned int enum aux_ch
> +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned int enum intel_display_power_domain
> +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35: warning: mixing different enum types:
> +drivers/gpu/drm/mgag200/mgag200_drv.c:23:5: warning: symbol 'mgag200_modeset' was not declared. Should it be static?
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:135:34: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:198:34: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    expected unsigned int [usertype] *cur
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    expected unsigned int [usertype] *bgn
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    expected unsigned int [usertype] *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    expected unsigned int [usertype] *bgn
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    got void [noderef] __iomem *ptr
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/nouveau/dispnv50/disp.c:2693:1: warning: symbol 'nv50_display_create' was not declared. Should it be static?
> +drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c:40:9: warning: dubious: !x & y
> +drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:282:9: warning: dubious: !x & y
> +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    expected struct qxl_rom *rom
> +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    got void [noderef] __iomem *
> +drivers/gpu/drm/qxl/qxl_kms.c:168:19: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    expected struct qxl_ram_header *ram_header
> +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    got void [noderef] __iomem *
> +drivers/gpu/drm/qxl/qxl_kms.c:186:26: warning: incorrect type in assignment (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    got struct qxl_ram_header *ram_header
> +drivers/gpu/drm/qxl/qxl_kms.c:275:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    got struct qxl_rom *rom
> +drivers/gpu/drm/qxl/qxl_kms.c:279:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    got struct qxl_ram_header *ram_header
> +drivers/gpu/drm/qxl/qxl_kms.c:323:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    expected void volatile [noderef] __iomem *addr
> +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    got struct qxl_rom *rom
> +drivers/gpu/drm/qxl/qxl_kms.c:324:21: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/qxl/qxl_kms.c:36:5: warning: symbol 'qxl_log_level' was not declared. Should it be static?
> +drivers/gpu/drm/qxl/qxl_object.c:178:29: warning: cast removes address space '__iomem' of expression
> +drivers/gpu/drm/qxl/qxl_object.c:223:40:    expected void *
> +drivers/gpu/drm/qxl/qxl_object.c:223:40:    got void [noderef] __iomem *
> +drivers/gpu/drm/qxl/qxl_object.c:223:40: warning: incorrect type in return expression (different address spaces)
> +drivers/gpu/drm/qxl/qxl_object.c:273:33:    expected void [noderef] __iomem *vaddr
> +drivers/gpu/drm/qxl/qxl_object.c:273:33:    got void *pmap
> +drivers/gpu/drm/qxl/qxl_object.c:273:33: warning: incorrect type in argument 1 (different address spaces)
> +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    expected unsigned short [addressable] [usertype] usH_Size
> +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:313:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    expected unsigned short [addressable] [usertype] usH_Blanking_Time
> +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:314:32: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    expected unsigned short [addressable] [usertype] usV_Size
> +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:316:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    expected unsigned short [addressable] [usertype] usV_Blanking_Time
> +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:317:32: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    expected unsigned short [addressable] [usertype] usH_SyncOffset
> +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:319:29: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    expected unsigned short [addressable] [usertype] usH_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:321:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    expected unsigned short [addressable] [usertype] usV_SyncOffset
> +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:323:29: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    expected unsigned short [addressable] [usertype] usV_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:325:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    expected unsigned short [addressable] [assigned] [usertype] usAccess
> +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:343:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    expected unsigned short [addressable] [usertype] usH_Total
> +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:360:24: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    expected unsigned short [addressable] [usertype] usH_Disp
> +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:361:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    expected unsigned short [addressable] [usertype] usH_SyncStart
> +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:362:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    expected unsigned short [addressable] [usertype] usH_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:363:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    expected unsigned short [addressable] [usertype] usV_Total
> +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:365:24: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    expected unsigned short [addressable] [usertype] usV_Disp
> +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:366:23: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    expected unsigned short [addressable] [usertype] usV_SyncStart
> +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:367:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    expected unsigned short [addressable] [usertype] usV_SyncWidth
> +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:368:28: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    expected unsigned short [addressable] [assigned] [usertype] usAccess
> +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:389:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    expected unsigned short [addressable] [usertype] usSpreadSpectrumAmountFrac
> +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:481:52: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:496:48: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:497:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:500:52: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:515:48: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:516:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:519:52: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:532:59: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:543:57: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
> +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:55:36: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
> +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:56:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
> +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:57:37: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
> +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:58:38: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
> +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:65:45: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
> +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:66:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
> +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:68:44: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    expected unsigned short [addressable] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:694:54: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
> +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:69:47: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:703:50: warning: cast to restricted __le16
> +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:706:61: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:717:69: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:736:50: warning: cast to restricted __le32
> +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
> +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:74:38: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
> +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:75:37: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
> +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:76:39: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
> +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:77:36: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:795:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    expected unsigned int [addressable] [assigned] [usertype] ulDispEngClkFreq
> +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    got restricted __le32 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:802:50: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    expected unsigned short [addressable] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:854:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    expected unsigned short [addressable] [usertype] usRefDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:855:42: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    expected unsigned short [addressable] [usertype] usFbDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:856:41: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:864:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    expected unsigned short [addressable] [assigned] [usertype] usRefDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:865:42: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    expected unsigned short [addressable] [assigned] [usertype] usFbDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:866:41: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
> +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:874:46: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    expected unsigned short [addressable] [assigned] [usertype] usRefDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:875:42: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    expected unsigned short [addressable] [assigned] [usertype] usFbDiv
> +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    got restricted __le16 [usertype]
> +drivers/gpu/drm/radeon/atombios_crtc.c:876:41: warning: incorrect type in assignment (different base types)
> +drivers/gpu/drm/radeon/atombios_crtc.c:891:46:    expected unsigned sh
>
>

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 78+ messages in thread

* [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/edid: introduce struct drm_edid (rev2)
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
                   ` (28 preceding siblings ...)
  (?)
@ 2022-05-06 12:23 ` Patchwork
  -1 siblings, 0 replies; 78+ messages in thread
From: Patchwork @ 2022-05-06 12:23 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx

== Series Details ==

Series: drm/edid: introduce struct drm_edid (rev2)
URL   : https://patchwork.freedesktop.org/series/103665/
State : warning

== Summary ==

Error: dim checkpatch failed
49478b13e157 drm/edid: use else-if in CTA extension parsing
253ce252ebb2 drm/edid: convert drm_for_each_detailed_block() to edid iter
c8d7ad09c4aa drm/edid: add struct drm_edid container
8e89b03ed6a0 drm/edid: start propagating drm_edid to lower levels
-:32: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!drm_edid"
#32: FILE: drivers/gpu/drm/drm_edid.c:5823:
+	if (drm_edid == NULL) {

total: 0 errors, 0 warnings, 1 checks, 43 lines checked
da470150559b drm/edid: keep propagating drm_edid to display info
ab5bc257050a drm/edid: propagate drm_edid to drm_edid_to_eld()
a741fdf94b61 drm/edid: convert drm_edid_connector_update() to drm_edid fully
09ad0a7d5307 drm/edid: convert struct detailed_mode_closure to drm_edid
7b6af4143dd1 drm/edid: convert drm_mode_detailed() to drm_edid
eec9950bca92 drm/edid: convert drm_dmt_modes_for_range() to drm_edid
838b672aecc4 drm/edid: convert drm_gtf_modes_for_range() to drm_edid
3c5ab00b051b drm/edid: convert drm_cvt_modes_for_range() to drm_edid
4dcf8a802425 drm/edid: convert drm_mode_std() and children to drm_edid
ee06f362cf11 drm/edid: convert mode_in_range() and drm_monitor_supports_rb() to drm_edid
508406f1b73b drm/edid: convert get_monitor_name() to drm_edid
ccbe240b4563 drm/edid: convert drm_for_each_detailed_block() to drm_edid
-:33: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around drm_edid->edid->detailed_timings[i]
#33: FILE: drivers/gpu/drm/drm_edid.c:2594:
+		cb(&(drm_edid->edid->detailed_timings[i]), closure);

total: 0 errors, 0 warnings, 1 checks, 129 lines checked
64317639af4b drm/edid: add drm_edid helper for drm_edid_to_sad()
990d6dd977b3 drm/edid: add drm_edid helper for drm_edid_to_speaker_allocation()
8f27b7c1913d drm/edid: add drm_edid helper for drm_detect_hdmi_monitor()
c231a095dbf1 drm/edid: add drm_edid helper for drm_detect_monitor_audio()
6cdff6355337 drm/edid: convert cea_db_iter_edid_begin() to drm_edid
eaa41b2334bb drm/edid: convert drm_edid_iter_begin() to drm_edid
8b926179bfd0 drm/edid: add drm_edid helper for drm_update_tile_info()
e09326603eec drm/displayid: convert to drm_edid
e5bea8a49f5c drm/edid: convert version_greater() to drm_edid



^ permalink raw reply	[flat|nested] 78+ messages in thread

* [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/edid: introduce struct drm_edid (rev2)
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
                   ` (29 preceding siblings ...)
  (?)
@ 2022-05-06 12:23 ` Patchwork
  -1 siblings, 0 replies; 78+ messages in thread
From: Patchwork @ 2022-05-06 12:23 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx

== Series Details ==

Series: drm/edid: introduce struct drm_edid (rev2)
URL   : https://patchwork.freedesktop.org/series/103665/
State : warning

== Summary ==

Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
-
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16: error: incompatible types in comparison expression (different type sizes):
+drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long *
+drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long long *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct dma_fence *
+drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct dma_fence [noderef] __rcu *
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9: error: incompatible types in conditional expression (different base types):
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    int
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    void
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17: error: incompatible types in conditional expression (different base types):
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    int
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    void
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9: error: incompatible types in conditional expression (different base types):
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    int
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    void
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9: error: incompatible types in conditional expression (different base types):
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    int
+drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    void
+drivers/gpu/drm/ast/ast_dp.c:278:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
+drivers/gpu/drm/ast/ast_dp.c:280:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
+drivers/gpu/drm/ast/ast_dp.c:281:66: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
+drivers/gpu/drm/ast/ast_dp.c:37:46: warning: cast truncates bits from constant value (ffffffffffffff00 becomes 0)
+drivers/gpu/drm/ast/ast_drv.c:42:5: warning: symbol 'ast_modeset' was not declared. Should it be static?
+drivers/gpu/drm/ast/ast_mode.c:678:16:    expected unsigned char [noderef] [usertype] __iomem *dstxor
+drivers/gpu/drm/ast/ast_mode.c:678:16:    got unsigned char [usertype] *
+drivers/gpu/drm/ast/ast_mode.c:678:16: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/ast/ast_mode.c:678:19: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/drm_drv.c:426:6: warning: context imbalance in 'drm_dev_enter' - different lock contexts for basic block
+drivers/gpu/drm/drm_drv.c:70:1: warning: symbol '__srcu_struct_drm_unplug_srcu' was not declared. Should it be static?
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void *
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
+drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char [noderef] [usertype] __iomem *
+drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/gma_display.c:402:25:    expected void *tmp_dst
+drivers/gpu/drm/gma500/gma_display.c:402:25:    got unsigned char [noderef] [usertype] __iomem *
+drivers/gpu/drm/gma500/gma_display.c:402:25: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/gma500/intel_bios.c:548:42:    expected void const *const p
+drivers/gpu/drm/gma500/intel_bios.c:548:42:    got unsigned char [noderef] [usertype] __iomem *
+drivers/gpu/drm/gma500/intel_bios.c:548:42: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/intel_bios.c:549:40: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/gma500/intel_bios.c:559:24: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/gma500/mmu.c:306:26: warning: context imbalance in 'psb_mmu_pt_alloc_map_lock' - wrong count at exit
+drivers/gpu/drm/gma500/mmu.c:346:26: warning: context imbalance in 'psb_mmu_pt_map_lock' - wrong count at exit
+drivers/gpu/drm/gma500/mmu.c:379:28: warning: context imbalance in 'psb_mmu_pt_unmap_unlock' - unexpected unlock
+drivers/gpu/drm/gma500/oaktrail_crtc.c:661:30: warning: symbol 'mrst_clock_funcs' was not declared. Should it be static?
+drivers/gpu/drm/gma500/opregion.c:298:25:    expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/gma500/opregion.c:298:25:    got struct opregion_header *header
+drivers/gpu/drm/gma500/opregion.c:298:25: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/opregion.c:328:20:    expected void const *const p
+drivers/gpu/drm/gma500/opregion.c:328:20:    got void [noderef] __iomem *[assigned] base
+drivers/gpu/drm/gma500/opregion.c:328:20: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/gma500/opregion.c:334:26:    expected struct opregion_header *header
+drivers/gpu/drm/gma500/opregion.c:334:26:    got void [noderef] __iomem *[assigned] base
+drivers/gpu/drm/gma500/opregion.c:334:26: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/gma500/opregion.c:335:23:    expected void *vbt
+drivers/gpu/drm/gma500/opregion.c:335:23:    got void [noderef] __iomem *
+drivers/gpu/drm/gma500/opregion.c:335:23: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/gma500/opregion.c:342:32:    expected struct opregion_acpi *acpi
+drivers/gpu/drm/gma500/opregion.c:342:32:    got void [noderef] __iomem *
+drivers/gpu/drm/gma500/opregion.c:342:32: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/gma500/opregion.c:347:32:    expected struct opregion_asle *asle
+drivers/gpu/drm/gma500/opregion.c:347:32:    got void [noderef] __iomem *
+drivers/gpu/drm/gma500/opregion.c:347:32: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/gma500/psb_intel_display.c:434:30: warning: symbol 'psb_clock_funcs' was not declared. Should it be static?
+drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    expected restricted __be32 const [usertype] *p
+drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    got unsigned int const [usertype] *
+drivers/gpu/drm/i2c/tda998x_drv.c:1712:50: warning: incorrect type in argument 1 (different base types)
+drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    expected restricted __be32 const [usertype] *p
+drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    got unsigned int const [usertype] *
+drivers/gpu/drm/i2c/tda998x_drv.c:1713:52: warning: incorrect type in argument 1 (different base types)
+drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    int enum port
+drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    unsigned int enum intel_display_power_domain
+drivers/gpu/drm/i915/display/intel_display_power.c:2431:34: warning: mixing different enum types:
+drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    int enum port
+drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    unsigned int enum intel_display_power_domain
+drivers/gpu/drm/i915/display/intel_display_power.c:2442:37: warning: mixing different enum types:
+drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned int enum aux_ch
+drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned int enum intel_display_power_domain
+drivers/gpu/drm/i915/display/intel_display_power.c:2468:43: warning: mixing different enum types:
+drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned int enum aux_ch
+drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned int enum intel_display_power_domain
+drivers/gpu/drm/i915/display/intel_display_power.c:2479:35: warning: mixing different enum types:
+drivers/gpu/drm/mgag200/mgag200_drv.c:23:5: warning: symbol 'mgag200_modeset' was not declared. Should it be static?
+drivers/gpu/drm/nouveau/dispnv50/disp.c:135:34: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/nouveau/dispnv50/disp.c:198:34: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    expected unsigned int [usertype] *cur
+drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    got void [noderef] __iomem *ptr
+drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    expected unsigned int [usertype] *bgn
+drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    got void [noderef] __iomem *ptr
+drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    expected unsigned int [usertype] *ptr
+drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    got void [noderef] __iomem *ptr
+drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    expected unsigned int [usertype] *bgn
+drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    got void [noderef] __iomem *ptr
+drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/nouveau/dispnv50/disp.c:2693:1: warning: symbol 'nv50_display_create' was not declared. Should it be static?
+drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c:40:9: warning: dubious: !x & y
+drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:282:9: warning: dubious: !x & y
+drivers/gpu/drm/qxl/qxl_kms.c:168:19:    expected struct qxl_rom *rom
+drivers/gpu/drm/qxl/qxl_kms.c:168:19:    got void [noderef] __iomem *
+drivers/gpu/drm/qxl/qxl_kms.c:168:19: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:186:26:    expected struct qxl_ram_header *ram_header
+drivers/gpu/drm/qxl/qxl_kms.c:186:26:    got void [noderef] __iomem *
+drivers/gpu/drm/qxl/qxl_kms.c:186:26: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:275:21:    expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/qxl/qxl_kms.c:275:21:    got struct qxl_ram_header *ram_header
+drivers/gpu/drm/qxl/qxl_kms.c:275:21: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:279:21:    expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/qxl/qxl_kms.c:279:21:    got struct qxl_rom *rom
+drivers/gpu/drm/qxl/qxl_kms.c:279:21: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:323:21:    expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/qxl/qxl_kms.c:323:21:    got struct qxl_ram_header *ram_header
+drivers/gpu/drm/qxl/qxl_kms.c:323:21: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:324:21:    expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/qxl/qxl_kms.c:324:21:    got struct qxl_rom *rom
+drivers/gpu/drm/qxl/qxl_kms.c:324:21: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/qxl/qxl_kms.c:36:5: warning: symbol 'qxl_log_level' was not declared. Should it be static?
+drivers/gpu/drm/qxl/qxl_object.c:178:29: warning: cast removes address space '__iomem' of expression
+drivers/gpu/drm/qxl/qxl_object.c:223:40:    expected void *
+drivers/gpu/drm/qxl/qxl_object.c:223:40:    got void [noderef] __iomem *
+drivers/gpu/drm/qxl/qxl_object.c:223:40: warning: incorrect type in return expression (different address spaces)
+drivers/gpu/drm/qxl/qxl_object.c:273:33:    expected void [noderef] __iomem *vaddr
+drivers/gpu/drm/qxl/qxl_object.c:273:33:    got void *pmap
+drivers/gpu/drm/qxl/qxl_object.c:273:33: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    expected unsigned short [addressable] [usertype] usH_Size
+drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:313:23: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    expected unsigned short [addressable] [usertype] usH_Blanking_Time
+drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:314:32: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    expected unsigned short [addressable] [usertype] usV_Size
+drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:316:23: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    expected unsigned short [addressable] [usertype] usV_Blanking_Time
+drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:317:32: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    expected unsigned short [addressable] [usertype] usH_SyncOffset
+drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:319:29: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    expected unsigned short [addressable] [usertype] usH_SyncWidth
+drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:321:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    expected unsigned short [addressable] [usertype] usV_SyncOffset
+drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:323:29: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    expected unsigned short [addressable] [usertype] usV_SyncWidth
+drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:325:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    expected unsigned short [addressable] [assigned] [usertype] usAccess
+drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:343:39: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    expected unsigned short [addressable] [usertype] usH_Total
+drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:360:24: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    expected unsigned short [addressable] [usertype] usH_Disp
+drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:361:23: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    expected unsigned short [addressable] [usertype] usH_SyncStart
+drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:362:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    expected unsigned short [addressable] [usertype] usH_SyncWidth
+drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:363:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    expected unsigned short [addressable] [usertype] usV_Total
+drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:365:24: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    expected unsigned short [addressable] [usertype] usV_Disp
+drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:366:23: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    expected unsigned short [addressable] [usertype] usV_SyncStart
+drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:367:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    expected unsigned short [addressable] [usertype] usV_SyncWidth
+drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:368:28: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    expected unsigned short [addressable] [assigned] [usertype] usAccess
+drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:389:39: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    expected unsigned short [addressable] [usertype] usSpreadSpectrumAmountFrac
+drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:481:52: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
+drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:496:48: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumStep
+drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:497:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
+drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:500:52: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
+drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:515:48: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumStep
+drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:516:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
+drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:519:52: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
+drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:532:59: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
+drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:543:57: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
+drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:55:36: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
+drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:56:39: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
+drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:57:37: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
+drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:58:38: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
+drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:65:45: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
+drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:66:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
+drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:68:44: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    expected unsigned short [addressable] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:694:54: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
+drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:69:47: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:703:50: warning: cast to restricted __le16
+drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:706:61: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:717:69: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:736:50: warning: cast to restricted __le32
+drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
+drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:74:38: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
+drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:75:37: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
+drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:76:39: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
+drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:77:36: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:795:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    expected unsigned int [addressable] [assigned] [usertype] ulDispEngClkFreq
+drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    got restricted __le32 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:802:50: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    expected unsigned short [addressable] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:854:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    expected unsigned short [addressable] [usertype] usRefDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:855:42: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    expected unsigned short [addressable] [usertype] usFbDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:856:41: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:864:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    expected unsigned short [addressable] [assigned] [usertype] usRefDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:865:42: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    expected unsigned short [addressable] [assigned] [usertype] usFbDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:866:41: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
+drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:874:46: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    expected unsigned short [addressable] [assigned] [usertype] usRefDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:875:42: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    expected unsigned short [addressable] [assigned] [usertype] usFbDiv
+drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    got restricted __le16 [usertype]
+drivers/gpu/drm/radeon/atombios_crtc.c:876:41: warning: incorrect type in assignment (different base types)
+drivers/gpu/drm/radeon/atombios_crtc.c:891:46:    expected unsigned sh



^ permalink raw reply	[flat|nested] 78+ messages in thread

* [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/edid: introduce struct drm_edid (rev2)
  2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
                   ` (30 preceding siblings ...)
  (?)
@ 2022-05-06 12:47 ` Patchwork
  -1 siblings, 0 replies; 78+ messages in thread
From: Patchwork @ 2022-05-06 12:47 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 6149 bytes --]

== Series Details ==

Series: drm/edid: introduce struct drm_edid (rev2)
URL   : https://patchwork.freedesktop.org/series/103665/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_11616 -> Patchwork_103665v2
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_103665v2 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_103665v2, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v2/index.html

Participating hosts (42 -> 36)
------------------------------

  Additional (3): fi-icl-u2 bat-jsl-1 bat-dg2-9 
  Missing    (9): fi-kbl-7567u fi-bdw-5557u bat-adlm-1 fi-bsw-cyan fi-ilk-650 fi-snb-2520m fi-kbl-8809g fi-elk-e7500 fi-snb-2600 

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_103665v2:

### CI changes ###

#### Possible regressions ####

  * boot:
    - fi-bdw-gvtdvm:      [PASS][1] -> [FAIL][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11616/fi-bdw-gvtdvm/boot.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v2/fi-bdw-gvtdvm/boot.html

  

### IGT changes ###

#### Possible regressions ####

  * igt@kms_force_connector_basic@force-connector-state:
    - fi-pnv-d510:        [PASS][3] -> [INCOMPLETE][4]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11616/fi-pnv-d510/igt@kms_force_connector_basic@force-connector-state.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v2/fi-pnv-d510/igt@kms_force_connector_basic@force-connector-state.html
    - fi-bwr-2160:        [PASS][5] -> [INCOMPLETE][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11616/fi-bwr-2160/igt@kms_force_connector_basic@force-connector-state.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v2/fi-bwr-2160/igt@kms_force_connector_basic@force-connector-state.html
    - fi-blb-e6850:       [PASS][7] -> [INCOMPLETE][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11616/fi-blb-e6850/igt@kms_force_connector_basic@force-connector-state.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v2/fi-blb-e6850/igt@kms_force_connector_basic@force-connector-state.html

  
Known issues
------------

  Here are the changes found in Patchwork_103665v2 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@runner@aborted:
    - fi-pnv-d510:        NOTRUN -> [FAIL][9] ([i915#2403] / [i915#4312])
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v2/fi-pnv-d510/igt@runner@aborted.html
    - fi-icl-u2:          NOTRUN -> [FAIL][10] ([i915#3690])
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v2/fi-icl-u2/igt@runner@aborted.html
    - fi-bwr-2160:        NOTRUN -> [FAIL][11] ([i915#4312])
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v2/fi-bwr-2160/igt@runner@aborted.html
    - fi-blb-e6850:       NOTRUN -> [FAIL][12] ([i915#2403] / [i915#4312])
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v2/fi-blb-e6850/igt@runner@aborted.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [i915#2403]: https://gitlab.freedesktop.org/drm/intel/issues/2403
  [i915#3690]: https://gitlab.freedesktop.org/drm/intel/issues/3690
  [i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
  [i915#5602]: https://gitlab.freedesktop.org/drm/intel/issues/5602
  [i915#5616]: https://gitlab.freedesktop.org/drm/intel/issues/5616
  [i915#5917]: https://gitlab.freedesktop.org/drm/intel/issues/5917


Build changes
-------------

  * Linux: CI_DRM_11616 -> Patchwork_103665v2

  CI-20190529: 20190529
  CI_DRM_11616: 65a5fe9ac96c60bd6dfcc44a0bb8d584912ea53d @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_6467: 929abc51cdd48d673efa03e025b1f31b557972ed @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  Patchwork_103665v2: 65a5fe9ac96c60bd6dfcc44a0bb8d584912ea53d @ git://anongit.freedesktop.org/gfx-ci/linux


### Linux commits

9734c8e38d6c drm/edid: convert version_greater() to drm_edid
8939e8e87b70 drm/displayid: convert to drm_edid
4616e8e39130 drm/edid: add drm_edid helper for drm_update_tile_info()
ce9cf6c3f3bd drm/edid: convert drm_edid_iter_begin() to drm_edid
88cf2acc4d23 drm/edid: convert cea_db_iter_edid_begin() to drm_edid
3697803e34fc drm/edid: add drm_edid helper for drm_detect_monitor_audio()
198071639b3e drm/edid: add drm_edid helper for drm_detect_hdmi_monitor()
c7c8274be0e0 drm/edid: add drm_edid helper for drm_edid_to_speaker_allocation()
10ad8b7391e0 drm/edid: add drm_edid helper for drm_edid_to_sad()
e891c81d67f3 drm/edid: convert drm_for_each_detailed_block() to drm_edid
5f5a1c1c2508 drm/edid: convert get_monitor_name() to drm_edid
e488770c1462 drm/edid: convert mode_in_range() and drm_monitor_supports_rb() to drm_edid
461fcc87fa90 drm/edid: convert drm_mode_std() and children to drm_edid
2292e72bfeff drm/edid: convert drm_cvt_modes_for_range() to drm_edid
5eb20e63d105 drm/edid: convert drm_gtf_modes_for_range() to drm_edid
5a4739a67af5 drm/edid: convert drm_dmt_modes_for_range() to drm_edid
53332e0d363d drm/edid: convert drm_mode_detailed() to drm_edid
2ef1277233e0 drm/edid: convert struct detailed_mode_closure to drm_edid
fc6369e1dd6b drm/edid: convert drm_edid_connector_update() to drm_edid fully
ab18c2b15aa4 drm/edid: propagate drm_edid to drm_edid_to_eld()
3497e0a93c43 drm/edid: keep propagating drm_edid to display info
a80e2228c7dc drm/edid: start propagating drm_edid to lower levels
e0347abd18f2 drm/edid: add struct drm_edid container
ea83471aa394 drm/edid: convert drm_for_each_detailed_block() to edid iter
78a0dd405bf8 drm/edid: use else-if in CTA extension parsing

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_103665v2/index.html

[-- Attachment #2: Type: text/html, Size: 7069 bytes --]

^ permalink raw reply	[flat|nested] 78+ messages in thread

* RE: amdgpu sparse warnings (was: Re: ✗ Fi.CI.SPARSE: warning for drm/edid: introduce struct drm_edid)
  2022-05-06 11:42     ` [Intel-gfx] " Jani Nikula
  (?)
@ 2022-05-06 14:15       ` Deucher, Alexander
  -1 siblings, 0 replies; 78+ messages in thread
From: Deucher, Alexander @ 2022-05-06 14:15 UTC (permalink / raw)
  To: Jani Nikula, Koenig, Christian, amd-gfx, Liu, Monk, Zhang, Bokun
  Cc: Daniel Vetter, intel-gfx, dri-devel

[AMD Official Use Only - General]

> -----Original Message-----
> From: Jani Nikula <jani.nikula@intel.com>
> Sent: Friday, May 6, 2022 7:43 AM
> To: Deucher, Alexander <Alexander.Deucher@amd.com>; Koenig, Christian
> <Christian.Koenig@amd.com>; amd-gfx@lists.freedesktop.org
> Cc: intel-gfx@lists.freedesktop.org; dri-devel@lists.freedesktop.org; Daniel
> Vetter <daniel.vetter@ffwll.ch>; Dave Airlie <airlied@gmail.com>
> Subject: amdgpu sparse warnings (was: Re: ✗ Fi.CI.SPARSE: warning for
> drm/edid: introduce struct drm_edid)
> 
> 
> Hey, do you ever run sparse on your driver? Whenever our CI ends up
> recompiling amdgpu, there's quite the spew. See below.
> 
> You're not alone, but, sorry to say, the _Static_assert() from
> amdgv_sriovmsg.h has been pretty obnoxious for quite some time now.
> 
> First, I don't think you should be using _Static_assert() directly;
> there's an in-kernel static_assert() wrapper. However, it's the #pragma
> pack(push, 1) and #pragma pack(pop) pair that sparse does not
> understand, leaves the structs unpacked, and leads to warnings.

@Liu, Monk, @Zhang, Bokun Can someone on your team fix this up please?

Thanks,

Alex

> 
> 
> BR,
> Jani.
> 
> 
> 
> On Fri, 06 May 2022, Patchwork <patchwork@emeril.freedesktop.org>
> wrote:
> > == Series Details ==
> >
> > Series: drm/edid: introduce struct drm_edid
> > URL   :
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
> work.freedesktop.org%2Fseries%2F103665%2F&amp;data=05%7C01%7Calex
> ander.deucher%40amd.com%7Ca19089e62ed74d8fdded08da2f55918b%7C
> 3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C6378743418187999
> 04%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi
> LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=bLL95
> 15ffinKR%2BaDOFl3JGQ8L7BgOECFveGxzQfHne8%3D&amp;reserved=0
> > State : warning
> >
> > == Summary ==
> >
> > Error: dim sparse failed
> > Sparse version: v0.6.2
> > Fast mode used, each commit won't be checked separately.
> > -
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16: error:
> incompatible types in comparison expression (different type sizes):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long
> *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long
> long *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:
> error: incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:
> void
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:
> error: incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:
> void
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9: error:
> incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    void
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9: error:
> incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    void
> > +drivers/gpu/drm/ast/ast_dp.c:278:66: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_dp.c:280:66: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_dp.c:281:66: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_dp.c:37:46: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_drv.c:42:5: warning: symbol 'ast_modeset' was
> not declared. Should it be static?
> > +drivers/gpu/drm/ast/ast_mode.c:678:16:    expected unsigned char
> [noderef] [usertype] __iomem *dstxor
> > +drivers/gpu/drm/ast/ast_mode.c:678:16:    got unsigned char [usertype] *
> > +drivers/gpu/drm/ast/ast_mode.c:678:16: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/ast/ast_mode.c:678:19: warning: cast removes address
> space '__iomem' of expression
> > +drivers/gpu/drm/drm_drv.c:426:6: warning: context imbalance in
> 'drm_dev_enter' - different lock contexts for basic block
> > +drivers/gpu/drm/drm_drv.c:70:1: warning: symbol
> '__srcu_struct_drm_unplug_srcu' was not declared. Should it be static?
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/gma_display.c:402:25:    expected void
> *tmp_dst
> > +drivers/gpu/drm/gma500/gma_display.c:402:25:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/gma_display.c:402:25: warning: incorrect type
> in assignment (different address spaces)
> > +drivers/gpu/drm/gma500/intel_bios.c:548:42:    expected void const
> *const p
> > +drivers/gpu/drm/gma500/intel_bios.c:548:42:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/intel_bios.c:548:42: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/intel_bios.c:549:40: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/gma500/intel_bios.c:559:24: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/gma500/mmu.c:306:26: warning: context imbalance in
> 'psb_mmu_pt_alloc_map_lock' - wrong count at exit
> > +drivers/gpu/drm/gma500/mmu.c:346:26: warning: context imbalance in
> 'psb_mmu_pt_map_lock' - wrong count at exit
> > +drivers/gpu/drm/gma500/mmu.c:379:28: warning: context imbalance in
> 'psb_mmu_pt_unmap_unlock' - unexpected unlock
> > +drivers/gpu/drm/gma500/oaktrail_crtc.c:661:30: warning: symbol
> 'mrst_clock_funcs' was not declared. Should it be static?
> > +drivers/gpu/drm/gma500/opregion.c:298:25:    expected void volatile
> [noderef] __iomem *addr
> > +drivers/gpu/drm/gma500/opregion.c:298:25:    got struct
> opregion_header *header
> > +drivers/gpu/drm/gma500/opregion.c:298:25: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:328:20:    expected void const
> *const p
> > +drivers/gpu/drm/gma500/opregion.c:328:20:    got void [noderef]
> __iomem *[assigned] base
> > +drivers/gpu/drm/gma500/opregion.c:328:20: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:334:26:    expected struct
> opregion_header *header
> > +drivers/gpu/drm/gma500/opregion.c:334:26:    got void [noderef]
> __iomem *[assigned] base
> > +drivers/gpu/drm/gma500/opregion.c:334:26: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:335:23:    expected void *vbt
> > +drivers/gpu/drm/gma500/opregion.c:335:23:    got void [noderef]
> __iomem *
> > +drivers/gpu/drm/gma500/opregion.c:335:23: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:342:32:    expected struct
> opregion_acpi *acpi
> > +drivers/gpu/drm/gma500/opregion.c:342:32:    got void [noderef]
> __iomem *
> > +drivers/gpu/drm/gma500/opregion.c:342:32: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:347:32:    expected struct
> opregion_asle *asle
> > +drivers/gpu/drm/gma500/opregion.c:347:32:    got void [noderef]
> __iomem *
> > +drivers/gpu/drm/gma500/opregion.c:347:32: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/psb_intel_display.c:434:30: warning: symbol
> 'psb_clock_funcs' was not declared. Should it be static?
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    expected restricted
> __be32 const [usertype] *p
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    got unsigned int const
> [usertype] *
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50: warning: incorrect type in
> argument 1 (different base types)
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    expected restricted
> __be32 const [usertype] *p
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    got unsigned int const
> [usertype] *
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52: warning: incorrect type in
> argument 1 (different base types)
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    int enum
> port
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34: warning:
> mixing different enum types:
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    int enum
> port
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37: warning:
> mixing different enum types:
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned
> int enum aux_ch
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43: warning:
> mixing different enum types:
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned
> int enum aux_ch
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35: warning:
> mixing different enum types:
> > +drivers/gpu/drm/mgag200/mgag200_drv.c:23:5: warning: symbol
> 'mgag200_modeset' was not declared. Should it be static?
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:135:34: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:198:34: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    expected unsigned
> int [usertype] *cur
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    expected unsigned
> int [usertype] *bgn
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    expected unsigned
> int [usertype] *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    expected unsigned
> int [usertype] *bgn
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:2693:1: warning: symbol
> 'nv50_display_create' was not declared. Should it be static?
> > +drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c:40:9: warning: dubious:
> !x & y
> > +drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:282:9: warning:
> dubious: !x & y
> > +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    expected struct qxl_rom *rom
> > +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    got void [noderef] __iomem *
> > +drivers/gpu/drm/qxl/qxl_kms.c:168:19: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    expected struct
> qxl_ram_header *ram_header
> > +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    got void [noderef] __iomem *
> > +drivers/gpu/drm/qxl/qxl_kms.c:186:26: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    got struct qxl_ram_header
> *ram_header
> > +drivers/gpu/drm/qxl/qxl_kms.c:275:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    got struct qxl_rom *rom
> > +drivers/gpu/drm/qxl/qxl_kms.c:279:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    got struct qxl_ram_header
> *ram_header
> > +drivers/gpu/drm/qxl/qxl_kms.c:323:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    got struct qxl_rom *rom
> > +drivers/gpu/drm/qxl/qxl_kms.c:324:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:36:5: warning: symbol 'qxl_log_level' was
> not declared. Should it be static?
> > +drivers/gpu/drm/qxl/qxl_object.c:178:29: warning: cast removes address
> space '__iomem' of expression
> > +drivers/gpu/drm/qxl/qxl_object.c:223:40:    expected void *
> > +drivers/gpu/drm/qxl/qxl_object.c:223:40:    got void [noderef] __iomem *
> > +drivers/gpu/drm/qxl/qxl_object.c:223:40: warning: incorrect type in
> return expression (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_object.c:273:33:    expected void [noderef]
> __iomem *vaddr
> > +drivers/gpu/drm/qxl/qxl_object.c:273:33:    got void *pmap
> > +drivers/gpu/drm/qxl/qxl_object.c:273:33: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    expected unsigned
> short [addressable] [usertype] usH_Size
> > +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:313:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    expected unsigned
> short [addressable] [usertype] usH_Blanking_Time
> > +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:314:32: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    expected unsigned
> short [addressable] [usertype] usV_Size
> > +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:316:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    expected unsigned
> short [addressable] [usertype] usV_Blanking_Time
> > +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:317:32: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    expected unsigned
> short [addressable] [usertype] usH_SyncOffset
> > +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:319:29: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    expected unsigned
> short [addressable] [usertype] usH_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:321:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    expected unsigned
> short [addressable] [usertype] usV_SyncOffset
> > +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:323:29: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    expected unsigned
> short [addressable] [usertype] usV_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:325:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    expected unsigned
> short [addressable] [assigned] [usertype] usAccess
> > +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:343:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    expected unsigned
> short [addressable] [usertype] usH_Total
> > +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:360:24: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    expected unsigned
> short [addressable] [usertype] usH_Disp
> > +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:361:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    expected unsigned
> short [addressable] [usertype] usH_SyncStart
> > +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:362:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    expected unsigned
> short [addressable] [usertype] usH_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:363:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    expected unsigned
> short [addressable] [usertype] usV_Total
> > +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:365:24: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    expected unsigned
> short [addressable] [usertype] usV_Disp
> > +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:366:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    expected unsigned
> short [addressable] [usertype] usV_SyncStart
> > +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:367:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    expected unsigned
> short [addressable] [usertype] usV_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:368:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    expected unsigned
> short [addressable] [assigned] [usertype] usAccess
> > +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:389:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    expected unsigned
> short [addressable] [usertype] usSpreadSpectrumAmountFrac
> > +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:481:52: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> > +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:496:48: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> > +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:497:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:500:52: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> > +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:515:48: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> > +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:516:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:519:52: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:532:59: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:543:57: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanTop
> > +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:55:36: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanBottom
> > +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:56:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanLeft
> > +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:57:37: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanRight
> > +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:58:38: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanLeft
> > +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:65:45: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanRight
> > +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:66:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanTop
> > +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:68:44: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    expected unsigned
> short [addressable] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:694:54: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanBottom
> > +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:69:47: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:703:50: warning: cast to
> restricted __le16
> > +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:706:61: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:717:69: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:736:50: warning: cast to
> restricted __le32
> > +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanRight
> > +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:74:38: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanLeft
> > +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:75:37: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanBottom
> > +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:76:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanTop
> > +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:77:36: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:795:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    expected unsigned int
> [addressable] [assigned] [usertype] ulDispEngClkFreq
> > +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    got restricted __le32
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:802:50: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    expected unsigned
> short [addressable] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:854:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    expected unsigned
> short [addressable] [usertype] usRefDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:855:42: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    expected unsigned
> short [addressable] [usertype] usFbDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:856:41: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:864:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    expected unsigned
> short [addressable] [assigned] [usertype] usRefDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:865:42: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    expected unsigned
> short [addressable] [assigned] [usertype] usFbDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:866:41: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:874:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    expected unsigned
> short [addressable] [assigned] [usertype] usRefDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:875:42: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    expected unsigned
> short [addressable] [assigned] [usertype] usFbDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:876:41: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:891:46:    expected unsigned sh
> >
> >
> 
> --
> Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [Intel-gfx] amdgpu sparse warnings (was: Re: ✗ Fi.CI.SPARSE: warning for drm/edid: introduce struct drm_edid)
@ 2022-05-06 14:15       ` Deucher, Alexander
  0 siblings, 0 replies; 78+ messages in thread
From: Deucher, Alexander @ 2022-05-06 14:15 UTC (permalink / raw)
  To: Jani Nikula, Koenig, Christian, amd-gfx, Liu, Monk, Zhang, Bokun
  Cc: Daniel Vetter, intel-gfx, Dave Airlie, dri-devel

[AMD Official Use Only - General]

> -----Original Message-----
> From: Jani Nikula <jani.nikula@intel.com>
> Sent: Friday, May 6, 2022 7:43 AM
> To: Deucher, Alexander <Alexander.Deucher@amd.com>; Koenig, Christian
> <Christian.Koenig@amd.com>; amd-gfx@lists.freedesktop.org
> Cc: intel-gfx@lists.freedesktop.org; dri-devel@lists.freedesktop.org; Daniel
> Vetter <daniel.vetter@ffwll.ch>; Dave Airlie <airlied@gmail.com>
> Subject: amdgpu sparse warnings (was: Re: ✗ Fi.CI.SPARSE: warning for
> drm/edid: introduce struct drm_edid)
> 
> 
> Hey, do you ever run sparse on your driver? Whenever our CI ends up
> recompiling amdgpu, there's quite the spew. See below.
> 
> You're not alone, but, sorry to say, the _Static_assert() from
> amdgv_sriovmsg.h has been pretty obnoxious for quite some time now.
> 
> First, I don't think you should be using _Static_assert() directly;
> there's an in-kernel static_assert() wrapper. However, it's the #pragma
> pack(push, 1) and #pragma pack(pop) pair that sparse does not
> understand, leaves the structs unpacked, and leads to warnings.

@Liu, Monk, @Zhang, Bokun Can someone on your team fix this up please?

Thanks,

Alex

> 
> 
> BR,
> Jani.
> 
> 
> 
> On Fri, 06 May 2022, Patchwork <patchwork@emeril.freedesktop.org>
> wrote:
> > == Series Details ==
> >
> > Series: drm/edid: introduce struct drm_edid
> > URL   :
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
> work.freedesktop.org%2Fseries%2F103665%2F&amp;data=05%7C01%7Calex
> ander.deucher%40amd.com%7Ca19089e62ed74d8fdded08da2f55918b%7C
> 3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C6378743418187999
> 04%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi
> LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=bLL95
> 15ffinKR%2BaDOFl3JGQ8L7BgOECFveGxzQfHne8%3D&amp;reserved=0
> > State : warning
> >
> > == Summary ==
> >
> > Error: dim sparse failed
> > Sparse version: v0.6.2
> > Fast mode used, each commit won't be checked separately.
> > -
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16: error:
> incompatible types in comparison expression (different type sizes):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long
> *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long
> long *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:
> error: incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:
> void
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:
> error: incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:
> void
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9: error:
> incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    void
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9: error:
> incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    void
> > +drivers/gpu/drm/ast/ast_dp.c:278:66: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_dp.c:280:66: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_dp.c:281:66: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_dp.c:37:46: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_drv.c:42:5: warning: symbol 'ast_modeset' was
> not declared. Should it be static?
> > +drivers/gpu/drm/ast/ast_mode.c:678:16:    expected unsigned char
> [noderef] [usertype] __iomem *dstxor
> > +drivers/gpu/drm/ast/ast_mode.c:678:16:    got unsigned char [usertype] *
> > +drivers/gpu/drm/ast/ast_mode.c:678:16: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/ast/ast_mode.c:678:19: warning: cast removes address
> space '__iomem' of expression
> > +drivers/gpu/drm/drm_drv.c:426:6: warning: context imbalance in
> 'drm_dev_enter' - different lock contexts for basic block
> > +drivers/gpu/drm/drm_drv.c:70:1: warning: symbol
> '__srcu_struct_drm_unplug_srcu' was not declared. Should it be static?
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/gma_display.c:402:25:    expected void
> *tmp_dst
> > +drivers/gpu/drm/gma500/gma_display.c:402:25:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/gma_display.c:402:25: warning: incorrect type
> in assignment (different address spaces)
> > +drivers/gpu/drm/gma500/intel_bios.c:548:42:    expected void const
> *const p
> > +drivers/gpu/drm/gma500/intel_bios.c:548:42:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/intel_bios.c:548:42: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/intel_bios.c:549:40: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/gma500/intel_bios.c:559:24: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/gma500/mmu.c:306:26: warning: context imbalance in
> 'psb_mmu_pt_alloc_map_lock' - wrong count at exit
> > +drivers/gpu/drm/gma500/mmu.c:346:26: warning: context imbalance in
> 'psb_mmu_pt_map_lock' - wrong count at exit
> > +drivers/gpu/drm/gma500/mmu.c:379:28: warning: context imbalance in
> 'psb_mmu_pt_unmap_unlock' - unexpected unlock
> > +drivers/gpu/drm/gma500/oaktrail_crtc.c:661:30: warning: symbol
> 'mrst_clock_funcs' was not declared. Should it be static?
> > +drivers/gpu/drm/gma500/opregion.c:298:25:    expected void volatile
> [noderef] __iomem *addr
> > +drivers/gpu/drm/gma500/opregion.c:298:25:    got struct
> opregion_header *header
> > +drivers/gpu/drm/gma500/opregion.c:298:25: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:328:20:    expected void const
> *const p
> > +drivers/gpu/drm/gma500/opregion.c:328:20:    got void [noderef]
> __iomem *[assigned] base
> > +drivers/gpu/drm/gma500/opregion.c:328:20: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:334:26:    expected struct
> opregion_header *header
> > +drivers/gpu/drm/gma500/opregion.c:334:26:    got void [noderef]
> __iomem *[assigned] base
> > +drivers/gpu/drm/gma500/opregion.c:334:26: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:335:23:    expected void *vbt
> > +drivers/gpu/drm/gma500/opregion.c:335:23:    got void [noderef]
> __iomem *
> > +drivers/gpu/drm/gma500/opregion.c:335:23: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:342:32:    expected struct
> opregion_acpi *acpi
> > +drivers/gpu/drm/gma500/opregion.c:342:32:    got void [noderef]
> __iomem *
> > +drivers/gpu/drm/gma500/opregion.c:342:32: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:347:32:    expected struct
> opregion_asle *asle
> > +drivers/gpu/drm/gma500/opregion.c:347:32:    got void [noderef]
> __iomem *
> > +drivers/gpu/drm/gma500/opregion.c:347:32: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/psb_intel_display.c:434:30: warning: symbol
> 'psb_clock_funcs' was not declared. Should it be static?
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    expected restricted
> __be32 const [usertype] *p
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    got unsigned int const
> [usertype] *
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50: warning: incorrect type in
> argument 1 (different base types)
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    expected restricted
> __be32 const [usertype] *p
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    got unsigned int const
> [usertype] *
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52: warning: incorrect type in
> argument 1 (different base types)
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    int enum
> port
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34: warning:
> mixing different enum types:
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    int enum
> port
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37: warning:
> mixing different enum types:
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned
> int enum aux_ch
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43: warning:
> mixing different enum types:
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned
> int enum aux_ch
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35: warning:
> mixing different enum types:
> > +drivers/gpu/drm/mgag200/mgag200_drv.c:23:5: warning: symbol
> 'mgag200_modeset' was not declared. Should it be static?
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:135:34: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:198:34: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    expected unsigned
> int [usertype] *cur
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    expected unsigned
> int [usertype] *bgn
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    expected unsigned
> int [usertype] *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    expected unsigned
> int [usertype] *bgn
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:2693:1: warning: symbol
> 'nv50_display_create' was not declared. Should it be static?
> > +drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c:40:9: warning: dubious:
> !x & y
> > +drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:282:9: warning:
> dubious: !x & y
> > +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    expected struct qxl_rom *rom
> > +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    got void [noderef] __iomem *
> > +drivers/gpu/drm/qxl/qxl_kms.c:168:19: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    expected struct
> qxl_ram_header *ram_header
> > +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    got void [noderef] __iomem *
> > +drivers/gpu/drm/qxl/qxl_kms.c:186:26: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    got struct qxl_ram_header
> *ram_header
> > +drivers/gpu/drm/qxl/qxl_kms.c:275:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    got struct qxl_rom *rom
> > +drivers/gpu/drm/qxl/qxl_kms.c:279:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    got struct qxl_ram_header
> *ram_header
> > +drivers/gpu/drm/qxl/qxl_kms.c:323:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    got struct qxl_rom *rom
> > +drivers/gpu/drm/qxl/qxl_kms.c:324:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:36:5: warning: symbol 'qxl_log_level' was
> not declared. Should it be static?
> > +drivers/gpu/drm/qxl/qxl_object.c:178:29: warning: cast removes address
> space '__iomem' of expression
> > +drivers/gpu/drm/qxl/qxl_object.c:223:40:    expected void *
> > +drivers/gpu/drm/qxl/qxl_object.c:223:40:    got void [noderef] __iomem *
> > +drivers/gpu/drm/qxl/qxl_object.c:223:40: warning: incorrect type in
> return expression (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_object.c:273:33:    expected void [noderef]
> __iomem *vaddr
> > +drivers/gpu/drm/qxl/qxl_object.c:273:33:    got void *pmap
> > +drivers/gpu/drm/qxl/qxl_object.c:273:33: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    expected unsigned
> short [addressable] [usertype] usH_Size
> > +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:313:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    expected unsigned
> short [addressable] [usertype] usH_Blanking_Time
> > +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:314:32: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    expected unsigned
> short [addressable] [usertype] usV_Size
> > +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:316:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    expected unsigned
> short [addressable] [usertype] usV_Blanking_Time
> > +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:317:32: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    expected unsigned
> short [addressable] [usertype] usH_SyncOffset
> > +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:319:29: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    expected unsigned
> short [addressable] [usertype] usH_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:321:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    expected unsigned
> short [addressable] [usertype] usV_SyncOffset
> > +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:323:29: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    expected unsigned
> short [addressable] [usertype] usV_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:325:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    expected unsigned
> short [addressable] [assigned] [usertype] usAccess
> > +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:343:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    expected unsigned
> short [addressable] [usertype] usH_Total
> > +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:360:24: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    expected unsigned
> short [addressable] [usertype] usH_Disp
> > +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:361:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    expected unsigned
> short [addressable] [usertype] usH_SyncStart
> > +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:362:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    expected unsigned
> short [addressable] [usertype] usH_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:363:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    expected unsigned
> short [addressable] [usertype] usV_Total
> > +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:365:24: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    expected unsigned
> short [addressable] [usertype] usV_Disp
> > +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:366:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    expected unsigned
> short [addressable] [usertype] usV_SyncStart
> > +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:367:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    expected unsigned
> short [addressable] [usertype] usV_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:368:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    expected unsigned
> short [addressable] [assigned] [usertype] usAccess
> > +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:389:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    expected unsigned
> short [addressable] [usertype] usSpreadSpectrumAmountFrac
> > +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:481:52: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> > +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:496:48: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> > +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:497:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:500:52: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> > +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:515:48: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> > +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:516:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:519:52: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:532:59: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:543:57: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanTop
> > +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:55:36: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanBottom
> > +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:56:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanLeft
> > +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:57:37: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanRight
> > +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:58:38: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanLeft
> > +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:65:45: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanRight
> > +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:66:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanTop
> > +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:68:44: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    expected unsigned
> short [addressable] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:694:54: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanBottom
> > +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:69:47: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:703:50: warning: cast to
> restricted __le16
> > +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:706:61: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:717:69: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:736:50: warning: cast to
> restricted __le32
> > +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanRight
> > +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:74:38: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanLeft
> > +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:75:37: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanBottom
> > +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:76:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanTop
> > +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:77:36: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:795:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    expected unsigned int
> [addressable] [assigned] [usertype] ulDispEngClkFreq
> > +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    got restricted __le32
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:802:50: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    expected unsigned
> short [addressable] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:854:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    expected unsigned
> short [addressable] [usertype] usRefDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:855:42: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    expected unsigned
> short [addressable] [usertype] usFbDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:856:41: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:864:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    expected unsigned
> short [addressable] [assigned] [usertype] usRefDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:865:42: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    expected unsigned
> short [addressable] [assigned] [usertype] usFbDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:866:41: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:874:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    expected unsigned
> short [addressable] [assigned] [usertype] usRefDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:875:42: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    expected unsigned
> short [addressable] [assigned] [usertype] usFbDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:876:41: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:891:46:    expected unsigned sh
> >
> >
> 
> --
> Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 78+ messages in thread

* RE: amdgpu sparse warnings (was: Re: ✗ Fi.CI.SPARSE: warning for drm/edid: introduce struct drm_edid)
@ 2022-05-06 14:15       ` Deucher, Alexander
  0 siblings, 0 replies; 78+ messages in thread
From: Deucher, Alexander @ 2022-05-06 14:15 UTC (permalink / raw)
  To: Jani Nikula, Koenig, Christian, amd-gfx, Liu, Monk, Zhang, Bokun
  Cc: Daniel Vetter, intel-gfx, Dave Airlie, dri-devel

[AMD Official Use Only - General]

> -----Original Message-----
> From: Jani Nikula <jani.nikula@intel.com>
> Sent: Friday, May 6, 2022 7:43 AM
> To: Deucher, Alexander <Alexander.Deucher@amd.com>; Koenig, Christian
> <Christian.Koenig@amd.com>; amd-gfx@lists.freedesktop.org
> Cc: intel-gfx@lists.freedesktop.org; dri-devel@lists.freedesktop.org; Daniel
> Vetter <daniel.vetter@ffwll.ch>; Dave Airlie <airlied@gmail.com>
> Subject: amdgpu sparse warnings (was: Re: ✗ Fi.CI.SPARSE: warning for
> drm/edid: introduce struct drm_edid)
> 
> 
> Hey, do you ever run sparse on your driver? Whenever our CI ends up
> recompiling amdgpu, there's quite the spew. See below.
> 
> You're not alone, but, sorry to say, the _Static_assert() from
> amdgv_sriovmsg.h has been pretty obnoxious for quite some time now.
> 
> First, I don't think you should be using _Static_assert() directly;
> there's an in-kernel static_assert() wrapper. However, it's the #pragma
> pack(push, 1) and #pragma pack(pop) pair that sparse does not
> understand, leaves the structs unpacked, and leads to warnings.

@Liu, Monk, @Zhang, Bokun Can someone on your team fix this up please?

Thanks,

Alex

> 
> 
> BR,
> Jani.
> 
> 
> 
> On Fri, 06 May 2022, Patchwork <patchwork@emeril.freedesktop.org>
> wrote:
> > == Series Details ==
> >
> > Series: drm/edid: introduce struct drm_edid
> > URL   :
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
> work.freedesktop.org%2Fseries%2F103665%2F&amp;data=05%7C01%7Calex
> ander.deucher%40amd.com%7Ca19089e62ed74d8fdded08da2f55918b%7C
> 3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C6378743418187999
> 04%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi
> LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=bLL95
> 15ffinKR%2BaDOFl3JGQ8L7BgOECFveGxzQfHne8%3D&amp;reserved=0
> > State : warning
> >
> > == Summary ==
> >
> > Error: dim sparse failed
> > Sparse version: v0.6.2
> > Fast mode used, each commit won't be checked separately.
> > -
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:314:49:
> error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:318:49:
> error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1449:25:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1450:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1509:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16: error:
> incompatible types in comparison expression (different type sizes):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long
> *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:353:16:    unsigned long
> long *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:295:25:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:296:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:345:17:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:596:23:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25: error:
> incompatible types in comparison expression (different address spaces):
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct
> dma_fence *
> > +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:598:25:    struct
> dma_fence [noderef] __rcu *
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:314:49: error: static
> assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:318:49: error: static
> assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB"
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:
> error: incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1048:9:
> void
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:
> error: incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:675:17:
> void
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9: error:
> incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:923:9:    void
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9: error:
> incompatible types in conditional expression (different base types):
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    int
> > +drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:955:9:    void
> > +drivers/gpu/drm/ast/ast_dp.c:278:66: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_dp.c:280:66: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_dp.c:281:66: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_dp.c:37:46: warning: cast truncates bits from
> constant value (ffffffffffffff00 becomes 0)
> > +drivers/gpu/drm/ast/ast_drv.c:42:5: warning: symbol 'ast_modeset' was
> not declared. Should it be static?
> > +drivers/gpu/drm/ast/ast_mode.c:678:16:    expected unsigned char
> [noderef] [usertype] __iomem *dstxor
> > +drivers/gpu/drm/ast/ast_mode.c:678:16:    got unsigned char [usertype] *
> > +drivers/gpu/drm/ast/ast_mode.c:678:16: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/ast/ast_mode.c:678:19: warning: cast removes address
> space '__iomem' of expression
> > +drivers/gpu/drm/drm_drv.c:426:6: warning: context imbalance in
> 'drm_dev_enter' - different lock contexts for basic block
> > +drivers/gpu/drm/drm_drv.c:70:1: warning: symbol
> '__srcu_struct_drm_unplug_srcu' was not declared. Should it be static?
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    expected void const *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/framebuffer.c:268:9: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/gma_display.c:402:25:    expected void
> *tmp_dst
> > +drivers/gpu/drm/gma500/gma_display.c:402:25:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/gma_display.c:402:25: warning: incorrect type
> in assignment (different address spaces)
> > +drivers/gpu/drm/gma500/intel_bios.c:548:42:    expected void const
> *const p
> > +drivers/gpu/drm/gma500/intel_bios.c:548:42:    got unsigned char
> [noderef] [usertype] __iomem *
> > +drivers/gpu/drm/gma500/intel_bios.c:548:42: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/intel_bios.c:549:40: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/gma500/intel_bios.c:559:24: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/gma500/mmu.c:306:26: warning: context imbalance in
> 'psb_mmu_pt_alloc_map_lock' - wrong count at exit
> > +drivers/gpu/drm/gma500/mmu.c:346:26: warning: context imbalance in
> 'psb_mmu_pt_map_lock' - wrong count at exit
> > +drivers/gpu/drm/gma500/mmu.c:379:28: warning: context imbalance in
> 'psb_mmu_pt_unmap_unlock' - unexpected unlock
> > +drivers/gpu/drm/gma500/oaktrail_crtc.c:661:30: warning: symbol
> 'mrst_clock_funcs' was not declared. Should it be static?
> > +drivers/gpu/drm/gma500/opregion.c:298:25:    expected void volatile
> [noderef] __iomem *addr
> > +drivers/gpu/drm/gma500/opregion.c:298:25:    got struct
> opregion_header *header
> > +drivers/gpu/drm/gma500/opregion.c:298:25: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:328:20:    expected void const
> *const p
> > +drivers/gpu/drm/gma500/opregion.c:328:20:    got void [noderef]
> __iomem *[assigned] base
> > +drivers/gpu/drm/gma500/opregion.c:328:20: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:334:26:    expected struct
> opregion_header *header
> > +drivers/gpu/drm/gma500/opregion.c:334:26:    got void [noderef]
> __iomem *[assigned] base
> > +drivers/gpu/drm/gma500/opregion.c:334:26: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:335:23:    expected void *vbt
> > +drivers/gpu/drm/gma500/opregion.c:335:23:    got void [noderef]
> __iomem *
> > +drivers/gpu/drm/gma500/opregion.c:335:23: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:342:32:    expected struct
> opregion_acpi *acpi
> > +drivers/gpu/drm/gma500/opregion.c:342:32:    got void [noderef]
> __iomem *
> > +drivers/gpu/drm/gma500/opregion.c:342:32: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/opregion.c:347:32:    expected struct
> opregion_asle *asle
> > +drivers/gpu/drm/gma500/opregion.c:347:32:    got void [noderef]
> __iomem *
> > +drivers/gpu/drm/gma500/opregion.c:347:32: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/gma500/psb_intel_display.c:434:30: warning: symbol
> 'psb_clock_funcs' was not declared. Should it be static?
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    expected restricted
> __be32 const [usertype] *p
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50:    got unsigned int const
> [usertype] *
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1712:50: warning: incorrect type in
> argument 1 (different base types)
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    expected restricted
> __be32 const [usertype] *p
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52:    got unsigned int const
> [usertype] *
> > +drivers/gpu/drm/i2c/tda998x_drv.c:1713:52: warning: incorrect type in
> argument 1 (different base types)
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    int enum
> port
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2431:34: warning:
> mixing different enum types:
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    int enum
> port
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2442:37: warning:
> mixing different enum types:
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned
> int enum aux_ch
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2468:43: warning:
> mixing different enum types:
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned
> int enum aux_ch
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35:    unsigned
> int enum intel_display_power_domain
> > +drivers/gpu/drm/i915/display/intel_display_power.c:2479:35: warning:
> mixing different enum types:
> > +drivers/gpu/drm/mgag200/mgag200_drv.c:23:5: warning: symbol
> 'mgag200_modeset' was not declared. Should it be static?
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:135:34: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:198:34: warning: cast removes
> address space '__iomem' of expression
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    expected unsigned
> int [usertype] *cur
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:204:27: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    expected unsigned
> int [usertype] *bgn
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:217:19: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    expected unsigned
> int [usertype] *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:258:19: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    expected unsigned
> int [usertype] *bgn
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25:    got void [noderef]
> __iomem *ptr
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:262:25: warning: incorrect
> type in assignment (different address spaces)
> > +drivers/gpu/drm/nouveau/dispnv50/disp.c:2693:1: warning: symbol
> 'nv50_display_create' was not declared. Should it be static?
> > +drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c:40:9: warning: dubious:
> !x & y
> > +drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c:282:9: warning:
> dubious: !x & y
> > +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    expected struct qxl_rom *rom
> > +drivers/gpu/drm/qxl/qxl_kms.c:168:19:    got void [noderef] __iomem *
> > +drivers/gpu/drm/qxl/qxl_kms.c:168:19: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    expected struct
> qxl_ram_header *ram_header
> > +drivers/gpu/drm/qxl/qxl_kms.c:186:26:    got void [noderef] __iomem *
> > +drivers/gpu/drm/qxl/qxl_kms.c:186:26: warning: incorrect type in
> assignment (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:275:21:    got struct qxl_ram_header
> *ram_header
> > +drivers/gpu/drm/qxl/qxl_kms.c:275:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:279:21:    got struct qxl_rom *rom
> > +drivers/gpu/drm/qxl/qxl_kms.c:279:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:323:21:    got struct qxl_ram_header
> *ram_header
> > +drivers/gpu/drm/qxl/qxl_kms.c:323:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    expected void volatile [noderef]
> __iomem *addr
> > +drivers/gpu/drm/qxl/qxl_kms.c:324:21:    got struct qxl_rom *rom
> > +drivers/gpu/drm/qxl/qxl_kms.c:324:21: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_kms.c:36:5: warning: symbol 'qxl_log_level' was
> not declared. Should it be static?
> > +drivers/gpu/drm/qxl/qxl_object.c:178:29: warning: cast removes address
> space '__iomem' of expression
> > +drivers/gpu/drm/qxl/qxl_object.c:223:40:    expected void *
> > +drivers/gpu/drm/qxl/qxl_object.c:223:40:    got void [noderef] __iomem *
> > +drivers/gpu/drm/qxl/qxl_object.c:223:40: warning: incorrect type in
> return expression (different address spaces)
> > +drivers/gpu/drm/qxl/qxl_object.c:273:33:    expected void [noderef]
> __iomem *vaddr
> > +drivers/gpu/drm/qxl/qxl_object.c:273:33:    got void *pmap
> > +drivers/gpu/drm/qxl/qxl_object.c:273:33: warning: incorrect type in
> argument 1 (different address spaces)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    expected unsigned
> short [addressable] [usertype] usH_Size
> > +drivers/gpu/drm/radeon/atombios_crtc.c:313:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:313:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    expected unsigned
> short [addressable] [usertype] usH_Blanking_Time
> > +drivers/gpu/drm/radeon/atombios_crtc.c:314:32:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:314:32: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    expected unsigned
> short [addressable] [usertype] usV_Size
> > +drivers/gpu/drm/radeon/atombios_crtc.c:316:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:316:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    expected unsigned
> short [addressable] [usertype] usV_Blanking_Time
> > +drivers/gpu/drm/radeon/atombios_crtc.c:317:32:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:317:32: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    expected unsigned
> short [addressable] [usertype] usH_SyncOffset
> > +drivers/gpu/drm/radeon/atombios_crtc.c:319:29:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:319:29: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    expected unsigned
> short [addressable] [usertype] usH_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:321:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:321:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    expected unsigned
> short [addressable] [usertype] usV_SyncOffset
> > +drivers/gpu/drm/radeon/atombios_crtc.c:323:29:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:323:29: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    expected unsigned
> short [addressable] [usertype] usV_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:325:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:325:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    expected unsigned
> short [addressable] [assigned] [usertype] usAccess
> > +drivers/gpu/drm/radeon/atombios_crtc.c:343:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:343:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    expected unsigned
> short [addressable] [usertype] usH_Total
> > +drivers/gpu/drm/radeon/atombios_crtc.c:360:24:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:360:24: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    expected unsigned
> short [addressable] [usertype] usH_Disp
> > +drivers/gpu/drm/radeon/atombios_crtc.c:361:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:361:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    expected unsigned
> short [addressable] [usertype] usH_SyncStart
> > +drivers/gpu/drm/radeon/atombios_crtc.c:362:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:362:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    expected unsigned
> short [addressable] [usertype] usH_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:363:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:363:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    expected unsigned
> short [addressable] [usertype] usV_Total
> > +drivers/gpu/drm/radeon/atombios_crtc.c:365:24:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:365:24: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    expected unsigned
> short [addressable] [usertype] usV_Disp
> > +drivers/gpu/drm/radeon/atombios_crtc.c:366:23:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:366:23: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    expected unsigned
> short [addressable] [usertype] usV_SyncStart
> > +drivers/gpu/drm/radeon/atombios_crtc.c:367:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:367:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    expected unsigned
> short [addressable] [usertype] usV_SyncWidth
> > +drivers/gpu/drm/radeon/atombios_crtc.c:368:28:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:368:28: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    expected unsigned
> short [addressable] [assigned] [usertype] usAccess
> > +drivers/gpu/drm/radeon/atombios_crtc.c:389:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:389:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    expected unsigned
> short [addressable] [usertype] usSpreadSpectrumAmountFrac
> > +drivers/gpu/drm/radeon/atombios_crtc.c:481:52:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:481:52: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> > +drivers/gpu/drm/radeon/atombios_crtc.c:496:48:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:496:48: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> > +drivers/gpu/drm/radeon/atombios_crtc.c:497:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:497:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:500:52:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:500:52: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
> > +drivers/gpu/drm/radeon/atombios_crtc.c:515:48:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:515:48: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumStep
> > +drivers/gpu/drm/radeon/atombios_crtc.c:516:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:516:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:519:52:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:519:52: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:532:59:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:532:59: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    expected unsigned
> short [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
> > +drivers/gpu/drm/radeon/atombios_crtc.c:543:57:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:543:57: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanTop
> > +drivers/gpu/drm/radeon/atombios_crtc.c:55:36:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:55:36: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanBottom
> > +drivers/gpu/drm/radeon/atombios_crtc.c:56:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:56:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanLeft
> > +drivers/gpu/drm/radeon/atombios_crtc.c:57:37:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:57:37: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanRight
> > +drivers/gpu/drm/radeon/atombios_crtc.c:58:38:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:58:38: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanLeft
> > +drivers/gpu/drm/radeon/atombios_crtc.c:65:45:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:65:45: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanRight
> > +drivers/gpu/drm/radeon/atombios_crtc.c:66:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:66:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanTop
> > +drivers/gpu/drm/radeon/atombios_crtc.c:68:44:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:68:44: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    expected unsigned
> short [addressable] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:694:54:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:694:54: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanBottom
> > +drivers/gpu/drm/radeon/atombios_crtc.c:69:47:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:69:47: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:703:50: warning: cast to
> restricted __le16
> > +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:706:61:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:706:61: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:717:69:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:717:69: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:736:50: warning: cast to
> restricted __le32
> > +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanRight
> > +drivers/gpu/drm/radeon/atombios_crtc.c:74:38:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:74:38: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanLeft
> > +drivers/gpu/drm/radeon/atombios_crtc.c:75:37:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:75:37: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanBottom
> > +drivers/gpu/drm/radeon/atombios_crtc.c:76:39:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:76:39: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    expected unsigned
> short [addressable] [assigned] [usertype] usOverscanTop
> > +drivers/gpu/drm/radeon/atombios_crtc.c:77:36:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:77:36: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:795:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:795:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    expected unsigned int
> [addressable] [assigned] [usertype] ulDispEngClkFreq
> > +drivers/gpu/drm/radeon/atombios_crtc.c:802:50:    got restricted __le32
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:802:50: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    expected unsigned
> short [addressable] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:854:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:854:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    expected unsigned
> short [addressable] [usertype] usRefDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:855:42:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:855:42: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    expected unsigned
> short [addressable] [usertype] usFbDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:856:41:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:856:41: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:864:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:864:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    expected unsigned
> short [addressable] [assigned] [usertype] usRefDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:865:42:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:865:42: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    expected unsigned
> short [addressable] [assigned] [usertype] usFbDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:866:41:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:866:41: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    expected unsigned
> short [addressable] [assigned] [usertype] usPixelClock
> > +drivers/gpu/drm/radeon/atombios_crtc.c:874:46:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:874:46: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    expected unsigned
> short [addressable] [assigned] [usertype] usRefDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:875:42:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:875:42: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    expected unsigned
> short [addressable] [assigned] [usertype] usFbDiv
> > +drivers/gpu/drm/radeon/atombios_crtc.c:876:41:    got restricted __le16
> [usertype]
> > +drivers/gpu/drm/radeon/atombios_crtc.c:876:41: warning: incorrect type
> in assignment (different base types)
> > +drivers/gpu/drm/radeon/atombios_crtc.c:891:46:    expected unsigned sh
> >
> >
> 
> --
> Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [PATCH 01/25] drm/edid: use else-if in CTA extension parsing
  2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 17:47     ` Ville Syrjälä
  -1 siblings, 0 replies; 78+ messages in thread
From: Ville Syrjälä @ 2022-05-06 17:47 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx, dri-devel

On Fri, May 06, 2022 at 01:10:08PM +0300, Jani Nikula wrote:
> Only one of the conditions can be true.
> 
> Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

> ---
>  drivers/gpu/drm/drm_edid.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index 47d121e99201..efc1999b9573 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -5473,16 +5473,16 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
>  
>  		if (cea_db_is_hdmi_vsdb(db))
>  			drm_parse_hdmi_vsdb_video(connector, data);
> -		if (cea_db_is_hdmi_forum_vsdb(db) ||
> -		    cea_db_is_hdmi_forum_scdb(db))
> +		else if (cea_db_is_hdmi_forum_vsdb(db) ||
> +			 cea_db_is_hdmi_forum_scdb(db))
>  			drm_parse_hdmi_forum_scds(connector, data);
> -		if (cea_db_is_microsoft_vsdb(db))
> +		else if (cea_db_is_microsoft_vsdb(db))
>  			drm_parse_microsoft_vsdb(connector, data);
> -		if (cea_db_is_y420cmdb(db))
> +		else if (cea_db_is_y420cmdb(db))
>  			drm_parse_y420cmdb_bitmap(connector, data);
> -		if (cea_db_is_vcdb(db))
> +		else if (cea_db_is_vcdb(db))
>  			drm_parse_vcdb(connector, data);
> -		if (cea_db_is_hdmi_hdr_metadata_block(db))
> +		else if (cea_db_is_hdmi_hdr_metadata_block(db))
>  			drm_parse_hdr_metadata_block(connector, data);
>  	}
>  	cea_db_iter_end(&iter);
> -- 
> 2.30.2

-- 
Ville Syrjälä
Intel

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [Intel-gfx] [PATCH 01/25] drm/edid: use else-if in CTA extension parsing
@ 2022-05-06 17:47     ` Ville Syrjälä
  0 siblings, 0 replies; 78+ messages in thread
From: Ville Syrjälä @ 2022-05-06 17:47 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx, dri-devel

On Fri, May 06, 2022 at 01:10:08PM +0300, Jani Nikula wrote:
> Only one of the conditions can be true.
> 
> Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

> ---
>  drivers/gpu/drm/drm_edid.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index 47d121e99201..efc1999b9573 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -5473,16 +5473,16 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
>  
>  		if (cea_db_is_hdmi_vsdb(db))
>  			drm_parse_hdmi_vsdb_video(connector, data);
> -		if (cea_db_is_hdmi_forum_vsdb(db) ||
> -		    cea_db_is_hdmi_forum_scdb(db))
> +		else if (cea_db_is_hdmi_forum_vsdb(db) ||
> +			 cea_db_is_hdmi_forum_scdb(db))
>  			drm_parse_hdmi_forum_scds(connector, data);
> -		if (cea_db_is_microsoft_vsdb(db))
> +		else if (cea_db_is_microsoft_vsdb(db))
>  			drm_parse_microsoft_vsdb(connector, data);
> -		if (cea_db_is_y420cmdb(db))
> +		else if (cea_db_is_y420cmdb(db))
>  			drm_parse_y420cmdb_bitmap(connector, data);
> -		if (cea_db_is_vcdb(db))
> +		else if (cea_db_is_vcdb(db))
>  			drm_parse_vcdb(connector, data);
> -		if (cea_db_is_hdmi_hdr_metadata_block(db))
> +		else if (cea_db_is_hdmi_hdr_metadata_block(db))
>  			drm_parse_hdr_metadata_block(connector, data);
>  	}
>  	cea_db_iter_end(&iter);
> -- 
> 2.30.2

-- 
Ville Syrjälä
Intel

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [PATCH 02/25] drm/edid: convert drm_for_each_detailed_block() to edid iter
  2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 17:50     ` Ville Syrjälä
  -1 siblings, 0 replies; 78+ messages in thread
From: Ville Syrjälä @ 2022-05-06 17:50 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx, dri-devel

On Fri, May 06, 2022 at 01:10:09PM +0300, Jani Nikula wrote:
> We have an iterator for this, use it. It does include the base block,
> but its tag is 0 and will be skipped.
> 
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

> ---
>  drivers/gpu/drm/drm_edid.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index efc1999b9573..dcef92c8887a 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -2574,6 +2574,8 @@ vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure)
>  static void
>  drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *closure)
>  {
> +	struct drm_edid_iter edid_iter;
> +	const u8 *ext;
>  	int i;
>  
>  	if (edid == NULL)
> @@ -2582,9 +2584,8 @@ drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *clos
>  	for (i = 0; i < EDID_DETAILED_TIMINGS; i++)
>  		cb(&(edid->detailed_timings[i]), closure);
>  
> -	for (i = 0; i < edid_extension_block_count(edid); i++) {
> -		const u8 *ext = edid_extension_block_data(edid, i);
> -
> +	drm_edid_iter_begin(edid, &edid_iter);
> +	drm_edid_iter_for_each(ext, &edid_iter) {
>  		switch (*ext) {
>  		case CEA_EXT:
>  			cea_for_each_detailed_block(ext, cb, closure);
> @@ -2596,6 +2597,7 @@ drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *clos
>  			break;
>  		}
>  	}
> +	drm_edid_iter_end(&edid_iter);
>  }
>  
>  static void
> -- 
> 2.30.2

-- 
Ville Syrjälä
Intel

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [Intel-gfx] [PATCH 02/25] drm/edid: convert drm_for_each_detailed_block() to edid iter
@ 2022-05-06 17:50     ` Ville Syrjälä
  0 siblings, 0 replies; 78+ messages in thread
From: Ville Syrjälä @ 2022-05-06 17:50 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx, dri-devel

On Fri, May 06, 2022 at 01:10:09PM +0300, Jani Nikula wrote:
> We have an iterator for this, use it. It does include the base block,
> but its tag is 0 and will be skipped.
> 
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

> ---
>  drivers/gpu/drm/drm_edid.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index efc1999b9573..dcef92c8887a 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -2574,6 +2574,8 @@ vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure)
>  static void
>  drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *closure)
>  {
> +	struct drm_edid_iter edid_iter;
> +	const u8 *ext;
>  	int i;
>  
>  	if (edid == NULL)
> @@ -2582,9 +2584,8 @@ drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *clos
>  	for (i = 0; i < EDID_DETAILED_TIMINGS; i++)
>  		cb(&(edid->detailed_timings[i]), closure);
>  
> -	for (i = 0; i < edid_extension_block_count(edid); i++) {
> -		const u8 *ext = edid_extension_block_data(edid, i);
> -
> +	drm_edid_iter_begin(edid, &edid_iter);
> +	drm_edid_iter_for_each(ext, &edid_iter) {
>  		switch (*ext) {
>  		case CEA_EXT:
>  			cea_for_each_detailed_block(ext, cb, closure);
> @@ -2596,6 +2597,7 @@ drm_for_each_detailed_block(const struct edid *edid, detailed_cb *cb, void *clos
>  			break;
>  		}
>  	}
> +	drm_edid_iter_end(&edid_iter);
>  }
>  
>  static void
> -- 
> 2.30.2

-- 
Ville Syrjälä
Intel

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [PATCH 17/25] drm/edid: add drm_edid helper for drm_edid_to_sad()
  2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
@ 2022-05-06 18:05     ` Ville Syrjälä
  -1 siblings, 0 replies; 78+ messages in thread
From: Ville Syrjälä @ 2022-05-06 18:05 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx, dri-devel

On Fri, May 06, 2022 at 01:10:24PM +0300, Jani Nikula wrote:
> +int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
> +{
> +	struct drm_edid drm_edid = {
> +		.edid = edid,
> +		.size = edid_size(edid),
> +	};
> +
> +	return _drm_edid_to_sad(&drm_edid, sads);

No need to check for NULL edid in these wrappers?

> +}
>  EXPORT_SYMBOL(drm_edid_to_sad);
>  
>  /**
> -- 
> 2.30.2

-- 
Ville Syrjälä
Intel

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [Intel-gfx] [PATCH 17/25] drm/edid: add drm_edid helper for drm_edid_to_sad()
@ 2022-05-06 18:05     ` Ville Syrjälä
  0 siblings, 0 replies; 78+ messages in thread
From: Ville Syrjälä @ 2022-05-06 18:05 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx, dri-devel

On Fri, May 06, 2022 at 01:10:24PM +0300, Jani Nikula wrote:
> +int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
> +{
> +	struct drm_edid drm_edid = {
> +		.edid = edid,
> +		.size = edid_size(edid),
> +	};
> +
> +	return _drm_edid_to_sad(&drm_edid, sads);

No need to check for NULL edid in these wrappers?

> +}
>  EXPORT_SYMBOL(drm_edid_to_sad);
>  
>  /**
> -- 
> 2.30.2

-- 
Ville Syrjälä
Intel

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [PATCH 17/25] drm/edid: add drm_edid helper for drm_edid_to_sad()
  2022-05-06 18:05     ` [Intel-gfx] " Ville Syrjälä
@ 2022-05-07 10:21       ` Jani Nikula
  -1 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-07 10:21 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: intel-gfx, dri-devel

On Fri, 06 May 2022, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:
> On Fri, May 06, 2022 at 01:10:24PM +0300, Jani Nikula wrote:
>> +int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
>> +{
>> +	struct drm_edid drm_edid = {
>> +		.edid = edid,
>> +		.size = edid_size(edid),
>> +	};
>> +
>> +	return _drm_edid_to_sad(&drm_edid, sads);
>
> No need to check for NULL edid in these wrappers?

Yeah, we do, and CI concurs. *facepalm*.

BR,
Jani.

>
>> +}
>>  EXPORT_SYMBOL(drm_edid_to_sad);
>>  
>>  /**
>> -- 
>> 2.30.2

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [Intel-gfx] [PATCH 17/25] drm/edid: add drm_edid helper for drm_edid_to_sad()
@ 2022-05-07 10:21       ` Jani Nikula
  0 siblings, 0 replies; 78+ messages in thread
From: Jani Nikula @ 2022-05-07 10:21 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: intel-gfx, dri-devel

On Fri, 06 May 2022, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:
> On Fri, May 06, 2022 at 01:10:24PM +0300, Jani Nikula wrote:
>> +int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
>> +{
>> +	struct drm_edid drm_edid = {
>> +		.edid = edid,
>> +		.size = edid_size(edid),
>> +	};
>> +
>> +	return _drm_edid_to_sad(&drm_edid, sads);
>
> No need to check for NULL edid in these wrappers?

Yeah, we do, and CI concurs. *facepalm*.

BR,
Jani.

>
>> +}
>>  EXPORT_SYMBOL(drm_edid_to_sad);
>>  
>>  /**
>> -- 
>> 2.30.2

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [PATCH 05/25] drm/edid: keep propagating drm_edid to display info
  2022-05-06 10:16     ` [Intel-gfx] " Jani Nikula
@ 2022-05-10  6:08       ` Nautiyal, Ankit K
  -1 siblings, 0 replies; 78+ messages in thread
From: Nautiyal, Ankit K @ 2022-05-10  6:08 UTC (permalink / raw)
  To: Jani Nikula, dri-devel; +Cc: intel-gfx


On 5/6/2022 3:46 PM, Jani Nikula wrote:
> On Fri, 06 May 2022, Jani Nikula <jani.nikula@intel.com> wrote:
>> We'll need to propagate	drm_edid everywhere.
> I seem to have copy-pasted a TAB in some of the commit messages, in a
> way that does not show up in git log.
>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>> ---
>>   drivers/gpu/drm/drm_edid.c | 50 +++++++++++++++++++++++---------------
>>   1 file changed, 31 insertions(+), 19 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
>> index 946296632b2e..c9d48fbd0a76 100644
>> --- a/drivers/gpu/drm/drm_edid.c
>> +++ b/drivers/gpu/drm/drm_edid.c
>> @@ -2419,13 +2419,13 @@ EXPORT_SYMBOL(drm_edid_duplicate);
>>   
>>   /**
>>    * edid_get_quirks - return quirk flags for a given EDID
>> - * @edid: EDID to process
>> + * @drm_edid: EDID to process
>>    *
>>    * This tells subsequent routines what fixes they need to apply.
>>    */
>> -static u32 edid_get_quirks(const struct edid *edid)
>> +static u32 edid_get_quirks(const struct drm_edid *drm_edid)
>>   {
>> -	u32 panel_id = edid_extract_panel_id(edid);
>> +	u32 panel_id = edid_extract_panel_id(drm_edid->edid);
>>   	const struct edid_quirk *quirk;
>>   	int i;
>>   
>> @@ -5448,7 +5448,7 @@ static void drm_parse_microsoft_vsdb(struct drm_connector *connector,
>>   }
>>   
>>   static void drm_parse_cea_ext(struct drm_connector *connector,
>> -			      const struct edid *edid)
>> +			      const struct drm_edid *drm_edid)
>>   {
>>   	struct drm_display_info *info = &connector->display_info;
>>   	struct drm_edid_iter edid_iter;
>> @@ -5456,7 +5456,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
>>   	struct cea_db_iter iter;
>>   	const u8 *edid_ext;
>>   
>> -	drm_edid_iter_begin(edid, &edid_iter);
>> +	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
>>   	drm_edid_iter_for_each(edid_ext, &edid_iter) {
>>   		if (edid_ext[0] != CEA_EXT)
>>   			continue;
>> @@ -5477,7 +5477,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
>>   	}
>>   	drm_edid_iter_end(&edid_iter);
>>   
>> -	cea_db_iter_edid_begin(edid, &iter);
>> +	cea_db_iter_edid_begin(drm_edid->edid, &iter);
>>   	cea_db_iter_for_each(db, &iter) {
>>   		/* FIXME: convert parsers to use struct cea_db */
>>   		const u8 *data = (const u8 *)db;
>> @@ -5523,16 +5523,15 @@ void get_monitor_range(const struct detailed_timing *timing,
>>   	monitor_range->max_vfreq = range->max_vfreq;
>>   }
>>   
>> -static
>> -void drm_get_monitor_range(struct drm_connector *connector,
>> -			   const struct edid *edid)
>> +static void drm_get_monitor_range(struct drm_connector *connector,
>> +				  const struct drm_edid *drm_edid)
>>   {
>>   	struct drm_display_info *info = &connector->display_info;
>>   
>> -	if (!version_greater(edid, 1, 1))
>> +	if (!version_greater(drm_edid->edid, 1, 1))
>>   		return;
>>   
>> -	drm_for_each_detailed_block(edid, get_monitor_range,
>> +	drm_for_each_detailed_block(drm_edid->edid, get_monitor_range,
>>   				    &info->monitor_range);
>>   
>>   	DRM_DEBUG_KMS("Supported Monitor Refresh rate range is %d Hz - %d Hz\n",
>> @@ -5592,12 +5591,13 @@ static void drm_parse_vesa_mso_data(struct drm_connector *connector,
>>   		    info->mso_stream_count, info->mso_pixel_overlap);
>>   }
>>   
>> -static void drm_update_mso(struct drm_connector *connector, const struct edid *edid)
>> +static void drm_update_mso(struct drm_connector *connector,
>> +			   const struct drm_edid *drm_edid)
>>   {
>>   	const struct displayid_block *block;
>>   	struct displayid_iter iter;
>>   
>> -	displayid_iter_edid_begin(edid, &iter);
>> +	displayid_iter_edid_begin(drm_edid->edid, &iter);
>>   	displayid_iter_for_each(block, &iter) {
>>   		if (block->tag == DATA_BLOCK_2_VENDOR_SPECIFIC)
>>   			drm_parse_vesa_mso_data(connector, block);
>> @@ -5636,18 +5636,20 @@ drm_reset_display_info(struct drm_connector *connector)
>>   	info->mso_pixel_overlap = 0;
>>   }
>>   
>> -u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
>> +static u32 update_display_info(struct drm_connector *connector,
>> +			       const struct drm_edid *drm_edid)
>>   {
>>   	struct drm_display_info *info = &connector->display_info;
>> +	const struct edid *edid = drm_edid->edid;
>>   
>> -	u32 quirks = edid_get_quirks(edid);
>> +	u32 quirks = edid_get_quirks(drm_edid);
>>   
>>   	drm_reset_display_info(connector);
>>   
>>   	info->width_mm = edid->width_cm * 10;
>>   	info->height_mm = edid->height_cm * 10;
>>   
>> -	drm_get_monitor_range(connector, edid);
>> +	drm_get_monitor_range(connector, drm_edid);
>>   
>>   	if (edid->revision < 3)
>>   		goto out;
>> @@ -5656,7 +5658,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>>   		goto out;
>>   
>>   	info->color_formats |= DRM_COLOR_FORMAT_RGB444;
>> -	drm_parse_cea_ext(connector, edid);
>> +	drm_parse_cea_ext(connector, drm_edid);
>>   
>>   	/*
>>   	 * Digital sink with "DFP 1.x compliant TMDS" according to EDID 1.3?
>> @@ -5709,7 +5711,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>>   	if (edid->features & DRM_EDID_FEATURE_RGB_YCRCB422)
>>   		info->color_formats |= DRM_COLOR_FORMAT_YCBCR422;
>>   
>> -	drm_update_mso(connector, edid);
>> +	drm_update_mso(connector, drm_edid);
>>   
>>   out:
>>   	if (quirks & EDID_QUIRK_NON_DESKTOP) {
>> @@ -5721,6 +5723,16 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>>   	return quirks;
>>   }
>>   
>> +u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
>> +{
>> +	struct drm_edid drm_edid = {
>> +		.edid = edid,
>> +		.size = edid_size(edid),
>> +	};
>> +
>> +	return update_display_info(connector, &drm_edid);
>> +}
>> +
>>   static struct drm_display_mode *drm_mode_displayid_detailed(struct drm_device *dev,
>>   							    struct displayid_detailed_timings_1 *timings,
>>   							    bool type_7)
>> @@ -5833,7 +5845,7 @@ static int drm_edid_connector_update(struct drm_connector *connector,
>>   	 * To avoid multiple parsing of same block, lets parse that map
>>   	 * from sink info, before parsing CEA modes.
>>   	 */
>> -	quirks = drm_add_display_info(connector, edid);
>> +	quirks = update_display_info(connector, drm_edid);
>>   
>>   	/* Depends on info->cea_rev set by drm_add_display_info() above */

Perhaps the comment above needs to be updated with update_display_info()

Patch looks good to me.

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>

>>   	drm_edid_to_eld(connector, edid);

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [Intel-gfx] [PATCH 05/25] drm/edid: keep propagating drm_edid to display info
@ 2022-05-10  6:08       ` Nautiyal, Ankit K
  0 siblings, 0 replies; 78+ messages in thread
From: Nautiyal, Ankit K @ 2022-05-10  6:08 UTC (permalink / raw)
  To: Jani Nikula, dri-devel; +Cc: intel-gfx


On 5/6/2022 3:46 PM, Jani Nikula wrote:
> On Fri, 06 May 2022, Jani Nikula <jani.nikula@intel.com> wrote:
>> We'll need to propagate	drm_edid everywhere.
> I seem to have copy-pasted a TAB in some of the commit messages, in a
> way that does not show up in git log.
>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>> ---
>>   drivers/gpu/drm/drm_edid.c | 50 +++++++++++++++++++++++---------------
>>   1 file changed, 31 insertions(+), 19 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
>> index 946296632b2e..c9d48fbd0a76 100644
>> --- a/drivers/gpu/drm/drm_edid.c
>> +++ b/drivers/gpu/drm/drm_edid.c
>> @@ -2419,13 +2419,13 @@ EXPORT_SYMBOL(drm_edid_duplicate);
>>   
>>   /**
>>    * edid_get_quirks - return quirk flags for a given EDID
>> - * @edid: EDID to process
>> + * @drm_edid: EDID to process
>>    *
>>    * This tells subsequent routines what fixes they need to apply.
>>    */
>> -static u32 edid_get_quirks(const struct edid *edid)
>> +static u32 edid_get_quirks(const struct drm_edid *drm_edid)
>>   {
>> -	u32 panel_id = edid_extract_panel_id(edid);
>> +	u32 panel_id = edid_extract_panel_id(drm_edid->edid);
>>   	const struct edid_quirk *quirk;
>>   	int i;
>>   
>> @@ -5448,7 +5448,7 @@ static void drm_parse_microsoft_vsdb(struct drm_connector *connector,
>>   }
>>   
>>   static void drm_parse_cea_ext(struct drm_connector *connector,
>> -			      const struct edid *edid)
>> +			      const struct drm_edid *drm_edid)
>>   {
>>   	struct drm_display_info *info = &connector->display_info;
>>   	struct drm_edid_iter edid_iter;
>> @@ -5456,7 +5456,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
>>   	struct cea_db_iter iter;
>>   	const u8 *edid_ext;
>>   
>> -	drm_edid_iter_begin(edid, &edid_iter);
>> +	drm_edid_iter_begin(drm_edid->edid, &edid_iter);
>>   	drm_edid_iter_for_each(edid_ext, &edid_iter) {
>>   		if (edid_ext[0] != CEA_EXT)
>>   			continue;
>> @@ -5477,7 +5477,7 @@ static void drm_parse_cea_ext(struct drm_connector *connector,
>>   	}
>>   	drm_edid_iter_end(&edid_iter);
>>   
>> -	cea_db_iter_edid_begin(edid, &iter);
>> +	cea_db_iter_edid_begin(drm_edid->edid, &iter);
>>   	cea_db_iter_for_each(db, &iter) {
>>   		/* FIXME: convert parsers to use struct cea_db */
>>   		const u8 *data = (const u8 *)db;
>> @@ -5523,16 +5523,15 @@ void get_monitor_range(const struct detailed_timing *timing,
>>   	monitor_range->max_vfreq = range->max_vfreq;
>>   }
>>   
>> -static
>> -void drm_get_monitor_range(struct drm_connector *connector,
>> -			   const struct edid *edid)
>> +static void drm_get_monitor_range(struct drm_connector *connector,
>> +				  const struct drm_edid *drm_edid)
>>   {
>>   	struct drm_display_info *info = &connector->display_info;
>>   
>> -	if (!version_greater(edid, 1, 1))
>> +	if (!version_greater(drm_edid->edid, 1, 1))
>>   		return;
>>   
>> -	drm_for_each_detailed_block(edid, get_monitor_range,
>> +	drm_for_each_detailed_block(drm_edid->edid, get_monitor_range,
>>   				    &info->monitor_range);
>>   
>>   	DRM_DEBUG_KMS("Supported Monitor Refresh rate range is %d Hz - %d Hz\n",
>> @@ -5592,12 +5591,13 @@ static void drm_parse_vesa_mso_data(struct drm_connector *connector,
>>   		    info->mso_stream_count, info->mso_pixel_overlap);
>>   }
>>   
>> -static void drm_update_mso(struct drm_connector *connector, const struct edid *edid)
>> +static void drm_update_mso(struct drm_connector *connector,
>> +			   const struct drm_edid *drm_edid)
>>   {
>>   	const struct displayid_block *block;
>>   	struct displayid_iter iter;
>>   
>> -	displayid_iter_edid_begin(edid, &iter);
>> +	displayid_iter_edid_begin(drm_edid->edid, &iter);
>>   	displayid_iter_for_each(block, &iter) {
>>   		if (block->tag == DATA_BLOCK_2_VENDOR_SPECIFIC)
>>   			drm_parse_vesa_mso_data(connector, block);
>> @@ -5636,18 +5636,20 @@ drm_reset_display_info(struct drm_connector *connector)
>>   	info->mso_pixel_overlap = 0;
>>   }
>>   
>> -u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
>> +static u32 update_display_info(struct drm_connector *connector,
>> +			       const struct drm_edid *drm_edid)
>>   {
>>   	struct drm_display_info *info = &connector->display_info;
>> +	const struct edid *edid = drm_edid->edid;
>>   
>> -	u32 quirks = edid_get_quirks(edid);
>> +	u32 quirks = edid_get_quirks(drm_edid);
>>   
>>   	drm_reset_display_info(connector);
>>   
>>   	info->width_mm = edid->width_cm * 10;
>>   	info->height_mm = edid->height_cm * 10;
>>   
>> -	drm_get_monitor_range(connector, edid);
>> +	drm_get_monitor_range(connector, drm_edid);
>>   
>>   	if (edid->revision < 3)
>>   		goto out;
>> @@ -5656,7 +5658,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>>   		goto out;
>>   
>>   	info->color_formats |= DRM_COLOR_FORMAT_RGB444;
>> -	drm_parse_cea_ext(connector, edid);
>> +	drm_parse_cea_ext(connector, drm_edid);
>>   
>>   	/*
>>   	 * Digital sink with "DFP 1.x compliant TMDS" according to EDID 1.3?
>> @@ -5709,7 +5711,7 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>>   	if (edid->features & DRM_EDID_FEATURE_RGB_YCRCB422)
>>   		info->color_formats |= DRM_COLOR_FORMAT_YCBCR422;
>>   
>> -	drm_update_mso(connector, edid);
>> +	drm_update_mso(connector, drm_edid);
>>   
>>   out:
>>   	if (quirks & EDID_QUIRK_NON_DESKTOP) {
>> @@ -5721,6 +5723,16 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
>>   	return quirks;
>>   }
>>   
>> +u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
>> +{
>> +	struct drm_edid drm_edid = {
>> +		.edid = edid,
>> +		.size = edid_size(edid),
>> +	};
>> +
>> +	return update_display_info(connector, &drm_edid);
>> +}
>> +
>>   static struct drm_display_mode *drm_mode_displayid_detailed(struct drm_device *dev,
>>   							    struct displayid_detailed_timings_1 *timings,
>>   							    bool type_7)
>> @@ -5833,7 +5845,7 @@ static int drm_edid_connector_update(struct drm_connector *connector,
>>   	 * To avoid multiple parsing of same block, lets parse that map
>>   	 * from sink info, before parsing CEA modes.
>>   	 */
>> -	quirks = drm_add_display_info(connector, edid);
>> +	quirks = update_display_info(connector, drm_edid);
>>   
>>   	/* Depends on info->cea_rev set by drm_add_display_info() above */

Perhaps the comment above needs to be updated with update_display_info()

Patch looks good to me.

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>

>>   	drm_edid_to_eld(connector, edid);

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [PATCH 03/25] drm/edid: add struct drm_edid container
  2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
@ 2022-05-10  6:10     ` Nautiyal, Ankit K
  -1 siblings, 0 replies; 78+ messages in thread
From: Nautiyal, Ankit K @ 2022-05-10  6:10 UTC (permalink / raw)
  To: Jani Nikula, dri-devel; +Cc: intel-gfx

LGTM.

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>

On 5/6/2022 3:40 PM, Jani Nikula wrote:
> Introduce new opaque type struct drm_edid to encapsulate the EDID data
> and the size allocated for it. The contents will be private to
> drm_edid.c.
>
> There are a number of reasons for adding a container around struct edid:
>
> * struct edid is a raw blob pointer to data that usually originates
>    outside of the kernel. Its size is contained within the structure.
>
> * There's no way to attach meta information (such as allocated memory
>    size) to struct edid.
>
> * Validation of the EDID blob and its size become crucial, and it's
>    spread all over the subsystem, with varying levels of accuracy.
>
> * HDMI Forum has introduced an HF-EEODB extension that defines an
>    override EDID size within an EDID extension. The size allocated for an
>    EDID depends on whether the allocator understands the HF-EEODB
>    extension. Given a struct edid *, it's impossible to know how much
>    memory was actually allocated for it.
>
> There are also some reasons for making the container type struct
> drm_edid opaque and private to drm_edid.c:
>
> * Have only one place for creating and parsing the EDID, to avoid
>    duplicating bugs.
>
> * Prepare for reading a pure DisplayID 2.0 from its own DDC address, and
>    adding it within the same struct drm_edid container, transparently,
>    and for all drivers.
>
> * With the idea that the drm_edid objects are immutable during their
>    lifetimes, it will be possible to refcount them and reduce EDID
>    copying everywhere (this is left for future work).
>
> Initially, just add the type. In follow-up, we'll start converting the
> guts of drm_edid.c to use it, and finally add interfaces around it.
>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
>   drivers/gpu/drm/drm_edid.c | 9 +++++++++
>   1 file changed, 9 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index dcef92c8887a..480fd9fbe412 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -1567,6 +1567,15 @@ static const struct drm_display_mode edid_4k_modes[] = {
>   
>   /*** DDC fetch and block validation ***/
>   
> +/*
> + * The opaque EDID type, internal to drm_edid.c.
> + */
> +struct drm_edid {
> +	/* Size allocated for edid */
> +	size_t size;
> +	const struct edid *edid;
> +};
> +
>   static int edid_extension_block_count(const struct edid *edid)
>   {
>   	return edid->extensions;

^ permalink raw reply	[flat|nested] 78+ messages in thread

* Re: [Intel-gfx] [PATCH 03/25] drm/edid: add struct drm_edid container
@ 2022-05-10  6:10     ` Nautiyal, Ankit K
  0 siblings, 0 replies; 78+ messages in thread
From: Nautiyal, Ankit K @ 2022-05-10  6:10 UTC (permalink / raw)
  To: Jani Nikula, dri-devel; +Cc: intel-gfx

LGTM.

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>

On 5/6/2022 3:40 PM, Jani Nikula wrote:
> Introduce new opaque type struct drm_edid to encapsulate the EDID data
> and the size allocated for it. The contents will be private to
> drm_edid.c.
>
> There are a number of reasons for adding a container around struct edid:
>
> * struct edid is a raw blob pointer to data that usually originates
>    outside of the kernel. Its size is contained within the structure.
>
> * There's no way to attach meta information (such as allocated memory
>    size) to struct edid.
>
> * Validation of the EDID blob and its size become crucial, and it's
>    spread all over the subsystem, with varying levels of accuracy.
>
> * HDMI Forum has introduced an HF-EEODB extension that defines an
>    override EDID size within an EDID extension. The size allocated for an
>    EDID depends on whether the allocator understands the HF-EEODB
>    extension. Given a struct edid *, it's impossible to know how much
>    memory was actually allocated for it.
>
> There are also some reasons for making the container type struct
> drm_edid opaque and private to drm_edid.c:
>
> * Have only one place for creating and parsing the EDID, to avoid
>    duplicating bugs.
>
> * Prepare for reading a pure DisplayID 2.0 from its own DDC address, and
>    adding it within the same struct drm_edid container, transparently,
>    and for all drivers.
>
> * With the idea that the drm_edid objects are immutable during their
>    lifetimes, it will be possible to refcount them and reduce EDID
>    copying everywhere (this is left for future work).
>
> Initially, just add the type. In follow-up, we'll start converting the
> guts of drm_edid.c to use it, and finally add interfaces around it.
>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
>   drivers/gpu/drm/drm_edid.c | 9 +++++++++
>   1 file changed, 9 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index dcef92c8887a..480fd9fbe412 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -1567,6 +1567,15 @@ static const struct drm_display_mode edid_4k_modes[] = {
>   
>   /*** DDC fetch and block validation ***/
>   
> +/*
> + * The opaque EDID type, internal to drm_edid.c.
> + */
> +struct drm_edid {
> +	/* Size allocated for edid */
> +	size_t size;
> +	const struct edid *edid;
> +};
> +
>   static int edid_extension_block_count(const struct edid *edid)
>   {
>   	return edid->extensions;

^ permalink raw reply	[flat|nested] 78+ messages in thread

end of thread, other threads:[~2022-05-10  6:10 UTC | newest]

Thread overview: 78+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 10:10 [PATCH 00/25] drm/edid: introduce struct drm_edid Jani Nikula
2022-05-06 10:10 ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 01/25] drm/edid: use else-if in CTA extension parsing Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 17:47   ` Ville Syrjälä
2022-05-06 17:47     ` [Intel-gfx] " Ville Syrjälä
2022-05-06 10:10 ` [PATCH 02/25] drm/edid: convert drm_for_each_detailed_block() to edid iter Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 17:50   ` Ville Syrjälä
2022-05-06 17:50     ` [Intel-gfx] " Ville Syrjälä
2022-05-06 10:10 ` [PATCH 03/25] drm/edid: add struct drm_edid container Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-10  6:10   ` Nautiyal, Ankit K
2022-05-10  6:10     ` [Intel-gfx] " Nautiyal, Ankit K
2022-05-06 10:10 ` [PATCH 04/25] drm/edid: start propagating drm_edid to lower levels Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 05/25] drm/edid: keep propagating drm_edid to display info Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:16   ` Jani Nikula
2022-05-06 10:16     ` [Intel-gfx] " Jani Nikula
2022-05-10  6:08     ` Nautiyal, Ankit K
2022-05-10  6:08       ` [Intel-gfx] " Nautiyal, Ankit K
2022-05-06 10:10 ` [PATCH 06/25] drm/edid: propagate drm_edid to drm_edid_to_eld() Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 07/25] drm/edid: convert drm_edid_connector_update() to drm_edid fully Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 08/25] drm/edid: convert struct detailed_mode_closure to drm_edid Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 09/25] drm/edid: convert drm_mode_detailed() " Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 10/25] drm/edid: convert drm_dmt_modes_for_range() " Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 11/25] drm/edid: convert drm_gtf_modes_for_range() " Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 12/25] drm/edid: convert drm_cvt_modes_for_range() " Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 13/25] drm/edid: convert drm_mode_std() and children " Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 14/25] drm/edid: convert mode_in_range() and drm_monitor_supports_rb() " Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 15/25] drm/edid: convert get_monitor_name() " Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 16/25] drm/edid: convert drm_for_each_detailed_block() " Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 17/25] drm/edid: add drm_edid helper for drm_edid_to_sad() Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 18:05   ` Ville Syrjälä
2022-05-06 18:05     ` [Intel-gfx] " Ville Syrjälä
2022-05-07 10:21     ` Jani Nikula
2022-05-07 10:21       ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 18/25] drm/edid: add drm_edid helper for drm_edid_to_speaker_allocation() Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 19/25] drm/edid: add drm_edid helper for drm_detect_hdmi_monitor() Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 20/25] drm/edid: add drm_edid helper for drm_detect_monitor_audio() Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 21/25] drm/edid: convert cea_db_iter_edid_begin() to drm_edid Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 22/25] drm/edid: convert drm_edid_iter_begin() " Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 23/25] drm/edid: add drm_edid helper for drm_update_tile_info() Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 24/25] drm/displayid: convert to drm_edid Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 10:10 ` [PATCH 25/25] drm/edid: convert version_greater() " Jani Nikula
2022-05-06 10:10   ` [Intel-gfx] " Jani Nikula
2022-05-06 11:12 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/edid: introduce struct drm_edid Patchwork
2022-05-06 11:12 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-05-06 11:42   ` amdgpu sparse warnings (was: Re: ✗ Fi.CI.SPARSE: warning for drm/edid: introduce struct drm_edid) Jani Nikula
2022-05-06 11:42     ` Jani Nikula
2022-05-06 11:42     ` [Intel-gfx] " Jani Nikula
2022-05-06 14:15     ` Deucher, Alexander
2022-05-06 14:15       ` Deucher, Alexander
2022-05-06 14:15       ` [Intel-gfx] " Deucher, Alexander
2022-05-06 11:38 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/edid: introduce struct drm_edid Patchwork
2022-05-06 12:23 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/edid: introduce struct drm_edid (rev2) Patchwork
2022-05-06 12:23 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-05-06 12:47 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.