Re: GSoC project: KMS driver for Cirrus Logic graphics

2015-05-12 Thread Léo Grange
2015-05-11 4:59 GMT+02:00 Damien Miller d...@mindrot.org:
 Possibly dumb question: why the Cirrus CLGD 5446? It doesn't seem like
 a very common chipset.

 Is the goal of the project to have a model KMS driver and
 documentation that can serve as a guide? Or a KMS driver that works well
 in a common virtualisation environment? or something else?

Not dumb at all, in fact you're right twice.
Having a model KMS driver seems important to make easier the future
addition of new KMS driver for other graphics chipset.
In the same time, being able to testing it from a common
virtualisation environment will allow  developer to test it and
possibly hack it to understand better how KMS works, regardless the
hardware they have. In addition, that may allow more KMS-specific
testing through QEMU if needed, for other parts of OpenBSD (from
framebuffer console to Xenocara).



GSoC project: KMS driver for Cirrus Logic graphics

2015-05-10 Thread Léo Grange
Hi @tech,

I don't want to spam on this mailing list, but it seems interesting to
share with the other developers about the content of my project for
OpenBSD during the current GSoC. Just to present myself briefly, I'm
student in first year of Master in computer science, in Toulouse,
France.

The goal of the project is to port the current Cirrus userland driver
from X.Org to an OpenBSD KMS driver, and to document the process in
order to make easier the addition of new KMS drivers for various
graphics adapter.
As QEMU emulates a Cirrus CLGD 5446, this card is virtually one of the
easiest to find for testing purpose, is relatively well documented,
and is simple compared to latest intel or radeon cards. For these
reasons it's a pretty good candidate to be used as a sample
implementation of DRM/KMS.

The original proposal contains other informations, mainly
non-technical, but if you want to read it I made it available at this
address:
http://lab.knightsofnii.com/kristaba/gsocproposal/blob/master/README.md

Feel free to contact me if you have any question or advice concerning
my work (or any other reason).


Regards,

Léo Grange



Re: GSoC project: KMS driver for Cirrus Logic graphics

2015-05-10 Thread Damien Miller
On Mon, 11 May 2015, L?o Grange wrote:

 The goal of the project is to port the current Cirrus userland driver
 from X.Org to an OpenBSD KMS driver, and to document the process in
 order to make easier the addition of new KMS drivers for various
 graphics adapter.
 As QEMU emulates a Cirrus CLGD 5446, this card is virtually one of the
 easiest to find for testing purpose, is relatively well documented,
 and is simple compared to latest intel or radeon cards. For these
 reasons it's a pretty good candidate to be used as a sample
 implementation of DRM/KMS.

Hi and welcome!

Possibly dumb question: why the Cirrus CLGD 5446? It doesn't seem like
a very common chipset.

Is the goal of the project to have a model KMS driver and
documentation that can serve as a guide? Or a KMS driver that works well
in a common virtualisation environment? or something else?

-d