Skip to contentSkip to conversation

drm/amd/display: Fix compilation error on dcn3

PATCH In review Rodrigo Siqueira 2 participants 2 messages Jul 14, 2020

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Fix compilation error on dcn3

We have a compilation error when compiling dcn30_resource.c due to a missing field in _vcs_dpi_soc_bounding_box_st. This commit fixes this issue by introducing the required field and include file.

Cc Rui Teng <[email protected]>
Cc Dmytro Laktyushkin <[email protected]>
Cc Nicholas Kazlauskas <[email protected]>
Cc Alvin Lee <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h +2 -0
index 0fac7f754604..6ab74640c0da 100644
@@ -24,6 +24,7 @@
  */
 
 #include "dc_features.h"
+#include "display_mode_enums.h"
 
 #ifndef __DISPLAY_MODE_STRUCTS_H__
 #define __DISPLAY_MODE_STRUCTS_H__
@@ -120,6 +121,7 @@ struct _vcs_dpi_soc_bounding_box_st {
 	double urgent_latency_adjustment_fabric_clock_reference_mhz;
 	bool disable_dram_clock_change_vactive_support;
 	bool allow_dram_clock_one_display_vactive;
+	enum self_refresh_affinity allow_dram_self_refresh_or_dram_clock_change_in_vblank;
 };
 
 struct _vcs_dpi_ip_params_st {
Signature · 6 lines
2.27.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
maintainer Reviewed-by on v1 1/1
#1 lore raw

[AMD Public Use]

________________________________
From: Siqueira, Rodrigo <[email protected]>
Sent: Tuesday, July 14, 2020 8:06 AM
To: [email protected] <[email protected]>
Cc: Wentland, Harry <[email protected]>; Li, Sun peng (Leo) <[email protected]>; Deucher, Alexander <[email protected]>; Teng, Rui <[email protected]>; Laktyushkin, Dmytro <[email protected]>; Kazlauskas, Nicholas <[email protected]>; Lee, Alvin <[email protected]>
Subject: [PATCH] drm/amd/display: Fix compilation error on dcn3

We have a compilation error when compiling dcn30_resource.c due to a missing field in _vcs_dpi_soc_bounding_box_st. This commit fixes this issue by introducing the required field and include file.

Cc Rui Teng <[email protected]>
Cc Dmytro Laktyushkin <[email protected]>
Cc Nicholas Kazlauskas <[email protected]>
Cc Alvin Lee <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h +2 -0
index 0fac7f754604..6ab74640c0da 100644
@@ -24,6 +24,7 @@
  */
 
 #include "dc_features.h"
+#include "display_mode_enums.h"
 
 #ifndef __DISPLAY_MODE_STRUCTS_H__
 #define __DISPLAY_MODE_STRUCTS_H__
@@ -120,6 +121,7 @@ struct _vcs_dpi_soc_bounding_box_st {
         double urgent_latency_adjustment_fabric_clock_reference_mhz;
         bool disable_dram_clock_change_vactive_support;
         bool allow_dram_clock_one_display_vactive;
+       enum self_refresh_affinity allow_dram_self_refresh_or_dram_clock_change_in_vblank;
 };
 
 struct _vcs_dpi_ip_params_st {

--
2.27.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx