<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">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>It fixes some headless board VBIOS which will be failed to load.<br>
</p>
</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> Alex Deucher <alexdeucher@gmail.com><br>
<b>Sent:</b> Wednesday, November 8, 2017 10:38:37 PM<br>
<b>To:</b> Wang, Ken<br>
<b>Cc:</b> amd-gfx list<br>
<b>Subject:</b> Re: [PATCH] drm/amdgpu: Remove check which is not valid for certain VBIOS</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">On Wed, Nov 8, 2017 at 1:49 AM, <Ken.Wang@amd.com> wrote:<br>
> From: Ken Wang <Ken.Wang@amd.com><br>
<br>
What cases does this fix? I'm guessing VFCT or some other platform<br>
method for getting the vbios?<br>
<br>
Acked-by: Alex Deucher <alexander.deucher@amd.com><br>
<br>
><br>
> Signed-off-by: Ken Wang <Ken.Wang@amd.com><br>
> ---<br>
> drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | 6 ------<br>
> 1 file changed, 6 deletions(-)<br>
><br>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c<br>
> index c21adf6..057e1ec 100644<br>
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c<br>
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c<br>
> @@ -59,12 +59,6 @@ static bool check_atom_bios(uint8_t *bios, size_t size)<br>
> return false;<br>
> }<br>
><br>
> - tmp = bios[0x18] | (bios[0x19] << 8);<br>
> - if (bios[tmp + 0x14] != 0x0) {<br>
> - DRM_INFO("Not an x86 BIOS ROM\n");<br>
> - return false;<br>
> - }<br>
> -<br>
> bios_header_start = bios[0x48] | (bios[0x49] << 8);<br>
> if (!bios_header_start) {<br>
> DRM_INFO("Can't locate bios header\n");<br>
> --<br>
> 2.7.4<br>
><br>
> _______________________________________________<br>
> amd-gfx mailing list<br>
> amd-gfx@lists.freedesktop.org<br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
</div>
</span></font></div>
</body>
</html>