<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-3">
<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:#0078D7;margin:15pt;" align="Left">
[AMD Official Use Only - Internal Distribution Only]<br>
</p>
<br>
<div>
<div>Does the VBIOS come up with something like a splash screen, ie is VBIOS able to initialize and drive the card ?<br>
</div>
<div><br>
</div>
<div>If so then another option might be to use a VESA driver rather than VGA. <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<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> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Alex Deucher <alexdeucher@gmail.com><br>
<b>Sent:</b> February 18, 2020 8:50 AM<br>
<b>To:</b> Yusuf Altąparmak <yusufalti1997@gmail.com><br>
<b>Cc:</b> amd-gfx list <amd-gfx@lists.freedesktop.org><br>
<b>Subject:</b> Re: writing custom driver for VGA emulation ?</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">On Tue, Feb 18, 2020 at 2:56 AM Yusuf Altąparmak<br>
<yusufalti1997@gmail.com> wrote:<br>
><br>
> Hello AMD team;<br>
><br>
> I have E 9171 GPU and want to use it on a embedded system which has limited MMIO space on PCIe bus (MAX 512 MB).<br>
><br>
> I received feedbacks that I can only use VGA emulation with this memory space. I was unable to get 'amdgpu' driver working with Xorg due to I had many errors(firmwares are not loading) in each step and tired of solving them one by one.<br>
><br>
> I want to write a simple custom driver for this GPU with kernel version 4.19.<br>
> Is it possible to print some colors on screen with a custom driver over PCIe communication ? or writing some words on screen as VGA ?<br>
><br>
> If answer is yes, then which code pieces (on amdgpu driver folder) or reference documentation should I use? I have Register Reference Guide.pdf.<br>
><br>
> I will be appreciated for your guidance.<br>
<br>
That is not going to do what you want on your platform.  The VGA<br>
emulation requires that you set up the card first to enable it, which<br>
in turn requires MMIO access and thus you are back to square one.<br>
<br>
Alex<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7Cjohn.bridgman%40amd.com%7Ce7bf224775ad487d240708d7b47992f4%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637176306561328560&amp;sdata=QbfaIN%2F6LvgUihz5O0x41TwvdGYy7QTS5IVJq3RXYlA%3D&amp;reserved=0">https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7Cjohn.bridgman%40amd.com%7Ce7bf224775ad487d240708d7b47992f4%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637176306561328560&amp;sdata=QbfaIN%2F6LvgUihz5O0x41TwvdGYy7QTS5IVJq3RXYlA%3D&amp;reserved=0</a><br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>