summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-02-13Revert "After the previous revert fix libdrm to start at minor 1"Dave Airlie
This reverts commit f51dc37d75b0b1b8e5636f8f2c201e29986517ea. Conflicts: tests/modedemo/demo.c
2008-02-13drm: re-write minor number allocation to use an idr.Dave Airlie
Fixup the minor number allocation scheme to use an idr and move the control nodes up higher.
2008-02-09radeon_ms: bring radeon_ms up to date with lastest changesJerome Glisse
2008-02-07Restore pipeconf regs unconditionallyJesse Barnes
On many chipsets, the checks for DPLL enable or VGA mode will prevent the pipeconf regs from being restored, which could result in a blank display or X failing to come back after resume. So restore them unconditionally along with actually restoring pipe B's palette correctly.
2008-02-07Added you can now clone displays in modedemoJakob Bornecrantz
2008-02-07After the previous revert fix libdrm to start at minor 1Alan Hourihane
and fixup the demos
2008-02-07Revert "DRM_CONTROL_ALLOW logic was reversed"Alan Hourihane
This reverts commit 7af1bb874d9b8b1b8760ad200cee587c41c23434.
2008-02-07Fix saveGR array sizeJesse Barnes
Make sure we have enough room for all the GR registers or we'll end up clobbering the AR index register (which should actually be harmless unless the BIOS is making an assumption about it).
2008-02-07i915: save/restore interrupt stateJesse Barnes
On resume, if the interrupt state isn't restored correctly, we may end up with a flood of unexpected or ill-timed interrupts, which could cause the kernel to disable the interrupt or vblank events to happen at the wrong time. So save/restore them properly.
2008-02-07Fix vblank enable/disable callbacksJesse Barnes
There were two problems with the existing callback code: the vblank enable callback happened multiple times per disable, making drivers more complex than they had to be, and there was a race between the final decrement of the vblank usage counter and the next enable call, which could have resulted in a put->schedule disable->get->enable->disable sequence, which would be bad. So add a new vblank_enabled array to track vblank enable on per-pipe basis, and add a lock to protect it along with the refcount + enable/disable calls to fix the race.
2008-02-07Wrong open callJakob Bornecrantz
2008-02-07Added userspace part of hotplug ioctl and demoJakob Bornecrantz
2008-02-07Added kernel part of hotplug ioctlJakob Bornecrantz
2008-02-07Added hotplug ioctlJakob Bornecrantz
2008-02-07Small update to modedemoJakob Bornecrantz
2008-02-05update app to cycle through 4 fbdev'sAlan Hourihane
2008-02-05tweak itAlan Hourihane
2008-02-05make modefb/modedemo match each others test output.Alan Hourihane
2008-02-05consistencyAlan Hourihane
2008-02-05DRM_CONTROL_ALLOW logic was reversedAlan Hourihane
2008-02-05build fix for older kernelsAlan Hourihane
2008-02-05fix some warningsAlan Hourihane
2008-02-05build fix for older kernelsAlan Hourihane
2008-02-05Fix function declarationAlan Hourihane
2008-02-05Add missing round_jiffies_relative() for older kernelsAlan Hourihane
2008-02-05i915: Re-report breadcrumbs on poll to the fence manager,Thomas Hellstrom
since a breadcrumb may actually turn up before a corresponding fence object has been placed on the fence ring.
2008-02-05consistencyAlan Hourihane
2008-02-05Remove duplicateAlan Hourihane
2008-02-04Modedemo now uses two crtc and output pairsJakob Bornecrantz
2008-02-04nouveau: make nv34 work every time, not just every 2nd timeStuart Bennett
And make nv30_graph_init a bit more like mmio-traces
2008-02-02nouveau: NV40 can/should now be able to run after the blob.Maarten Maathuis
- Moved the fix from the ddx to drm, because it seemed more appropriate. - Don't be shy, report if it works for you or not.
2008-01-31Add an fence_class_manager::last_queued_sequence member, since aThomas Hellstrom
sequence number may actually turn up before the corresponding fence object has been queued on the ring. Fence drivers can use this member to determine whether a sequence number must be re-reported.
2008-01-30i915: Avoid calling drm_fence_flush_old excessively.Thomas Hellstrom
2008-01-30Simplify the fencing code and differentiate between flushes andThomas Hellstrom
waiting types. Add a "command_stream_barrier" method to the bo driver.
2008-01-30Fix for cursor offJakob Bornecrantz
2008-01-30ModeFB demo now display cursorJakob Bornecrantz
2008-01-30nv40: some more nv67 changesBen Skeggs
With some luck the drm-side will be OK now for this chipset.
2008-01-29Add new RV380 pci idMirko
bug 14289
2008-01-28Fix hibernate save/restore of VGA attribute regsJesse Barnes
In hibernate, we may end up calling the VGA save regs function twice, so we need to make sure it's idempotent. That means leaving ARX in index mode after the first save operation. Fixes hibernate on 965.
2008-01-28Misc panning fixes for intel_fbJakob Bornecrantz
2008-01-28Added cursor supportJakob Bornecrantz
2008-01-27drm: add initial rs690 support for drm.Maciej Cencora
This adds support for configuring the RS690 GART.
2008-01-25mach64: fix after vblank-reworkGeorge Sapountzis
don't disable vblank interrupts (similar to r128)
2008-01-25if irq already enabled well just keep truckingDave Airlie
2008-01-25don't reinit ring if already initialisedDave Airlie
2008-01-25Merge remote branch 'origin/master' into modesetting-101Dave Airlie
Conflicts: linux-core/drm_bo.c linux-core/drm_drv.c shared-core/drm.h shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c shared-core/radeon_irq.c
2008-01-24Fixup modeset ioctl number & typedef usageJesse Barnes
Should be 0x08 rather than 0xa0, and shouldn't use typedefs.
2008-01-24Merge commit 'airlied/i915-ttm-cfu'Eric Anholt
This requires updated Mesa to handle the new relocation format.
2008-01-24Remove broken 'in vblank' accountingJesse Barnes
We need to return an accurate vblank count to the callers of ->get_vblank_counter, and in the Intel case the actual frame count register isn't udpated until the next active line is displayed, so we need to return one more than the frame count register if we're currently in a vblank period. However, none of the various ways of doing this is working yet, so disable the logic for now. This may result in a few missed events, but should fix the hangs some people have seen due to the current code tripping the wraparound logic in drm_update_vblank_count.
2008-01-24i915: fix missing header when copying data from userspaceDave Airlie