summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.c
AgeCommit message (Collapse)Author
2008-06-05drm/modesetting: attempt to make fb code more saneDave Airlie
2008-06-04drm: introduce generation counter to interface.Dave Airlie
Idea being if you want to add new crtc/output/encoder dynamically later, you just increase the generation counter and userspace should re-read all the resources
2008-06-04drm/modesetting: bo not used anymoreDave Airlie
2008-06-04drm: remove sysfs in driver for now.. should probably be in helperDave Airlie
2008-06-04drm/modesetting: pass object handle to driver !boDave Airlie
2008-06-04drm/modesetting: overhaul the fb create/delete.Dave Airlie
Move TTM code into the driver
2008-06-02drm: initial mode object groups.Dave Airlie
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-06-02drm/modesetting: redo object handles around a core object.Dave Airlie
handle crtc/encoders/connectors/fb/mode/property/blob using this system.
2008-06-02drm: only report framebuffers available on this fd.Dave Airlie
Not 100% sure this is a good idea, but I think I'd rather things communicate with bo handles not fb ids.
2008-06-02drm: add functions to get/set gamma rampsDave Airlie
2008-06-02drm/modesetting: add best encoder finding for modesettingDave Airlie
This asks the driver to suggest the best encoder for the connector during the pick crtcs stage. Need to also do this during mode setting stages
2008-06-02drm/modesetting: move some connector functions to helper.Dave Airlie
Migrated the output mode collection into the helper.
2008-06-02drm: fixup some interfaces so test code works againDave Airlie
2008-06-02drm/modesetting: another re-org of some internals.Dave Airlie
Move dpms into the helper functions. Move crtc into the encoder. Move disable unused functions into the helper.
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: attach an encoder.Dave Airlie
Time to do some renaming on the connectors I think
2008-05-30drm: add encoder attach/detachDave Airlie
2008-05-30drm: init the encoder list/countDave Airlie
2008-05-30drm: add red hat copyright.Dave Airlie
2008-05-30drm: add encoder ids to the output handlingDave Airlie
2008-05-30drm: add encoder / get encoder to the modesetting resources interfaceDave Airlie
2008-05-30drm/modesetting: add initial encoder structures and setup functionsDave Airlie
2008-05-30modesetting: reorganise out crtc/outputs are allocated.Dave Airlie
Use subclassing from the drivers to allocate the objects. This saves two objects being allocated for each crtc/output and generally makes exit paths cleaner.
2008-05-29modesetting: reorganise code into core and helper functions.Dave Airlie
This splits a lot of the core modesetting code out into a file of helper functions, that are only called from themselves and/or the driver. The driver gets called into more often or can call these functions from itself if it is a helper using driver. I've broken framebuffer resize doing this but I didn't like the API for that in any case.
2008-05-23drm_mode_debug_printmodeline doesn't need struct drm_device *Jesse Barnes
Makes printing modelines from some routines easier.
2008-05-12fix kernel oops when removing fbHong Liu
drm_crtc->fb may point to NULL, f.e X server will allocate a new fb and assign it to the CRTC at startup, when X server exits, it will destroy the allocated fb, making drm_crtc->fb points to NULL.
2008-05-08i915: Changed intel_fb to use the new drm_crtc_set_config interfaceJakob Bornecrantz
2008-05-08drm: Made set_config use drm_mode_set as a argumentJakob Bornecrantz
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