summaryrefslogtreecommitdiff
path: root/linux-core/drm_modes.c
AgeCommit message (Collapse)Author
2007-05-18Add locking. The main lock is dev->mode_config.config_lock. It should beJesse Barnes
held across any operations that modify mode lists, crtc config, output config, etc. It should be taken at high level entry points (currently just initial config and user IOCTL). Seems to work ok on my system, but needs more testing (with lockdep) and review from some fresh eyes.
2007-05-01fix unusued variableDave Airlie
2007-04-23drm: make mode numbers no change by comparing probed modesDave Airlie
The mode list sets all the output modes to UNVERIFIED, then probes a new list, If a mode is on the new list and not on the old, it adds it to the old, if a mode is on the new list and old, it just updates the status to the new mode status. If a mode is on the old list and not on the new, prune invalid modes should remove all UNVERIFIED modes
2007-04-23fixup vrefresh reporting, it should now be *1000 in userspaceDave Airlie
2007-04-20Document drm_modes.c functions.Jesse Barnes
2007-04-20Add a mode name generation wrapper to make name format changes easier.Jesse Barnes
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-12Whitespace cleanupJesse Barnes
2007-04-11fixup calculation to make sdvo workDavid Airlie
2007-04-10fixup numerous issues with adding framebuffer supportDavid Airlie
This still isn't perfect but it fixes a few oopses and cleans up some of the tabs and bugs in the original fb limit code
2007-04-09Fix refresh calculation (mistakenly removed 1000 factor needed for integer ↵Jesse Barnes
calulations, fixed mode printout debugging routine instead).
2007-04-07document drm_mode_duplicate and fix vrefresh calculation (off by 1000 error)Jesse Barnes
2007-04-05Add required permission notices for code copied from X.Org source.Eric Anholt
2007-04-05initial userspace interface to get modesDave Airlie
2007-04-05Initial import of modesetting for intel driver in DRMDave Airlie