summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-04-20Add a mode name generation wrapper to make name format changes easier.Jesse Barnes
2007-04-20Initialize rwlock using rwlock_init to appease lockdep validator.Kristian Høgsberg
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-18Document main drm_crtc.c functions, and rename drm_crtc_mode_create toJesse Barnes
drm_mode_create to be consistent with the other functions. Also document where we need locking fixes and what the locks are for.
2007-04-18Shouldn't free the mode here. It's done later on.Alan Hourihane
2007-04-18Fix return statusAlan Hourihane
2007-04-18Fix build problemAlan Hourihane
2007-04-18free the duplicated mode.Alan Hourihane
2007-04-18When no valid EDID modes are available, we bail.Alan Hourihane
This snippet adds a standard 640x480 @ 60Hz mode when that occurs, so we can continue with a basic mode. Should we do this here though ???
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-18make sure TMDS gets a crtcDave Airlie
2007-04-18Merge branch 'origin' into modesetting-101Dave Airlie
Conflicts: linux-core/drm_bo.c Merge in changes from master from Thomas fixiing TTM problems
2007-04-17Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm ↵Jesse Barnes
into origin/modesetting-101
2007-04-17Just use drm_output_destroy to cleanup LVDS failures. It'll call our cleanupJesse Barnes
routine, which will take care of freeing our dev_priv and i2c ddc bus.
2007-04-18don't crash if no desired modeDave Airlie
2007-04-18backout alanh's broken commitDave Airlie
2007-04-18clean up ring buffer and TTM in i915_driver_unloadDavid Airlie
I've commented out the framebuffer for now
2007-04-17Add framebuffer bo freeing to drm_mode_config_cleanup (seems like the bestJesse Barnes
place for now).
2007-04-17Lvds now power up backlight on commitJakob Bornecrantz
Now saves previous power level in prepare and sets that power level in commit, should power level be 0 it will set maximum level.
2007-04-17Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm ↵Jesse Barnes
into origin/modesetting-101 Conflicts: shared-core/i915_init.c - reconcile with airlied's new code
2007-04-17Move initial framebuffer allocation and configuration to drm_initial_config,Jesse Barnes
remove i915_driver_load fb related stuff. Add a small helper for setting up outputs.
2007-04-17Cleanup whitespace, rename macro argument.Jesse Barnes
2007-04-17Add prototypes for drm_bo_init_mm and drm_buffer_object_create for use byJesse Barnes
in-kernel code.
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-17Fix SDVO outputsAlan Hourihane
2007-04-17Correct PCI ID for i845Alan Hourihane
2007-04-17Don't always free up memory space when we unpin buffers.Thomas Hellstrom
2007-04-17Fix buffer object reference problems.Thomas Hellstrom
(Reported by Dave Airlie).
2007-04-17I don't think this dec is necessary and my stuff all works without ..Dave Airlie
with it everything falls over
2007-04-17add some missing export symbolsDave Airlie
2007-04-17another large overhaul of interactions with userspace...Dave Airlie
We need to keep a list of user created fbs to nuke on master exit. We also need to use the bo properly.
2007-04-17via: Make sure we flush write-combining using a follow-up read.Thomas Hellstrom
2007-04-17Add a code comment.Thomas Hellstrom
2007-04-16Fix offset should from pci device addressJakob Bornecrantz
2007-04-16Require the hardware lock for buffer creationThomas Hellstrom
(since that implies a validate). Fix drm_bo_wait_unfenced error messages and codes. Fix some return codes from libdrm.
2007-04-14Use drm_mem_reg_ioremap to map buffer object.Jesse Barnes
2007-04-14Fix PRIV0 memory initialization (mm_init takes pages, not bytes), align fbJesse Barnes
allocation correctly, and use drm_mem_reg_iomap to map ring buffer object.
2007-04-13Added debug messages so we know which output we are dealing withJakob Bornecrantz
2007-04-13i915/drm: clean up a lot of the i915/drm startup/teardown sequencesDavid Airlie
When the kernel driver is loaded it sets up a lot of stuff.. it tears down the same stuff on unload. This add a new map type called DRM_DRIVER which means the driver will clean the mapping up and fix up the map cleaner
2007-04-13export drm_bo_driver_finish symbolDavid Airlie
2007-04-13revert LVDS destroy - this oops on sysfs on sdvo init of i2c busDavid Airlie
2007-04-12Move driver load call to after AGP init, in case the load routine needs AGP ↵Jesse Barnes
stuff.
2007-04-12Oops, forgot to push the msleep() in the hotplug test. Wouldn't want toJesse Barnes
spin in the kernel for a whole second w/o it...
2007-04-12Use crtc_from_pipe call in intel_lvds.c and add get_mode panel mode ↵Jesse Barnes
detection. Also fix up error case for when LVDS mode can't be determined. Leave placeholder code in place for BIOS mode probing and platform quirks.
2007-04-12Add new function for getting a CRTC pointer given a pipe number.Jesse Barnes
2007-04-12Fix 945+ hotplug detection, remove some unused variables.Jesse Barnes