summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.c
AgeCommit message (Collapse)Author
2007-05-01cleanup usermodes on drm mode setting shutdownDave Airlie
2007-05-01Add support for user defined modesDave Airlie
This allows userspace to specify modes and add them to the modesetting system and attach modes to outputs
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-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 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-18make sure TMDS gets a crtcDave Airlie
2007-04-18don't crash if no desired modeDave Airlie
2007-04-17Add framebuffer bo freeing to drm_mode_config_cleanup (seems like the bestJesse Barnes
place for now).
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-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-13Added debug messages so we know which output we are dealing withJakob Bornecrantz
2007-04-12Use drm_framebuffer instead of drm_crtc for fb & fbtAlan Hourihane
2007-04-12cleanup framebuffers on drm unloadDave Airlie
2007-04-12set bracing style like LinuxDave Airlie
2007-04-12fix unbalanced lock and make sure mode list has modes so lvds code doesn't crashDave Airlie
2007-04-12allow framebuffer changes on the crtc setupDave Airlie
2007-04-12add getfb ioctlDave Airlie
2007-04-11Various changes for in-kernel modesetting:Jesse Barnes
- allow drm_buffer_object_create to be called w/o dev_mapping - fixup i915 init code to allocate memory, fb and set modes right - pass fb to drm_initial_config for setup - change some debug output to make it easier to spot - fixup lvds code to use DDC probing correctly
2007-04-11add support for setting a framebuffer depthDavid Airlie
2007-04-11add initial drm_fb framebufferDave Airlie
So far I can load fbcon, once I use my miniglx to add a framebuffer. fbcon doesn't show anything on screen but baby steps and all that.
2007-04-11add an fb count + id get to the get resources code pathDavid Airlie
2007-04-10Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm ↵Jesse Barnes
into origin/modesetting-101 Conflicts: linux-core/drm_crtc.c - trivial merge linux-core/drm_crtc.h - trivial merge linux-core/intel_display.c - crtc_config -> mode_config shared-core/i915_dma.c - accommodate new init code in i915_init.c
2007-04-10Remove some debug #if 0 codes and add a reminder to check locking aroundJesse Barnes
output enumeration stuff.
2007-04-10export output name to userspaceDavid 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-10mode: fixup problems with framebuffer add functionDavid Airlie
2007-04-10make crtc_config be named mode_configDave Airlie
X.org calls this crtc_config but this is a bad name and will confuse ppl later (and me now :-)
2007-04-10add addfb/rmfb ioctlsJakob Bornecrantz
Originally from Jakob, cleaned up by airlied.
2007-04-07make drmP.h include drm_crtc.h for CRTC related stuff.Jesse Barnes
fixup drm_crtc.c so it matches VGA and other outputs properly. make drm_crtc.c less verbose. add function declarations in drm_crtc.h for other files.
2007-04-05checkpoint commit: implement SetCrtc so modes can in theory be set from userDave Airlie
This hooks up the userspace mode set it "seems" to work.
2007-04-05checkpoint commit: added getresources, crtc and outputDave Airlie
This adds the user interfaces from Jakob and hooks them up for 3 ioctls GetResources, GetCrtc and GetOutput. I've made the ids for everything fbs, crtcs, outputs and modes go via idr as per krh's suggestion on irc as it make the code nice and consistent.
2007-04-05initial userspace interface to get modesDave Airlie
2007-04-05Initial import of modesetting for intel driver in DRMDave Airlie