Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-05 | sysfs registration/teardown fixups | Jesse Barnes | |
A check in drm_sysfs_connector_remove was supposed to allow it to be called even with unregistered objects, to make cleanup paths a little simpler. However, device_is_regsitered didn't always seem to return what we thought it would, so we'd sometimes end up leaving objects lying around rather than unregistering them. Fix this situation up by requiring devices to be registered before being removed. Any problems resulting from this change should be easier to track down than the alternative (which is leaving kobjects registered after unload). | |||
2008-06-05 | Add a function to bufmgr_fake to evict all buffers in the GTT. | Eric Anholt | |
This will be used by the X Server for VT switch. | |||
2008-06-05 | drm/modeset: add more debugging and fixup some fb enable/disabe bits | Dave Airlie | |
2008-06-05 | drm/modesetting: more fb interface cleanups | Dave Airlie | |
2008-06-05 | drm/modesetting: attempt to make fb code more sane | Dave Airlie | |
2008-06-05 | drm: modesetting unify the hotplug init paths a lot. | Dave Airlie | |
remove fb callbacks, just probe into the driver to sort it out | |||
2008-06-05 | modesetting: fix fb clearing up | Dave Airlie | |
2008-06-05 | modesetting: use surface width height for buffer allocs | Dave Airlie | |
2008-06-05 | modesetting: add surface width/heights | Dave Airlie | |
2008-06-05 | modesetting: initial attempt at debonging fb | Dave Airlie | |
2008-06-04 | i915: use kzalloc to allocate intel_output for lvds | Jesse Barnes | |
Better to initialize all the struct fields to 0. Also more consistent with other output init routines. | |||
2008-06-04 | Fix crash in drm_mode_connector_update_edid_property | Jesse Barnes | |
We need to initialize the edid_blob_ptr to NULL when we init a connector, otherwise drm_mode_connector_update_edid_property may think there's a valid EDID lying around and try to destroy it, causing a crash. | |||
2008-06-04 | drm: fix hotplug oops | Dave Airlie | |
2008-06-04 | intel: report a known connector | Dave Airlie | |
2008-06-03 | Drop struct_mutex while waiting in drm_client_lock_take | Keith Packard | |
struct_mutex cannot be held while blocking on DRM lock. | |||
2008-06-04 | libdrm: shouldn't rely on this | Dave Airlie | |
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-03 | Fix libdrm to actually include the new code instead of just building it. | Eric Anholt | |
2008-06-03 | Fix and hook up bufmgr code to the build. | Eric Anholt | |
2008-06-03 | Import bufmgr code to libdrm. Not yet hooked up to the build. | Eric Anholt | |
2008-06-02 | [intel-gem] reloc_and_validate_object → object_bind_and_relocate | Keith Packard | |
Just renaming this function and related parameters to match terminology used elsewhere in the driver. | |||
2008-06-02 | [intel-gem] Propagate set_domain errors. | Keith Packard | |
set_domain can block waiting for rendering to complete. If that process is interrupted by a signal, it can return -EINTR. Catch this error in all callers and correctly deal with the result. | |||
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 | Merge commit 'origin/master' into drm-gem | Eric Anholt | |
Conflicts: linux-core/Makefile.kernel shared-core/i915_drv.h shared-core/nouveau_state.c | |||
2008-05-30 | [intel-gem] Only update obj->write_domain if we're actually changing it. | Eric Anholt | |
The problem was revealed where on 965, the display list vertex buffer would see: create -> (CPU, CPU) set_domain (CPU, CPU) -> (CPU, CPU) set_comain (CPU, 0) -> (CPU, 0) (no clflush occurred) execbuf (GPU, 0) -> (CPU+GPU, 0) (still no clflush) instead of: create -> (CPU, CPU) set_domain (CPU, CPU) -> (CPU, CPU) set_comain (CPU, 0) -> (CPU, CPU) execbuf (GPU, 0) -> (CPU+GPU, 0) (clflushed) | |||
2008-05-30 | [intel-gem] Add an option to check GTT versus CPU coherency at execbuf time. | Eric Anholt | |
2008-05-30 | Fix ivch i2c read function to use the "special" i2c format. | Kristian Høgsberg | |
2008-05-30 | r500: attempt to make AGP work by programming agp base in the MC correctly | Dave Airlie | |
2008-05-30 | drm: switch possible crtc/clones over to encoders | Dave Airlie | |
2008-05-30 | modesetting: drop crtcs/clones from the connectors | 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 |