Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-04 | drm: introduce generation counter to interface. | Dave Airlie | |
Idea being if you want to add new crtc/output/encoder dynamically later, you just increase the generation counter and userspace should re-read all the resources | |||
2008-06-04 | drm/sysfs: don't try an unregister if not registered | Dave Airlie | |
2008-06-04 | intel: use kzalloc | Dave Airlie | |
2008-06-04 | drm/modesetting: bo not used anymore | Dave Airlie | |
2008-06-04 | drm: remove sysfs in driver for now.. should probably be in helper | Dave Airlie | |
2008-06-04 | drm/modesetting: pass object handle to driver !bo | Dave Airlie | |
2008-06-04 | drm/modesetting: overhaul the fb create/delete. | Dave Airlie | |
Move TTM code into the driver | |||
2008-06-04 | drm: make mode comparison more betterer. | Dave Airlie | |
This compares the clocks after converting to fb pico timings so we get the same answer if the X and fb modes are the same. | |||
2008-06-02 | more checks for NULL encoder so we don't segfault. | Alan Hourihane | |
2008-06-02 | Fix warnings | Alan Hourihane | |
2008-06-02 | drm: initial mode object groups. | Dave Airlie | |
This creates a default group attached to the legacy drm minor nodes. It covers all the objects in the set. make set resources only return objects for this set. Need to fix up other functions to only work on objects in their allowed set. | |||
2008-06-02 | drm/modesetting: redo object handles around a core object. | Dave Airlie | |
handle crtc/encoders/connectors/fb/mode/property/blob using this system. | |||
2008-06-02 | drm: only report framebuffers available on this fd. | Dave Airlie | |
Not 100% sure this is a good idea, but I think I'd rather things communicate with bo handles not fb ids. | |||
2008-06-02 | drm: add functions to get/set gamma ramps | Dave Airlie | |
2008-06-02 | Merge branch 'modesetting-101-encoders' into modesetting-101 | Dave Airlie | |
2008-06-02 | drm: fixup encoder picking in set_config stage | Dave Airlie | |
2008-06-02 | drm/modesetting: add best encoder finding for modesetting | Dave 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-02 | drm/modesetting: move some connector functions to helper. | Dave Airlie | |
Migrated the output mode collection into the helper. | |||
2008-06-02 | drm: fixup some interfaces so test code works again | Dave Airlie | |
2008-06-02 | drm/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-30 | Fix ivch i2c read function to use the "special" i2c format. | Kristian Høgsberg | |
2008-05-30 | drm: switch possible crtc/clones over to encoders | Dave Airlie | |
2008-05-30 | modesetting: 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-30 | drm: attach an encoder. | Dave Airlie | |
Time to do some renaming on the connectors I think | |||
2008-05-30 | drm: add encoder attach/detach | Dave Airlie | |
2008-05-30 | drm: init the encoder list/count | Dave Airlie | |
2008-05-30 | drm: add red hat copyright. | Dave Airlie | |
2008-05-30 | drm: add encoder ids to the output handling | Dave Airlie | |
2008-05-30 | drm: add encoder / get encoder to the modesetting resources interface | Dave Airlie | |
2008-05-30 | drm: remove unused init func from outputs | Dave Airlie | |
2008-05-30 | drm/modesetting: add initial encoder structures and setup functions | Dave Airlie | |
2008-05-30 | modesetting: 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-29 | modesetting: 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-05-29 | modeset: disable radeon ms by default | Dave Airlie | |
as I'm going to break it. | |||
2008-05-28 | Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into ↵ | Alan Hourihane | |
modesetting-101 Conflicts: shared-core/i915_dma.c shared-core/i915_drv.h | |||
2008-05-28 | i915: unmap BIOS when we're done with it | Jesse Barnes | |
At the moment, we only read it at startup time, so we can just unmap it there when we're done. | |||
2008-05-28 | radeon: split microcode out into a separate header file. | Dave Airlie | |
2008-05-23 | i915: do a better job of parsing VBIOS data | Jesse Barnes | |
Add code to get panel modes from the VBIOS if present and check whether certain outputs exist. Should make our display detection code a little more robust. | |||
2008-05-23 | drm_mode_debug_printmodeline doesn't need struct drm_device * | Jesse Barnes | |
Makes printing modelines from some routines easier. | |||
2008-05-22 | i915: check dummy page before freeing | Hong Liu | |
The dummy read page will point to NULL if drm_bo_driver_init failed at firstopen (modeset is not enabled), and will cause kernel oops at subsequent drm_lastclose call, so be sure to check it. | |||
2008-05-14 | ati_pcigart: oops wrong way around not that it actually mattered | Dave Airlie | |
2008-05-14 | ati_pcigart: stop working in the evenings you mess up too often | Dave Airlie | |
2008-05-14 | Revert "ati_pcigart: fixup properly this version might even work" | Dave Airlie | |
This reverts commit bc0836e12a9790f1cc83f8bc29bc05043c4bc840. tree has some kref hacks in it - oops | |||
2008-05-14 | ati_pcigart: fixup properly this version might even work | Dave Airlie | |
2008-05-14 | ati_pcigart: fill out 40-bit gart table support properly | Dave Airlie | |
Thanks to Alex for supplying this info. | |||
2008-05-13 | i915: register definition & header file cleanup | Jesse Barnes | |
It would be nice if one day the DRM driver was the canonical source for register definitions and core macros. To that end, this patch cleans things up quite a bit, removing redundant definitions (some with different names referring to the same register) and generally tidying up the header file. | |||
2008-05-12 | i915: TV hotplug fixes | Jesse Barnes | |
In order to avoid recursive ->detect->interrupt->detect->interrupt->... we need to disable TV hotplug interrupts in intel_tv.c:intel_tv_detect_type. We also need to enable the TV interrupt detection and hotplug sequence properly in i915_irq.c. | |||
2008-05-12 | fix kernel oops when removing fb | Hong Liu | |
drm_crtc->fb may point to NULL, f.e X server will allocate a new fb and assign it to the CRTC at startup, when X server exits, it will destroy the allocated fb, making drm_crtc->fb points to NULL. | |||
2008-05-12 | free dummy read page if fail to init mm | Hong Liu | |
Since drm_bo_driver_init will be called in driver_load, we need to free what it alloced when error to avoid memory leak. | |||
2008-05-12 | drm: remove root only from a lot of drm ioctls to get stuff running as non-root | Dave Airlie | |