From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?=A3ukasz?= Subject: General Purpose Programming GPU/(G)MCH Date: Sat, 11 Dec 2010 23:27:46 -0800 (PST) Message-ID: <887013.7678.qm@web130101.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from web130101.mail.mud.yahoo.com (web130101.mail.mud.yahoo.com [66.94.238.128]) by gabe.freedesktop.org (Postfix) with SMTP id CDE229E77F for ; Sat, 11 Dec 2010 23:27:47 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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