summaryrefslogtreecommitdiff
path: root/linux-core
AgeCommit message (Collapse)Author
2007-06-01drm: fixup initialisation of list heads and idrDave Airlie
2007-05-27drm: move context handling code to use linux idrDave Airlie
2007-05-27drm: convert drawable handling to use Linux idrDave Airlie
This cleans this code up a lot and uses the generic Linux idr which is designed for this. Signed-off-by: Dave Airlie <airlied@linux.ie>
2007-05-26drm: make sure the drawable code doesn't call malloc(0).Michel Dänzer
Signed-off-by: Michel Dänzer <michel@tungstengraphics.com> Signed-off-by: Dave Airlie <airlied@linux.ie>
2007-05-26Revert "drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls."Dave Airlie
This reverts commit 3fdef0dc2000308b16907b95f637c60acde80a74. ditto not on master yet
2007-05-26Revert "drm/ttm: cleanup most of fence ioctl split out"Dave Airlie
This reverts commit 3dfc1400e9fc58c69292d7cf7c2e1653fa5e6991. this shouldn't have gone on master yet
2007-05-26whitespace fixups from kernelDave Airlie
2007-05-26ati_pcigart: cut to 80 charsDave Airlie
2007-05-26drm/ttm: cleanup most of fence ioctl split outDave Airlie
2007-05-26drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls.Dave Airlie
This is the first bunch of ioctls
2007-05-26drm: cleanup use of Linux list handling macrosDave Airlie
This makes the drms use of the list handling macros a lot cleaner and more along the lines of how they should be used.
2007-05-24Suspend/resume shouldn't call drm_initial_config (seems to work ok for me now),Jesse Barnes
also we should fail if we can't enable the device at resume time.
2007-05-22Suspend/resume support (incomplete).Jesse Barnes
2007-05-22Call preallocated space VRAM instead of PRIV0 to be more consistent withJesse Barnes
other drivers.
2007-05-18Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm ↵Jesse Barnes
into origin/modesetting-101 Conflicts: linux-core/drm_crtc.c - reconcile with locking changes
2007-05-18Add locking. The main lock is dev->mode_config.config_lock. It should beJesse Barnes
held across any operations that modify mode lists, crtc config, output config, etc. It should be taken at high level entry points (currently just initial config and user IOCTL). Seems to work ok on my system, but needs more testing (with lockdep) and review from some fresh eyes.
2007-05-18Change some printk's to DRM_DEBUG'sAlan Hourihane
2007-05-18Move fbo creation to the specified fb driver which givesAlan Hourihane
it a chance to allocate the memory from whichever buffer it wants to.
2007-05-18Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into ↵Alan Hourihane
modesetting-101 Conflicts: shared-core/i915_dma.c
2007-05-17Set crtcinfo on temporary modeAlan Hourihane
2007-05-17Remove unused edid.h header from X.Org.Jesse Barnes
2007-05-17bring in change from drm_fb.cAlan Hourihane
2007-05-17Move destruction of crtc as intelfb_remove uses the crtc to locate the fb.Alan Hourihane
2007-05-17Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm ↵Jesse Barnes
into origin/modesetting-101 Conflicts: linux-core/drm_crtc.c linux-core/drm_fb.c Lots of changes to merge with alanh's latest stuff: o fix use of fb->pitch now that it has the right value o add new helper for finding the CRTC given an FB o fix new fb_probe/fb_remove functions to take a CRTC o fixup callers of new FB routines o port drm_fb changes to intel_fb o check for errors after creating fb buffer object o go back to using cfb_imageblit since the accel stubs aren't ready
2007-05-17Grab the default mode if the preferred mode isn't available.Alan Hourihane
Fix an overflow problem.
2007-05-17Fix FB pitch value (we had it wrong and were working around it in a fewJesse Barnes
places). Add new FB hooks to the drm driver structure and make i915 use them for an Intel specific FB driver. This will allow acceleration and better handling of the command stream.
2007-05-17nouveau: don't build the module by defaultStephane Marchesin
2007-05-17Fix build problemAlan Hourihane
2007-05-17Large changes for fbdev support.root
Change from DIRECTCOLOR to TRUECOLOR, and enable support for PSEUDOCOLOR. DIRECTCOLOR support needs more work. Add the ability to change the mode on the fbdev device. Support depth 8, 15, 16 and 24 (and 32). Add a /dev/fbX device per CRTC, but there's some code which doesn't allocate the fbX device unless the output is actually enabled. Read the code on this as it impacts the fbcon map flags. Pick CRTC's based on the available outputs. More work could be done here to match modes, so cloning could be achieved on outputs. This fits more inline with what the X code does.
2007-05-10Just some minor cleanups.Alan Hourihane
2007-05-08ttm: complete drm buffer object ioctl splitDave Airlie
retain the op operation for validate/fence operations
2007-05-08drm/ttm: remove old fence ioctlDave Airlie
2007-05-08drm/ttm: ioctl cleanup for buffer object - user side onlyDave Airlie
This just cleans up the xf86drm.c to what I want and drm.h, I need to fix up the kernel internals to suit these changes now. I've moved to using struct instead of typedefs for the bo and it doesn't look that bad so I'll do the same thing for mm and fence..
2007-05-06s/OJBECTS/OBJECTS/Brian
2007-05-06drm/ttm: cleanup most of fence ioctl split outDave Airlie
2007-05-06drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls.Dave Airlie
This is the first bunch of ioctls
2007-05-06drm: remove unused define DRM_HAS_TTMDave Airlie
2007-05-01cleanup usermodes on drm mode setting shutdownDave Airlie
2007-05-01Add support for user defined modesDave Airlie
This allows userspace to specify modes and add them to the modesetting system and attach modes to outputs
2007-05-01fix unusued variableDave Airlie
2007-04-28drm: add new drm_wait_on function to replace macroDave Airlie
2007-04-28remove register usageDave Airlie
2007-04-28remove DRM_GETSAREA and replace with drm_getsarea functionDave Airlie
2007-04-26linux: minor indent.George Sapountzis
2007-04-26whitespace cleanupDave Airlie
2007-04-26remove some whitespace violationDave Airlie
2007-04-26drm: nopfn warning on 64-bitDave Airlie
2007-04-26drm/ttm: allow drm_buffer_object_create to be used in-kernelJesse Barnes
2007-04-26Add new buffer object type for kernel allocations that don't initially have ↵Jesse Barnes
a user mapping. (cherry picked from commit 2e21779992bd5026d8ec4dea52466377dbe5a0ed)
2007-04-26Merge branch 'origin' into modesetting-101Dave Airlie