LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* gpu sharing layer for kernel
@ 2007-01-24 11:20 airlied
  2007-01-24 11:20 ` [PATCH] gpu: Initial gpu layer addition airlied
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: airlied @ 2007-01-24 11:20 UTC (permalink / raw)
  To: linux-kernel

This patch series contains the gpu sharing layer for kernel that I've mentioned before. It should apply against Linus's git tree.

Why do we want this?

Currently the kernel cannot provide both the fb and drm drivers with access to the device model and this means the drm cannot get any suspend/resume callbacks. 
This layer attempts to fix this problem by adding a bus for the gpu drivers
to attach to. Currently a lowlevel binding driver is needed along with optional
fb and drm components.

This patch series only covers the generic code and radeon initially, I'll
probably target intel next.

All the patches are available at:
http://www.skynet.ie/~airlied/patches/gpu

I think maybe the radeonfb patch may not make it pass the list filter..

Dave.


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH] gpu/radeonfb: add GPU support to radeonfb
@ 2007-01-24 16:30 Roger While
  2007-01-24 21:54 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 18+ messages in thread
From: Roger While @ 2007-01-24 16:30 UTC (permalink / raw)
  To: linux-kernel; +Cc: airlied, benh

@@ -241,9 +241,9 @@ void radeonfb_engine_reset(struct radeon
  	INREG(HOST_PATH_CNTL);
  	OUTREG(HOST_PATH_CNTL, host_path_cntl);

-	if (rinfo->family != CHIP_FAMILY_R300 ||
-	    rinfo->family != CHIP_FAMILY_R350 ||
-	    rinfo->family != CHIP_FAMILY_RV350)
+	if (rinfo->gpu_info->family != CHIP_FAMILY_R300 ||
+	    rinfo->gpu_info->family != CHIP_FAMILY_R350 ||
+	    rinfo->gpu_info->family != CHIP_FAMILY_RV350)
  		OUTREG(RBBM_SOFT_RESET, rbbm_soft_reset);

Alarm bells going off - "!=" combined with "||" ?
Looks like a reset will always be done.

Roger While



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

end of thread, other threads:[~2007-02-07 18:42 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-24 11:20 gpu sharing layer for kernel airlied
2007-01-24 11:20 ` [PATCH] gpu: Initial gpu layer addition airlied
2007-01-24 11:20   ` [PATCH] gpu/radeon: add a radeon lowlevel GPU driver airlied
2007-01-24 11:20     ` [PATCH] gpu/radeonfb: add GPU support to radeonfb airlied
2007-01-24 11:20       ` [PATCH] gpu/drm: Add GPU layer support to generic DRM airlied
2007-01-24 11:20         ` [PATCH] drm/gpu/radeon: Add radeon DRM support to use GPU layer airlied
2007-01-25  0:07       ` [PATCH] gpu/radeonfb: add GPU support to radeonfb Benjamin Herrenschmidt
2007-01-30 19:50         ` Dave Airlie
2007-01-24 21:46 ` gpu sharing layer for kernel Greg KH
2007-01-24 22:39   ` Dave Airlie
2007-01-25 22:06     ` Greg KH
2007-01-28 21:16       ` Dave Jones
2007-02-07 18:42     ` James Simmons
2007-02-06 19:40   ` James Simmons
2007-01-25  7:56 ` Paul Collins
2007-01-30 19:49   ` Dave Airlie
2007-01-24 16:30 [PATCH] gpu/radeonfb: add GPU support to radeonfb Roger While
2007-01-24 21:54 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).