<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">
<p style="font-family:Arial;font-size:11pt;color:#0078D7;margin:5pt;" align="Left">
[AMD Official Use Only - Internal Distribution Only]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<font size="2"><span style="font-size:11pt">Series is:<br>
</span></font></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<font size="2"><span style="font-size:11pt">Reviewed-by: John Clements <John.Clements@amd.com></span></font><br>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size: 11pt;" face="Calibri, sans-serif" color="#000000"><b>From:</b> Tuikov, Luben <Luben.Tuikov@amd.com><br>
<b>Sent:</b> Wednesday, May 5, 2021 5:47 AM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Tuikov, Luben <Luben.Tuikov@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Clements, John <John.Clements@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com><br>
<b>Subject:</b> [PATCH 0/4] Normalize redundant variables</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Classic normalization of a redundant variable.<br>
There is no need to have two variables representing<br>
the same quantity. Move up to the structure which<br>
represents the object which determines their values.<br>
Rename to a consistent name, and export to debugfs<br>
for debugging.<br>
<br>
Luben Tuikov (4):<br>
drm/amdgpu: Remove redundant ras->supported<br>
drm/amdgpu: Move up ras_hw_supported<br>
drm/amdgpu: Rename to ras_*_enabled<br>
drm/amdgpu: Export ras_*_enabled to debugfs<br>
<br>
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 +-<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +-<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 91 +++++++++----------<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 5 +-<br>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-<br>
drivers/gpu/drm/amd/amdgpu/soc15.c | 7 +-<br>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 6 +-<br>
.../drm/amd/pm/powerplay/hwmgr/vega20_baco.c | 2 +-<br>
.../gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 3 +-<br>
11 files changed, 63 insertions(+), 66 deletions(-)<br>
<br>
Cc: Alexander Deucher <Alexander.Deucher@amd.com><br>
Cc: John Clements <john.clements@amd.com><br>
Cc: Hawking Zhang <Hawking.Zhang@amd.com><br>
<br>
-- <br>
2.31.0.97.g1424303384<br>
<br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>