All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* 3D and then OpenCL on VIA VX800/VX820
@ 2014-08-04  1:52 Felix Nawothnig
  2014-08-04  3:11 ` Dave Airlie
  0 siblings, 1 reply; 3+ messages in thread
From: Felix Nawothnig @ 2014-08-04  1:52 UTC (permalink / raw
  To: dri-devel

Hey...

I know that this sounds crazy, but I'd like to attempt to do it - that 
is if it is possible at all. :-)

 From following the Noveau and Gallium development over the last years 
(including reading the source code) I have a slight clue how to do 
things but basically I'm a newbie to 3D driver development. (I do on the 
other hand have solid knowledge of higher level 3D programming, and 
solid knowledge of low-level / driver / hardware development).

Still, I'm willing to learn - so...

Tell me if it's possible at all (or maybe if just the first part might 
be possible) and give me a very slight hint where to start (obviously 
the start would be how to begin the 3D support for VX800/VX820).

And yea. I know this will take ages if I do this by myself - and the 
chances to succeed are slim...

But everyone needs a hobby. ;-)

And I love the idea of supporting OpenCL on an architecture where the 
vendor would probably never ever support it on any OS. :-)

Cheers,
Felix

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 3D and then OpenCL on VIA VX800/VX820
  2014-08-04  1:52 3D and then OpenCL on VIA VX800/VX820 Felix Nawothnig
@ 2014-08-04  3:11 ` Dave Airlie
  2014-08-26 12:13   ` Xavier Bachelot
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Airlie @ 2014-08-04  3:11 UTC (permalink / raw
  To: Felix Nawothnig; +Cc: dri-devel

On 4 August 2014 11:52, Felix Nawothnig <felix.nawothnig@gmail.com> wrote:
> Hey...
>
> I know that this sounds crazy, but I'd like to attempt to do it - that is if
> it is possible at all. :-)
>
> From following the Noveau and Gallium development over the last years
> (including reading the source code) I have a slight clue how to do things
> but basically I'm a newbie to 3D driver development. (I do on the other hand
> have solid knowledge of higher level 3D programming, and solid knowledge of
> low-level / driver / hardware development).
>
> Still, I'm willing to learn - so...
>
> Tell me if it's possible at all (or maybe if just the first part might be
> possible) and give me a very slight hint where to start (obviously the start
> would be how to begin the 3D support for VX800/VX820).
>
> And yea. I know this will take ages if I do this by myself - and the chances
> to succeed are slim...
>
> But everyone needs a hobby. ;-)
>
> And I love the idea of supporting OpenCL on an architecture where the vendor
> would probably never ever support it on any OS. :-)

These are DX9 parts from what I know, so the most you'd get going on
them is similar
to what R500 or NV40 exposes, GL 2.1, I highly doubt they do MSAA, and even
higher doubt they have any ability to run OpenCL in a useful or manner.

OpenCL needs features the GPU doesn't expose.

You'd also want to start with a KMS driver (openchrome) and at least
get that working first,
then maybe build a gallium driver on top of that.

The Via DX11 chips might be more interesting in that they might have
some useful hw bits,
though I've no idea how you'd start to RE them.

Dave.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 3D and then OpenCL on VIA VX800/VX820
  2014-08-04  3:11 ` Dave Airlie
@ 2014-08-26 12:13   ` Xavier Bachelot
  0 siblings, 0 replies; 3+ messages in thread
From: Xavier Bachelot @ 2014-08-26 12:13 UTC (permalink / raw
  To: Dave Airlie, Felix Nawothnig; +Cc: dri-devel

On 04/08/2014 05:11, Dave Airlie wrote:
> On 4 August 2014 11:52, Felix Nawothnig <felix.nawothnig@gmail.com> wrote:
>> Hey...
>>
>> I know that this sounds crazy, but I'd like to attempt to do it - that is if
>> it is possible at all. :-)
>>
>>  From following the Noveau and Gallium development over the last years
>> (including reading the source code) I have a slight clue how to do things
>> but basically I'm a newbie to 3D driver development. (I do on the other hand
>> have solid knowledge of higher level 3D programming, and solid knowledge of
>> low-level / driver / hardware development).
>>
>> Still, I'm willing to learn - so...
>>
>> Tell me if it's possible at all (or maybe if just the first part might be
>> possible) and give me a very slight hint where to start (obviously the start
>> would be how to begin the 3D support for VX800/VX820).
>>
>> And yea. I know this will take ages if I do this by myself - and the chances
>> to succeed are slim...
>>
>> But everyone needs a hobby. ;-)
>>
>> And I love the idea of supporting OpenCL on an architecture where the vendor
>> would probably never ever support it on any OS. :-)
>
> These are DX9 parts from what I know, so the most you'd get going on
> them is similar
> to what R500 or NV40 exposes, GL 2.1, I highly doubt they do MSAA, and even
> higher doubt they have any ability to run OpenCL in a useful or manner.
>
> OpenCL needs features the GPU doesn't expose.
>
> You'd also want to start with a KMS driver (openchrome) and at least
> get that working first,

openchrome KMS is mostly working although unaccelerated. James would 
certainly love some help with the tasks remaining to get a KMS enabled 
drm driver in upstream kernel.
There are some information there : 
http://www.freedesktop.org/wiki/Openchrome/TtmGemKms/

> then maybe build a gallium driver on top of that.
>
> The Via DX11 chips might be more interesting in that they might have
> some useful hw bits,
> though I've no idea how you'd start to RE them.

Unfortunately, unlike some other VIA chips, there is no documentation 
available for the VX11 and this chip is likely very different to even 
the VX900. I can try to get in touch again with some people at VIA about 
that, but last time I asked even doc under NDA wasn't an option.

Felix, please get in touch with us on the openchrome-devel mailing list 
or #openchrome on freenode, James and I can probably answer some of your 
questions to get you started.

Regards,
Xavier

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-26 12:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-04  1:52 3D and then OpenCL on VIA VX800/VX820 Felix Nawothnig
2014-08-04  3:11 ` Dave Airlie
2014-08-26 12:13   ` Xavier Bachelot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.