summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
AgeCommit message (Collapse)Author
2008-02-26Implement short circuit for base change onlyAlan Hourihane
Allow mode to be set with fb_id set to -1, meaning set the mode with the current fb (if we have one bound). Allow intelfb to hook back up it's fb if modesetting clears it (maybe temporary). Move any crtc->fb related register changes to set_base in intel_fb. General intelfb cleanups.
2008-02-22hopefully shit works now without this...Dave Airlie
2008-02-20drm/fb: get rid of offset from structure use bo offsetDave Airlie
2008-02-15i915: initial (and untested) TV out supportJesse Barnes
Ported from xf86-video-intel. Still need to tie in TV modes somehow, though preferably w/o using the properties mechanism.
2008-02-07Added kernel part of hotplug ioctlJakob Bornecrantz
2008-02-05Fix function declarationAlan Hourihane
2008-02-05consistencyAlan Hourihane
2008-01-28Added cursor supportJakob Bornecrantz
2008-01-11Panning now works without modesetJakob Bornecrantz
2007-12-18Merge branch 'modesetting-airlied' into modesetting-101Dave Airlie
2007-12-18HERE BEZ HACKZ.. magic variable to make shit workDave Airlie
2007-12-18remove output namesDave Airlie
2007-12-18Modesetting HotplugJakob Bornecrantz
2007-12-11modesetting: fixup property setting and add connector propertyDave Airlie
2007-12-11modesetting: add dpms property and initial settable property ioctlDave Airlie
2007-12-06add property blobs and edid reporting supportDave Airlie
2007-12-05arrgggh.. make all ioctl structs 32/64-bit compatible hopefully.Dave Airlie
This also starts to add blob property support. someone needs to check this work for other things like ppc/x86 alignment diffs
2007-12-03finish of mode add/remove, just have attach/detach modesDave Airlie
2007-11-27drm/modesetting: add initial gettable properites code.Dave Airlie
This allow the user to retrieve a list of properties for an output. Properties can either be 32-bit values or an enum with an associated name. Range properties are to be supported. This API is probably not all correct, I may make properties part of the general resource get when I think about it some more. So basically you can create properties and attached them to whatever outputs you want, so it should be possible to create some generics and just attach them to every output.
2007-11-26fb: make fb interface use user mode attach/detach for adding modesDave Airlie
2007-11-26add _ioctl to the end of two more ioctlsDave Airlie
2007-11-26drm: make fb modes use usermode add/remove interfaceDave Airlie
this stops usermode from getting a mode in the crtc it can't make sense off.
2007-11-16Fix connection status ABIJesse Barnes
Userspace expects a 1 based enum for connection status so fix up the kernel definition.
2007-11-15modes: pass type to userspace for preferred showingDave Airlie
2007-11-09drm: split edid handling in get_edid & add_edid_modeJerome Glisse
This way driver can get_edid in output status detection (using all workaround which are in get_edid) and then provide this edid data in get_mode callback of output.
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-07-20Changed mode config spinlock to mutexJakob Bornecrantz
2007-05-18Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm ↵Jesse Barnes
into origin/modesetting-101 Conflicts: linux-core/drm_crtc.c - reconcile with locking changes
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-18Move fbo creation to the specified fb driver which givesAlan Hourihane
it a chance to allocate the memory from whichever buffer it wants to.
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-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-20Oops, edid data should just be a char *, as edid.h is private to edid.cJesse Barnes
(we can just recombine them now).
2007-04-20Add a monitor information structure separate from the EDID data for trackingJesse Barnes
monitor limits, etc.
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-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-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 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-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-10Finish bringing in LVDS code, re-add to Makefile. Needed other changes too:Jesse Barnes
- move EDID structures to drm_edid.h - add EDID info structure to drm_output - add a few routines to intel_display for getting current mode info - add some prototypes to intel_drv.h and drm_crtc.h
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-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.