summaryrefslogtreecommitdiff
path: root/linux-core/intel_sdvo.c
AgeCommit message (Collapse)Author
2008-06-05sysfs registration/teardown fixupsJesse Barnes
A check in drm_sysfs_connector_remove was supposed to allow it to be called even with unregistered objects, to make cleanup paths a little simpler. However, device_is_regsitered didn't always seem to return what we thought it would, so we'd sometimes end up leaving objects lying around rather than unregistering them. Fix this situation up by requiring devices to be registered before being removed. Any problems resulting from this change should be easier to track down than the alternative (which is leaving kobjects registered after unload).
2008-06-04drm: remove sysfs in driver for now.. should probably be in helperDave 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/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-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-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-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-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.
2007-12-18Merge branch 'modesetting-airlied' into modesetting-101Dave 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-09-27Add some more checks to modelist walking for matchingAlan Hourihane
incoming modes to current modelist.
2007-09-24Cleanup SDVO debug outputJesse Barnes
SDVO debug messages were incorrectly including severity prefixes in each print rather than each unique line. Fix it up.
2007-09-24Merge branch 'master' into modesetting-101 - TTM & typedef removalJesse Barnes
Conflicts: linux-core/drmP.h linux-core/drm_bo.c linux-core/drm_drv.c linux-core/drm_objects.h shared-core/drm.h shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c Mostly removing typedefs that snuck into the modesetting code and updating to the latest TTM APIs. As of today, the i915 driver builds, but there are likely to be problems, so debugging and bugfixes will come next.
2007-05-18Change some printk's to DRM_DEBUG'sAlan Hourihane
2007-05-17Large changes for fbdev support.root
Change from DIRECTCOLOR to TRUECOLOR, and enable support for PSEUDOCOLOR. DIRECTCOLOR support needs more work. Add the ability to change the mode on the fbdev device. Support depth 8, 15, 16 and 24 (and 32). Add a /dev/fbX device per CRTC, but there's some code which doesn't allocate the fbX device unless the output is actually enabled. Read the code on this as it impacts the fbcon map flags. Pick CRTC's based on the available outputs. More work could be done here to match modes, so cloning could be achieved on outputs. This fits more inline with what the X code does.
2007-05-10Just some minor cleanups.Alan Hourihane
2007-04-20Clean up and return if no outputs are found.Kristian Høgsberg
2007-04-19backout SDVO control bus check and comment why this is a bad ideaDave Airlie
2007-04-18Fix return statusAlan Hourihane
2007-04-18Merge remote branch 'origin/modesetting-101' into modesetting-101Alan Hourihane
2007-04-18Support the RGB outputs of SDVO cards, which are essentiallyAlan Hourihane
VGA outs. The drm_initial_config path has specific handling code to name match for VGA, TMDS or LVDS. This is pretty restrictive and should probably be dealt with to be more generic.
2007-04-18Check status after SDVO command for sdvo_set_control_bus_switchAlan Hourihane
2007-04-18Move SDVO PENDING check to read_response so all SDVO commandsAlan Hourihane
benefit from the spin loop.
2007-04-18backout alanh's broken commitDave Airlie
2007-04-17Fix a register read that was swapped SDVOB/SDVOCAlan Hourihane
Check for the PENDING message when reading the attached displays. Ensures the command has completed before continuing. (probably need to check PENDING in other SDVO calls too)
2007-04-10add sdvo debugging outputDavid Airlie
2007-04-10fixup true/false in intel_sdvo.cDavid Airlie
2007-04-05Add required permission notices for code copied from X.Org source.Eric Anholt
2007-04-05Initial import of modesetting for intel driver in DRMDave Airlie