Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: £ukasz <blurrpp@yahoo.com>
To: intel-gfx@lists.freedesktop.org
Subject: General Purpose Programming GPU/(G)MCH
Date: Sat, 11 Dec 2010 23:27:46 -0800 (PST)	[thread overview]
Message-ID: <887013.7678.qm@web130101.mail.mud.yahoo.com> (raw)

Hi I have few basic questions about programming intel 945GM/965 chipsets. Offcourse 945GM doesnt have GPU but as i noticed by reading its linux drier source can be programed aswell.
My first question is where in CPU memory area is window for displayed graphics ( there are few registers MMADR=e8400000h(19-31), GMADR=d0000000(28-31) chich can control it, but my experimenting with them and memory pointed by them didnt bring any resoults) like for example for VGA A0000-BFFFF where i can control number of window by suitable registers. Maybe is there some book ro program graphics on intel ?

Secund question is about GPU "direct" programming. Supouse that i have assembler program writen in opcodes somewhere in host(CPU) memory ( shape of this program is topic on another question )how to to start this program on some EU in GPU ( copy to graphics memory, and set some register, lets call it EIP/RIP on GPU, to start this program ). If there is some simple example of such working programm ?

Third one, is there possibility to make some general purpouse commputing on 945GM, there is not much about it in intel manuals ( on linux intel graphics not much either), and if its true how to do it ( again how to force chip to make claculations etc. )

I will be welcome to any advices, books etc.

Luke

             reply	other threads:[~2010-12-12  7:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-12  7:27 £ukasz [this message]
2010-12-12 20:39 ` General Purpose Programming GPU/(G)MCH Chris Wilson
2010-12-12 22:01   ` £ukasz
2010-12-14  9:42     ` Clemens Eisserer
2010-12-14 20:51       ` Alan W. Irwin
2010-12-14  9:45     ` Clemens Eisserer
2010-12-14 15:26       ` £ukasz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=887013.7678.qm@web130101.mail.mud.yahoo.com \
    --to=blurrpp@yahoo.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox