<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Arial;font-size:10pt;color:#317100;margin:15pt;" align="Left">
[AMD Public Use]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Reviewed-by: Alex Deucher <alexander.deucher@amd.com><br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Siqueira, Rodrigo <Rodrigo.Siqueira@amd.com><br>
<b>Sent:</b> Tuesday, July 14, 2020 8:06 AM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Wentland, Harry <Harry.Wentland@amd.com>; Li, Sun peng (Leo) <Sunpeng.Li@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Teng, Rui <Rui.Teng@amd.com>; Laktyushkin, Dmytro <Dmytro.Laktyushkin@amd.com>; Kazlauskas, Nicholas <Nicholas.Kazlauskas@amd.com>;
Lee, Alvin <Alvin.Lee2@amd.com><br>
<b>Subject:</b> [PATCH] drm/amd/display: Fix compilation error on dcn3</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">We have a compilation error when compiling dcn30_resource.c due to a<br>
missing field in _vcs_dpi_soc_bounding_box_st. This commit fixes this<br>
issue by introducing the required field and include file.<br>
<br>
Cc: Rui Teng <rui.teng@amd.com><br>
Cc: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com><br>
Cc: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com><br>
Cc: Alvin Lee <Alvin.Lee2@amd.com><br>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com><br>
---<br>
drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h | 2 ++<br>
1 file changed, 2 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h b/drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h<br>
index 0fac7f754604..6ab74640c0da 100644<br>
--- a/drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h<br>
+++ b/drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h<br>
@@ -24,6 +24,7 @@<br>
*/<br>
<br>
#include "dc_features.h"<br>
+#include "display_mode_enums.h"<br>
<br>
#ifndef __DISPLAY_MODE_STRUCTS_H__<br>
#define __DISPLAY_MODE_STRUCTS_H__<br>
@@ -120,6 +121,7 @@ struct _vcs_dpi_soc_bounding_box_st {<br>
double urgent_latency_adjustment_fabric_clock_reference_mhz;<br>
bool disable_dram_clock_change_vactive_support;<br>
bool allow_dram_clock_one_display_vactive;<br>
+ enum self_refresh_affinity allow_dram_self_refresh_or_dram_clock_change_in_vblank;<br>
};<br>
<br>
struct _vcs_dpi_ip_params_st {<br>
-- <br>
2.27.0<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>