<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Reviewed-by: Alex Deucher <alexander.deucher@amd.com><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Harry Wentland <harry.wentland@amd.com><br>
<b>Sent:</b> Tuesday, June 12, 2018 1:53 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org<br>
<b>Cc:</b> Wentland, Harry<br>
<b>Subject:</b> [PATCH] drm/amdgpu: Add BRACKET_LAYOUT_ENUMs to ObjectID.h</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">DC has an upcoming change that requires these to read the board layout.<br>
<br>
Signed-off-by: Harry Wentland <harry.wentland@amd.com><br>
---<br>
 drivers/gpu/drm/amd/amdgpu/ObjectID.h | 8 ++++++++<br>
 1 file changed, 8 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/ObjectID.h b/drivers/gpu/drm/amd/amdgpu/ObjectID.h<br>
index 06192698bd96..5b393622f592 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/ObjectID.h<br>
+++ b/drivers/gpu/drm/amd/amdgpu/ObjectID.h<br>
@@ -136,6 +136,7 @@<br>
 #define GENERIC_OBJECT_ID_PX2_NON_DRIVABLE        0x02<br>
 #define GENERIC_OBJECT_ID_MXM_OPM                 0x03<br>
 #define GENERIC_OBJECT_ID_STEREO_PIN              0x04        //This object could show up from Misc Object table, it follows ATOM_OBJECT format, and contains one ATOM_OBJECT_GPIO_CNTL_RECORD for the stereo pin<br>
+#define GENERIC_OBJECT_ID_BRACKET_LAYOUT          0x05<br>
 <br>
 /****************************************************/<br>
 /* Graphics Object ENUM ID Definition               */<br>
@@ -714,6 +715,13 @@<br>
                                                  GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\<br>
                                                  GENERIC_OBJECT_ID_STEREO_PIN << OBJECT_ID_SHIFT)<br>
 <br>
+#define GENERICOBJECT_BRACKET_LAYOUT_ENUM_ID1    (GRAPH_OBJECT_TYPE_GENERIC << OBJECT_TYPE_SHIFT |\<br>
+                                                 GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\<br>
+                                                 GENERIC_OBJECT_ID_BRACKET_LAYOUT << OBJECT_ID_SHIFT)<br>
+<br>
+#define GENERICOBJECT_BRACKET_LAYOUT_ENUM_ID2    (GRAPH_OBJECT_TYPE_GENERIC << OBJECT_TYPE_SHIFT |\<br>
+                                                 GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\<br>
+                                                 GENERIC_OBJECT_ID_BRACKET_LAYOUT << OBJECT_ID_SHIFT)<br>
 /****************************************************/<br>
 /* Object Cap definition - Shared with BIOS         */<br>
 /****************************************************/<br>
-- <br>
2.17.1<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" id="LPlnk484853" class="OWAAutoLink" previewremoved="true">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>