summaryrefslogtreecommitdiff
path: root/linux-core/drm_stub.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-17Drop shared-core, bsd-core, linux-core and scripts subdirsKristian Høgsberg1-375/+0
2009-06-22drm: Strip old ttm.Thomas Hellstrom1-14/+0
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2008-12-10Revert "Merge branch 'modesetting-gem'"Jesse Barnes1-128/+21
This reverts commit 6656db10551bbb8770dd945b6d81d5138521f208. We really just want the libdrm and ioctl bits, not all the driver stuff.
2008-09-18Export drm_put_minorAlex Deucher1-0/+2
2008-08-14Merge branch 'radeon-gem-cs' into modesetting-gemDave Airlie1-39/+52
Conflicts: libdrm/xf86drm.c linux-core/Makefile.kernel linux-core/drmP.h linux-core/drm_compat.h linux-core/drm_drv.c linux-core/drm_stub.c linux-core/drm_vm.c shared-core/i915_dma.c shared-core/r300_cmdbuf.c shared-core/radeon_drv.h
2008-08-04drm: fixup master code to use krefsDave Airlie1-33/+52
2008-08-01Merge commit 'origin/drm-gem' into modesetting-gemKristian Høgsberg1-4/+3
Conflicts: linux-core/Makefile.kernel linux-core/drmP.h linux-core/drm_mm.c linux-core/drm_stub.c linux-core/i915_gem.c linux-core/i915_opregion.c shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c
2008-07-31drm: remove object hashDave Airlie1-6/+0
2008-07-30Revert "Rename drm_mm.c and its fuctions to drm_memrange."Eric Anholt1-3/+3
This reverts commit 3ad8db2071d30c198403e605f2726fc5c3e46bfd. We ended up not needing that namespace, and I'd rather not have the churn for producing diffs.
2008-07-07Merge commit 'origin/drm-gem' into ms-gemKristian Høgsberg1-5/+18
Conflicts: linux-core/drmP.h linux-core/drm_drv.c linux-core/drm_stub.c linux-core/i915_drv.c linux-core/i915_gem.c shared-core/i915_drv.h shared-core/i915_irq.c
2008-06-20Add device-specific proc_init and proc_cleanup hooksKeith Packard1-4/+18
This allows device drivers to add proc files
2008-06-10Merge commit 'origin/drm-gem' into modesetting-gemJesse Barnes1-3/+12
Passed the compile test; it's ready to ship. Conflicts: libdrm/Makefile.am linux-core/Makefile.kernel linux-core/drmP.h linux-core/drm_memrange.c linux-core/drm_stub.c shared-core/drm.h shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c
2008-06-02drm: initial mode object groups.Dave Airlie1-0/+5
This creates a default group attached to the legacy drm minor nodes. It covers all the objects in the set. make set resources only return objects for this set. Need to fix up other functions to only work on objects in their allowed set.
2008-05-02Add a bit of /proc/dri/*/gem support. Clean up some refcount/pagelock issues.Keith Packard1-0/+9
Track named objects in /proc/dri/0/gem_names. Track total object count in /proc/dri/0/gem_objects. Initialize device gem data. return -ENODEV for gem ioctls if the driver doesn't support gem. Call unlock_page when unbinding from gtt. Add numerous misssing calls to drm_gem_object_unreference.
2008-04-28Rename drm_mm.c and its fuctions to drm_memrange.Eric Anholt1-3/+3
It's not really a graphics memory allocator, just something to track ranges of address space. It doesn't involve actual allocation, and was consuming some desired namespace.
2008-03-17drm: add master set/drop protocolDave Airlie1-0/+23
this may not survive long - just need something for testing
2008-03-10remove unneeded load callDave Airlie1-5/+0
2008-03-07worst merge effort everDave Airlie1-4/+0
2008-03-06Merge branch 'master' of ../../drm into modesetting-101Dave Airlie1-0/+4
Conflicts: linux-core/drmP.h linux-core/drm_drv.c linux-core/drm_proc.c linux-core/drm_stub.c linux-core/drm_sysfs.c
2008-03-06drm: reorganise minor number handling using code from modesetting branchDave Airlie1-53/+98
Rip out the whole head thing and replace it with an idr and drm_minor structure.
2008-02-28drm: add modesetting as a driver feature.Dave Airlie1-3/+6
This change adds a driver feature that for i915 is controlled by a module parameter. You now need to do insmod i915.ko modeset=1 to enable it the modesetting paths. It also fixes up lots of X paths. I can run my new DDX driver on this code with and without modesetting enabled
2008-02-15various fixes from trying to get userspace startedDave Airlie1-0/+1
2008-02-15switch naming to new proposed schemeDave Airlie1-9/+9
2008-02-15remove drm_minors_limitDave Airlie1-3/+0
2008-02-13start moving over to proper hierarchy wrt master accessesDave Airlie1-7/+11
2008-02-13major port of multi-master ideas into modesettingDave Airlie1-12/+58
2008-02-13drm: re-write minor number allocation to use an idr.Dave Airlie1-50/+93
Fixup the minor number allocation scheme to use an idr and move the control nodes up higher.
2008-01-04drm: add initial support for a drm control device nodeDave Airlie1-16/+28
2008-01-04drm: move drm_head to drm_minor and fix up usersDave Airlie1-26/+27
2007-11-22Merge branch 'origin' into modesetting-101Dave Airlie1-4/+4
Conflicts: linux-core/drmP.h shared-core/i915_dma.c shared-core/i915_drm.h shared-core/radeon_drv.h
2007-11-22drm: major whitespace/coding style realignment with kernelDave Airlie1-4/+4
2007-11-21drm: don't reset to 0 irq_enabled when client open file descriptorJerome Glisse1-0/+1
2007-11-21drm: don't reset to 0 irq_enabled when client open file descriptorJerome Glisse1-0/+1
2007-11-05Merge branch 'master' into modesetting-101Thomas Hellstrom1-1/+1
Conflicts: linux-core/drm_bufs.c shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c
2007-11-05drm: remove lots of spurious whitespace.Dave Airlie1-1/+1
Kernel "cleanfile" script run.
2007-11-01Merge branch 'master' into modesetting-101Jesse Barnes1-4/+3
Conflicts: linux-core/Makefile.kernel linux-core/drm_stub.c linux-core/i915_drv.c shared-core/i915_dma.c shared-core/i915_drv.h Fixup suspend/resume conflicts (basically use what's in DRM master for now). Also fix up a few other conflicts that snuck in (i915_dma changes etc.).
2007-10-31drm: call driver load after initing agp subsystemDave Airlie1-4/+5
2007-10-26update DRM sysfs supportJesse Barnes1-4/+3
Make DRM devices use real Linux devices instead of class devices, which are going away. While we're at it, clean up some of the interfaces to take struct drm_device * or struct device * and use the global drm_class where needed instead of passing it around.
2007-10-25Merge branch 'master' into modesetting-101Thomas Hellstrom1-1/+0
Conflicts: linux-core/Makefile.kernel linux-core/drm_bo.c linux-core/drm_objects.h
2007-10-20Simple replacement for hardware lock in some cases.Thomas Hellstrom1-1/+0
Fix i915 since last commit.
2007-09-24Merge branch 'master' into modesetting-101 - TTM & typedef removalJesse Barnes1-20/+28
Conflicts: linux-core/drmP.h linux-core/drm_bo.c linux-core/drm_drv.c linux-core/drm_objects.h shared-core/drm.h shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c Mostly removing typedefs that snuck into the modesetting code and updating to the latest TTM APIs. As of today, the i915 driver builds, but there are likely to be problems, so debugging and bugfixes will come next.
2007-09-20drm_sysfs: update sysfs code from kernelDave Airlie1-1/+1
2007-07-16drm: remove drmP.h internal typedefsDave Airlie1-10/+10
2007-07-02Fix must-check warnings and implement a few error paths.Kristian Høgsberg1-9/+17
2007-06-29Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into ↵Alan Hourihane1-9/+7
modesetting-101 Conflicts: linux-core/drm_drv.c linux-core/drm_fops.c linux-core/drm_objects.h linux-core/drm_stub.c shared-core/i915_dma.c
2007-06-10use krh's idr mods to remove lists from idr codeDave Airlie1-1/+0
2007-06-01drm: fixup initialisation of list heads and idrDave Airlie1-2/+7
2007-05-26drm: cleanup use of Linux list handling macrosDave Airlie1-7/+2
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-04-17another large overhaul of interactions with userspace...Dave Airlie1-6/+7
We need to keep a list of user created fbs to nuke on master exit. We also need to use the bo properly.
2007-04-13i915/drm: clean up a lot of the i915/drm startup/teardown sequencesDavid Airlie1-1/+0
When the kernel driver is loaded it sets up a lot of stuff.. it tears down the same stuff on unload. This add a new map type called DRM_DRIVER which means the driver will clean the mapping up and fix up the map cleaner