Re: [PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-07 Thread Mark Cave-Ayland
On 06/10/2021 22:16, Laurent Vivier wrote: Le 06/10/2021 à 21:24, Laurent Vivier a écrit : Le 06/10/2021 à 18:09, Mark Cave-Ayland a écrit : On 06/10/2021 16:46, Laurent Vivier wrote: Le 06/10/2021 à 15:54, Mark Cave-Ayland a écrit : On 06/10/2021 13:24, Laurent Vivier wrote: This is

Re: [PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-06 Thread Laurent Vivier
Le 06/10/2021 à 21:24, Laurent Vivier a écrit : > Le 06/10/2021 à 18:09, Mark Cave-Ayland a écrit : >> On 06/10/2021 16:46, Laurent Vivier wrote: >>> Le 06/10/2021 à 15:54, Mark Cave-Ayland a écrit : On 06/10/2021 13:24, Laurent Vivier wrote: >> This is where it becomes a bit

Re: [PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-06 Thread Laurent Vivier
Le 06/10/2021 à 18:09, Mark Cave-Ayland a écrit : > On 06/10/2021 16:46, Laurent Vivier wrote: >> Le 06/10/2021 à 15:54, Mark Cave-Ayland a écrit : >>> On 06/10/2021 13:24, Laurent Vivier wrote: >>> > This is where it becomes a bit trickier, since technically booting Linux > with -kernel

Re: [PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-06 Thread Mark Cave-Ayland
On 06/10/2021 16:46, Laurent Vivier wrote: Le 06/10/2021 à 15:54, Mark Cave-Ayland a écrit : On 06/10/2021 13:24, Laurent Vivier wrote: This is where it becomes a bit trickier, since technically booting Linux with -kernel you can use any supported values as long as everything fits in the

Re: [PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-06 Thread Laurent Vivier
Le 06/10/2021 à 15:54, Mark Cave-Ayland a écrit : > On 06/10/2021 13:24, Laurent Vivier wrote: > >>> This is where it becomes a bit trickier, since technically booting Linux >>> with -kernel you can use >>> any supported values as long as everything fits in the video RAM which is >>> why there

Re: [PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-06 Thread Mark Cave-Ayland
On 06/10/2021 13:24, Laurent Vivier wrote: This is where it becomes a bit trickier, since technically booting Linux with -kernel you can use any supported values as long as everything fits in the video RAM which is why there isn't currently a hard-coded list :) We need the list of

Re: [PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-06 Thread Laurent Vivier
Le 05/10/2021 à 17:33, Mark Cave-Ayland a écrit : > On 05/10/2021 16:08, Laurent Vivier wrote: > >> Le 05/10/2021 à 13:38, Mark Cave-Ayland a écrit : >>> On 05/10/2021 10:50, Laurent Vivier wrote: >>> Le 04/10/2021 à 23:19, Mark Cave-Ayland a écrit : > The monitor modes table is found by

Re: [PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-05 Thread Mark Cave-Ayland
On 05/10/2021 16:08, Laurent Vivier wrote: Le 05/10/2021 à 13:38, Mark Cave-Ayland a écrit : On 05/10/2021 10:50, Laurent Vivier wrote: Le 04/10/2021 à 23:19, Mark Cave-Ayland a écrit : The monitor modes table is found by experimenting with the Monitors Control Panel in MacOS and analysing

Re: [PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-05 Thread Laurent Vivier
Le 05/10/2021 à 13:38, Mark Cave-Ayland a écrit : > On 05/10/2021 10:50, Laurent Vivier wrote: > >> Le 04/10/2021 à 23:19, Mark Cave-Ayland a écrit : >>> The monitor modes table is found by experimenting with the Monitors Control >>> Panel in MacOS and analysing the reads/writes. From this it can

Re: [PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-05 Thread Mark Cave-Ayland
On 05/10/2021 10:50, Laurent Vivier wrote: Le 04/10/2021 à 23:19, Mark Cave-Ayland a écrit : The monitor modes table is found by experimenting with the Monitors Control Panel in MacOS and analysing the reads/writes. From this it can be found that the mode is controlled by writes to the

Re: [PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-05 Thread Laurent Vivier
Le 04/10/2021 à 23:19, Mark Cave-Ayland a écrit : > The monitor modes table is found by experimenting with the Monitors Control > Panel in MacOS and analysing the reads/writes. From this it can be found that > the mode is controlled by writes to the DAFB_MODE_CTRL1 and DAFB_MODE_CTRL2 > registers.

[PATCH v2 08/12] macfb: add common monitor modes supported by the MacOS toolbox ROM

2021-10-04 Thread Mark Cave-Ayland
The monitor modes table is found by experimenting with the Monitors Control Panel in MacOS and analysing the reads/writes. From this it can be found that the mode is controlled by writes to the DAFB_MODE_CTRL1 and DAFB_MODE_CTRL2 registers. Implement the first block of DAFB registers as a