summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.c
AgeCommit message (Collapse)Author
2008-09-23Store the buffer object backing the fb as a void pointer, not a handle.Kristian Høgsberg
This lets us defer handle creation until userspace acutally asks for one, at which point we also have a drm_file to associate it with.
2008-08-12Add error checking to framebuffer creationJesse Barnes
Make the Intel routine return an error if needed and make the core check for it.
2008-07-26radeon: add initial atombios modesetting and GEM -> TTM translation layer.Dave Airlie
This is an initial import of the atom bios parser with modesetting support for r500 hw using atombios. It also includes a simple memory manager layer that translates a radeon GEM style interface onto TTM internally. So far this memory manager has only been used for pinned object allocation for the DDX to test modesetting.
2008-07-26modesetting: pass file_priv into cursor set functionsDave Airlie
2008-07-20modesetting-101: Only store property value when set_property was successful.Maarten Maathuis
2008-07-20modesetting-101: implement optional scaling and dithering propertiesMaarten Maathuis
2008-07-06modesetting-101: Rename DPMS modes to avoid compatibility issues with xorg ↵Maarten Maathuis
definitions.
2008-07-05NV50: remove edid when monitor is gone, improve fbcon, misc fixesMaarten Maathuis
- This should avoid switching crtc's when going to fbcon.
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-07-04modesetting-101: tv_left_margin_property shouldn't be immutable.Maarten Maathuis
2008-07-04Forgot the 0'th element for the tv property.Maarten Maathuis
2008-07-04[modesetting-101] Add subconnector and select_subconnector properties.Maarten Maathuis
- These facilitate DVI-I and tv-out that can drive multiple types of signals.
2008-07-04modesetting: rip out all of the generation code.Dave Airlie
not needed, hotplug will work just as well hopefully.
2008-07-03modesetting: lookup blob using correct identifier.Dave Airlie
blob is a blob not a connector
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-27[modesetting-101] Actually store properties when being changed.Maarten Maathuis
2008-06-26[modesetting-101] tab-cleanupMaarten Maathuis
2008-06-26Revert "modesetting-101: Make dpms property optional + misc cleanup."Maarten Maathuis
This reverts commit 13943fe5823c45759091c1a1f487a4abe377421e.
2008-06-26modesetting-101: Make dpms property optional + misc cleanup.Maarten Maathuis
- intel_crt seems the only one to provide it, so init it there.
2008-06-23[modesetting-101] update mode count after fill_modes.Maarten Maathuis
- This avoids returning with a mode count of 0, thus not allocating space for the 2nd ioctl.
2008-06-22NV50: Initial import of kernel modesetting.Maarten Maathuis
2008-06-06drm: fix up fb resize againDave Airlie
2008-06-06Merge remote branch 'origin/modesetting-101' into modesetting-101-fbDave Airlie
2008-06-05drm/modesetting: attempt to make fb code more saneDave Airlie
2008-06-04Fix crash in drm_mode_connector_update_edid_propertyJesse Barnes
We need to initialize the edid_blob_ptr to NULL when we init a connector, otherwise drm_mode_connector_update_edid_property may think there's a valid EDID lying around and try to destroy it, causing a crash.
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.