summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.c
AgeCommit message (Collapse)Author
2008-05-08drm: fix replacefb to change fb propertiesDave Airlie
2008-05-08drm_mode: initial replacefb implemenationDave Airlie
2008-04-10Split TV property creation into its own routineJesse Barnes
It needs to take arguments from the caller about supported TV formats, so declare it in drm_crtc.h and export it.
2008-04-10Remove structure fields & codeJesse Barnes
Cleanup some random cruft left over from the initial port.
2008-04-10Keep display info in struct display_infoJesse Barnes
Some fields had snuck into the drm_output structure. Put them back and fill in more stuff from the EDID block.
2008-04-09Fixup sysfs output registrationJesse Barnes
Put off registering new outputs with sysfs until they're properly configured, or we may get duplicates if the type hasn't been set yet (as is the case with SDVO initialization). This also means moving de-registration into the cleanup function instead of output destroy, since the latter occurs during the normal course of setup when an output isn't found (and therefore not registered with sysfs yet.
2008-04-08Improved DRM sysfs supportJesse Barnes
This patch ties outputs, output properties and hotplug events into the DRM core. Each output has a corresponding directory under the primary DRM device (usually card0) containing dpms, edid, modes, and connection status files. New hotplug change events occur when outputs are added or hotplug events are detected.
2008-03-11Add support for monitor hotplug signals/waitsAlan Hourihane
Also adjust i915 irq handling as it follows the 16bit'ism's of the i8xx series.
2008-03-07make startup of Xorg smoother if the mode doesn't change.Dave Airlie
just flip the framebuffer in when required.
2008-03-05build fixAlan Hourihane
2008-03-05Use ARRAY_SIZEAlan Hourihane
2008-03-05propogate failed fixups back upAlan Hourihane
2008-03-05Fix connector description tableAlan Hourihane
2008-02-26DRM_INFO -> DRM_DEBUGAlan Hourihane
2008-02-26Implement short circuit for base change onlyAlan Hourihane
Allow mode to be set with fb_id set to -1, meaning set the mode with the current fb (if we have one bound). Allow intelfb to hook back up it's fb if modesetting clears it (maybe temporary). Move any crtc->fb related register changes to set_base in intel_fb. General intelfb cleanups.
2008-02-26drm: fix pick crtcs mode selection codeDave Airlie
2008-02-22modesetting: fix memory leak and misallocationDave Airlie
2008-02-20remove more offsetDave Airlie
2008-02-15i915: initial (and untested) TV out supportJesse Barnes
Ported from xf86-video-intel. Still need to tie in TV modes somehow, though preferably w/o using the properties mechanism.
2008-02-15fb: fixup the offset by getting it from the right placeDave Airlie
2008-02-15various fixes from trying to get userspace startedDave Airlie
2008-02-07Added kernel part of hotplug ioctlJakob Bornecrantz
2008-02-05Fix function declarationAlan Hourihane
2008-01-28Added cursor supportJakob Bornecrantz
2008-01-11Panning now works without modesetJakob Bornecrantz
2008-01-11Added fixed misc framebuffer problemsJakob Bornecrantz
2008-01-09fixup crtcinfo on modes from userspaceDave Airlie
2008-01-04crtc: fixup allocation sizeDave Airlie
2008-01-04drm: move drm_head to drm_minor and fix up usersDave Airlie
2007-12-21s/TRUE/trueDave Airlie
2007-12-18Merge branch 'modesetting-airlied' into modesetting-101Dave Airlie
2007-12-18we should not be unlocking this hereDave Airlie
2007-12-18remove output namesDave Airlie
2007-12-18Fix and cleanup of HotplugJakob Bornecrantz
2007-12-18Modesetting HotplugJakob Bornecrantz
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-06oops initialise variable to falseDave 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-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-26fb: make fb interface use user mode attach/detach for adding modesDave Airlie
2007-11-26add _ioctl to the end of two more ioctlsDave Airlie
2007-11-26drm: make fb modes use usermode add/remove interfaceDave Airlie
this stops usermode from getting a mode in the crtc it can't make sense off.
2007-11-16Fix typo in copy_to_user callsJesse Barnes
We want to copy to card_res->modes + copied, not &card_res->modes + copied.
2007-11-15Use user copy routines for writing modes & ids back to userspaceJesse Barnes
Since the drm_mode_card_res structure contains user pointers, we have to use put_user and copy_to_user to write stuff out. The DRM ioctl wrapper will only take care of copying the base drm_mode_card_res struct, not the included arrays.
2007-11-15drm: send correct fb id to userspaceDave Airlie