summaryrefslogtreecommitdiff
path: root/libdrm/xf86drmMode.c
AgeCommit message (Collapse)Author
2009-04-22libdrm/mode: align subpixel resultsDave Airlie
2009-04-10Revert "libdrm: speed up connector & mode fetching"Jesse Barnes
This reverts commit cd5c66c659168cbe2e3229ebf8be79f764ed0ee1. It broke too many kernel assumptions about the double ioctl (connector status, mode fetching, etc.)
2009-03-30libdrm: speed up connector & mode fetchingJesse Barnes
This patch speeds up drmModeGetConnector by pre-allocating mode & property info space before calling into the kernel.  In many cases this pre-allocation will be sufficient to hold the returned values (it's easy enough to tweak if the common case becomes larger), which means we don't have to make the second call, which saves a lot of time. Acked-by: Jakob Bornecrantz <wallbraker@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-02-11mode: Make xfdrmMode.[c|h] not depend on drm_mode.hJakob Bornecrantz
2009-01-12Remove drmModeReplaceFb after it was removed from the kernel.Owain G. Ainsworth
It is impossible to replace the original semantics of this call purely in userland, since the fb_id would change. after discussion with Dr_Jakob Signed-Off-By: Owain Ainsworth <oga@openbsd.org> Acked-By: Jakob Bornecrantz <jakob@vmware.com>
2008-12-17libdrm: add mode setting filesJesse Barnes
Add mode setting files to libdrm, including xf86drmMode.* and the new drm_mode.h header. Also add a couple of tests to sanity check the kernel interfaces and update code to support them.
2008-12-10Revert "Merge branch 'modesetting-gem'"Jesse Barnes
This reverts commit 6656db10551bbb8770dd945b6d81d5138521f208. We really just want the libdrm and ioctl bits, not all the driver stuff.
2008-11-12mode: Minor reodering and renamingJakob Bornecrantz
2008-11-12mode: Remove hotplug support from ioctl interfaceJakob Bornecrantz
2008-10-24mode: Try to settle on a standard for struct fieldsJakob Bornecrantz
2008-07-05modesetting-101: Make the interface variable names a little more consistent ↵Maarten Maathuis
+ modeprint changes. - All things are now called _id when they are id's. - modeprint now accepts driver name as first argument.
2008-06-27Change some obviously wrong things about property blobs, still broken though.Maarten Maathuis
- I do not fully understand these blobs, so i'm leaving it at this for the moment.
2008-06-23libdrm: check for allocation failureMaarten Maathuis
2008-06-02drm: add functions to get/set gamma rampsDave Airlie
2008-06-02drm: fixup some interfaces so test code works againDave Airlie
2008-05-30drm: switch possible crtc/clones over to encodersDave Airlie
2008-05-30modesetting: the great renaming.Dave Airlie
Okay we have crtc, encoder and connectors. No more outputs exposed beyond driver internals I've broken intel tv connector stuff. Really for TV we should have one TV connector, with a sub property for the type of signal been driven over it
2008-05-30drm: fix a couple of bugs in the encoder return to userspaceDave Airlie
2008-05-30drm: add encoder free functionDave Airlie
2008-05-30drm: add more encoder interfacesDave Airlie
2008-05-30libdrm: add encoder retrivalDave Airlie
2008-05-08drm_mode: initial replacefb implemenationDave Airlie
2008-05-08cursor: pass handle not BO.Dave Airlie
2008-03-07drm: fixup for new sysfs APIDave Airlie
2008-03-05libdrm: fix warnings in mode codeDave Airlie
2008-03-05remove unused functions + include header fileDave Airlie
2008-02-29drm: change fb api to take a bo handle not the bo pointer.Dave Airlie
2008-02-28drm: add a check for if modesetting is supported.Dave Airlie
This is Linux only code, it just uses sysfs to see if a control device has been registered on the requested PCI ID
2008-02-07Added userspace part of hotplug ioctl and demoJakob Bornecrantz
2008-01-30ModeFB demo now display cursorJakob Bornecrantz
2008-01-28Added cursor supportJakob Bornecrantz
2007-12-18remove output namesDave Airlie
2007-12-11modesetting: fixup property setting and add connector propertyDave Airlie
2007-12-11modesetting: add dpms property and initial settable property ioctlDave Airlie
2007-12-06add property blobs and edid reporting supportDave Airlie
2007-12-05more WIP on blobs..Dave Airlie
I'm going to pass back a list of blob ids and lengths in the getproperty. will need another ioctl to return the blob data as it is variable length.
2007-12-05arrgggh.. make all ioctl structs 32/64-bit compatible hopefully.Dave Airlie
This also starts to add blob property support. someone needs to check this work for other things like ppc/x86 alignment diffs
2007-12-03mode: copy back the mode if is valid correctlyDave Airlie
2007-12-03finish of mode add/remove, just have attach/detach modesDave Airlie
2007-12-03modesetting API change for removing mode ids and making modes per output.Dave Airlie
so really want to get a list of modes per output not the global hammer list. also we remove the mode ids and let the user pass back the full mode description need to fix up add/remove mode for user modes now
2007-11-27drm/modesetting: add initial gettable properites code.Dave Airlie
This allow the user to retrieve a list of properties for an output. Properties can either be 32-bit values or an enum with an associated name. Range properties are to be supported. This API is probably not all correct, I may make properties part of the general resource get when I think about it some more. So basically you can create properties and attached them to whatever outputs you want, so it should be possible to create some generics and just attach them to every output.
2007-11-15libdrm: return crtc id to userspaceDave Airlie
2007-11-15libdrm: add crtc/output ids to userspace interfaceDave Airlie
2007-11-05Pass pointer to drmModeRmMode.Alan Hourihane
2007-11-05pass pointer for drmModeRmFBAlan Hourihane
2007-05-05Cleaned up userspace interface for modesetting.Jakob Bornecrantz
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-04-12use FB everywhereDave Airlie
2007-04-12allow framebuffer changes on the crtc setupDave Airlie
2007-04-12add getfb ioctlDave Airlie