Re: drm/mgag200: Fix big-endian support

Thomas Zimmermann <[email protected]>
Newsgroups gmane.linux.ports.ppc.embedded
Message-ID <a2d102b6-033d-49c9-96a6-a9edda26b4bd__26466.061225959$1787896691$gmane$org@suse.de>
Hi

Am 27.08.26 um 18:38 schrieb Christian Zigotzky:
> On 27/08/26 08:36, Thomas Zimmermann wrote:
>> Hi
>>
>> Am 26.08.26 um 19:30 schrieb Christian Zigotzky:
>>> On 26 August 2026 at 05:23 pm, Thomas Zimmermann 
>>> <[email protected]> wrote:
>>>
>>> Hi
>>>
>>> Could be that we have to enable access to the ROM first. That's why 
>>> it returns only 0xffff. Does the card display output when you switch 
>>> on the computer?
>>>
>>> Best regards
>>> Thomas
>>>
>>> - - -
>>>
>>> Hello Thomas,
>>>
>>> No, the card doesn’t display output when I switch on the computer.
>>
>> Attached you'll find another patch that also enables ROM access in 
>> the PCI config options.  I took the code out of the old matroxfb 
>> driver without further testing. Please try and report back on the 
>> results.
>>
>> Best regards
>> Thomas
>>
>
> Hello Thomas,
>
> Thank you for your effort to solve the problem. Unfortunately, your 
> new patch doesn't solve the problem either. The error outputs are the 
> same as before.

Oh well. I assume it's a ROM for x86?   I guess the PPC firmware doesn't 
POST the graphics card, so the driver has to.  The power-up logic is 
given in Sec 4.3.3 of the MGA200 spec.  But TBH I won't have the time to 
work on it.  At best, I can help a bit if someone wants to address the 
problem.

Best regards
Thomas

>
> Cheers,
> Christian
>

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, (HRB 36809, AG Nürnberg)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.