Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-06 | drm: reorganise minor number handling using code from modesetting branch | Dave Airlie | |
Rip out the whole head thing and replace it with an idr and drm_minor structure. | |||
2007-11-22 | drm: major whitespace/coding style realignment with kernel | Dave Airlie | |
2007-11-21 | drm: don't reset to 0 irq_enabled when client open file descriptor | Jerome Glisse | |
2007-11-05 | drm: more kernel coding style cleanups | Dave Airlie | |
2007-11-05 | drm: remove lots of spurious whitespace. | Dave Airlie | |
Kernel "cleanfile" script run. | |||
2007-10-16 | Drop destroy ioctls for fences and buffer objects. | Kristian Høgsberg | |
We now always create a drm_ref_object for user objects and this is then the only things that holds a reference to the user object. This way unreference on will destroy the user object when the last drm_ref_object goes way. | |||
2007-07-21 | Fix misc ioctl issues, makes Nouveau run. | Pekka Paalanen | |
Debug print fix in drm_release(). Forgotten local variable init in drm_setversion(). Unnecessary put_user() in drm_addmap_ioctl(). ioctl->cmd check broken in drm_ioctl(); workaround. | |||
2007-07-20 | Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. | Eric Anholt | |
The data is now in kernel space, copied in/out as appropriate according to the This results in DRM_COPY_{TO,FROM}_USER going away, and error paths to deal with those failures. This also means that XFree86 4.2.0 support for i810 DRM is lost. | |||
2007-07-20 | Replace filp in ioctl arguments with drm_file *file_priv. | Eric Anholt | |
As a fallout, replace filp storage with file_priv storage for "unique identifier of a client" all over the DRM. There is a 1:1 mapping, so this should be a noop. This could be a minor performance improvement, as everything on Linux dereferenced filp to get file_priv anyway, while only the mmap ioctls went the other direction. | |||
2007-07-18 | fix some missing whitespace/tab | Dave Airlie | |
2007-07-16 | drm: remove hashtab/sman and object typedefs | Dave Airlie | |
2007-07-16 | drm: remove drmP.h internal typedefs | Dave Airlie | |
2007-06-01 | drm: fixup initialisation of list heads and idr | Dave Airlie | |
2007-05-27 | drm: convert drawable handling to use Linux idr | Dave 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-26 | drm: cleanup use of Linux list handling macros | Dave 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-03-27 | drm/ttm: make sure dev_mapping is set-up for the first opener of the drm | Dave Airlie | |
This was causing an oops in my miniglx code to try and use a TTM-only setup. | |||
2007-03-19 | whitespace cleanup pending a kernel merge | Dave Airlie | |
2007-02-13 | Bugzilla Bug #9457 | Thomas Hellstrom | |
Add refcounting of user waiters to the DRM hardware lock, so that we can use the DRM_LOCK_CONT flag more conservatively. Also add a kernel waiter refcount that if nonzero transfers the lock for the kernel context, when it is released. This is useful when waiting for idle and can be used for very simple fence object driver implementations for the new memory manager. It also resolves the AIGLX startup deadlock for the sis and the via drivers. i810, i830 still require that the hardware lock is really taken so the deadlock remains for those two. I'm not sure about ffb. Anyone familiar with that code? | |||
2006-12-20 | Merge branch 'nouveau-1' | Dave Airlie | |
2006-12-19 | Reclaim buffers locked fixup. | Thomas Hellstrom | |
Avoid calling reclaim_buffers_locked if we don't have a hardware lock. Improve reclaim_buffers_locked deadlock error formatting. | |||
2006-11-06 | drm: fixup page alignment on SAREA map on ppc64 | Dave Airlie | |
2006-10-03 | Get rid of all ugly PTE hacks. | Thomas Hellstrom | |
2006-10-02 | Add a comment to previos commit. | Thomas Hellstrom | |
2006-10-02 | Trap and be verbose about a deadlock that occurs with AIGLX and drivers that | Thomas Hellstrom | |
use drm_reclaim_buffers_locked(). | |||
2006-08-28 | Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into ↵ | Thomas Hellstrom | |
drm-ttm-0-2-branch Conflicts: linux-core/drmP.h | |||
2006-08-28 | drm: lots of small cleanups and whitespace issues fixed up | Dave Airlie | |
remove a mach64 warning, align a lot of things from linux kernel | |||
2006-08-28 | fix const pointer warnings with file_operations | Dave Airlie | |
2006-08-28 | remove some DRM_ARRAY_SIZE from linux core code | Dave Airlie | |
2006-08-21 | Generic DRM support base-class support for user-space objects, like | Thomas Hellstrom | |
fence objects and buffer objects: Refcounting, Inter-process sharing, Synchronization Destruction. | |||
2006-08-16 | Remove hash tables on DRM exit. | Thomas Hellstrom | |
2006-07-24 | switch drm to use Linux mutexes instead of semaphore. | Dave Airlie | |
I hope the fallback compat code works if not shout at me. | |||
2006-06-06 | Fix drm_remove_magic potential memory leak / corruption. Move drm | Thomas Hellstrom | |
authentication token hashing to new generic hash table implementation. | |||
2006-02-18 | major realigment of DRM CVS with kernel code, makes integration much easier | Dave Airlie | |
2006-01-02 | use drm_cards_limit instead of cards_limit | Dave Airlie | |
2005-11-11 | convert to use __set_current_state, align some header includes | Dave Airlie | |
2005-10-23 | we don't use this stuff anymore .. remove 1k buffer from driver .. | Dave Airlie | |
2005-09-18 | remove pci_find_class use for alpha | Dave Airlie | |
2005-08-05 | Rename the driver hooks in the DRM to something a little more | Eric Anholt | |
understandable: preinit -> load postinit -> (removed) presetup -> firstopen postsetup -> (removed) open_helper -> open prerelease -> preclose free_filp_priv -> postclose pretakedown -> lastclose postcleanup -> unload release -> reclaim_buffers_locked version -> (removed) postinit and version were replaced with generic code in the Linux DRM (drivers now set their version numbers and description in the driver structure, like on BSD). postsetup wasn't used at all. Fixes the savage hooks for initializing and tearing down mappings at the right times. Testing involved at least starting X, running glxgears, killing glxgears, exiting X, and repeating. Tested on: FreeBSD (g200, g400, r200, r128) Linux (r200, savage4) | |||
2005-08-04 | Implement permanent sarea maps | Jon Smirl | |
2005-08-04 | Split the control of master vs root priv. Everything is still marked as | Jon Smirl | |
needing root. | |||
2005-06-30 | release can happen before dev->ctxlist is allocated | Jon Smirl | |
2005-06-29 | Bug in conversion from old DRM to core DRM.... | Dave Airlie | |
2005-06-04 | misc cleanup patch from Adrian Bunk | Dave Airlie | |
2004-10-31 | Allow drivers to override reclaim_buffers in an OS-independent way by | Felix Kuehling | |
passing drm_device_t* as first parameter, like in the BSD version. | |||
2004-10-28 | Break poll() to make it match the Xserver's broken expectations. | Jon Smirl | |
2004-10-18 | Update Doxygen configuration & comments. | Jose Fonseca | |
2004-10-15 | Move drm_cpu_valid out of drm_init. drm_init is empty now. | Jon Smirl | |
2004-10-13 | Add a poll function that alternates between zero and normal poll return to | Jon Smirl | |
bring DRM into conformance with normal poll(). | |||
2004-10-12 | Breakout heads into their own data structures. | Jon Smirl | |
2004-10-10 | Rename fn_tbl to driver. Core driver now uses pci_driver name which | Jon Smirl | |
reflects the personality name. |