Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-11 | Merge commit 'origin/drm-gem' into modesetting-gem | Jesse Barnes | |
Use new GEM based ring buffer initialization. Still need to init GEM & use it for framebuffer allocation etc. Conflicts: shared-core/i915_dma.c shared-core/i915_drv.h | |||
2008-06-10 | [intel] Fix BUG_ON trigger in irq masking if you did on/off with irqs disabled. | Eric Anholt | |
2008-06-10 | [gem] Manage the ringbuffer from the kernel in the GEM case. | Eric Anholt | |
This requires that the X Server use the execbuf interface for buffer submission, as it no longer has direct access to the ring. This is therefore a flag day for the gem interface. This also adds enter/leavevt ioctls for use by the X Server. These would get stubbed out in a modesetting implementation, but are required while in an environment where the device's state is only managed by the DRM while X has the VT. | |||
2008-06-10 | Merge commit 'origin/drm-gem' into modesetting-gem | Jesse Barnes | |
Passed the compile test; it's ready to ship. Conflicts: libdrm/Makefile.am linux-core/Makefile.kernel linux-core/drmP.h linux-core/drm_memrange.c linux-core/drm_stub.c shared-core/drm.h shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c | |||
2008-06-09 | Add EDID quirk handling | Jesse Barnes | |
Port over EDID quirks from X.Org so we can handle more monitors. This meant adding size info to the drm_display_mode struct, but other than that the changes were isolated to the DRM EDID handling code (as they should be). | |||
2008-06-06 | [gem] Don't forget to munmap in the non-bo-reuse object-freeing case. | Eric Anholt | |
2008-06-06 | [intel] remove settable use_mi_batchbuffer_start | Keith Packard | |
The driver can know what hardware requires MI_BATCH_BUFFER vs MI_BATCH_BUFFER_START; there's no reason to let user mode configure this. | |||
2008-06-06 | [intel] remove settable use_mi_batchbuffer_start | Keith Packard | |
The driver can know what hardware requires MI_BATCH_BUFFER vs MI_BATCH_BUFFER_START; there's no reason to let user mode configure this. | |||
2008-06-06 | [intel-gem] Use timers to retire requests periodically. | Keith Packard | |
Without the user IRQ running constantly, there's no wakeup when the ring empties to go retire requests and free buffers. Use a 1 second timer to make that happen more often. | |||
2008-06-06 | [intel] free the hardware status page at driver_unload | Keith Packard | |
This goes with the other hardware status page patch. | |||
2008-06-06 | [intel-gem] Add explicit throttle ioctl | Keith Packard | |
Instead of throttling and execbuffer time, have the application ask to throttle explicitly. This allows the throttle to happen less often, and without holding the DRM lock. | |||
2008-06-06 | [libdrm/intel] Eliminate extra dri_gem_bo_bucket_entry structure | Keith Packard | |
Place the buffer reuse links right into the dri_bo_gem object. | |||
2008-06-06 | [libdrm/intel] Remove unused intel_validate_entry structure | Keith Packard | |
2008-06-06 | [libdrm/intel] Reuse entire dri_bo_gem structure | Keith Packard | |
The code was discarding the dri_bo_gem structure and saving only the kernel handle. This lost the mmap address, causing pain when the next buffer user wanted to map the buffer. | |||
2008-06-06 | [intel] Allocate hardware status page at driver load time | Keith Packard | |
I couldn't get the re-allocated HWS to work on my 965GM, so I just gave up and made it persist across the lifetime of the driver instead. | |||
2008-06-06 | Ignore X server provided mmio address | Keith Packard | |
2008-06-06 | [intel-gem] Dump error status on wait_request failure | Keith Packard | |
2008-06-06 | drm: fix up fb resize again | Dave Airlie | |
2008-06-06 | intel: don't set the mode on the framebuffer if isn't set to scanout our ↵ | Dave Airlie | |
framebuffer | |||
2008-06-06 | Merge remote branch 'origin/modesetting-101' into modesetting-101-fb | Dave Airlie | |
2008-06-06 | intelfb: add multi fb paths | Dave Airlie | |
2008-06-06 | intelfb: remove duplicate define | Dave Airlie | |
2008-06-06 | intelfb: admit fbdev is crap and punt on trying to resize to a larger fbdev. | Dave Airlie | |
2008-06-06 | intelfb: move mode sets into the intel crtcs | Dave Airlie | |
better place to store them. | |||
2008-06-06 | drm/intel: make hotplug just be an event | Dave Airlie | |
2008-06-06 | intel: if no spare crtc exists don't just take one. | Dave Airlie | |
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. |