summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-08drm: check for NULL fb here, shouldn't happen but avoid oops for nowDave Airlie
2008-05-08drm: set crtc->fb to NULLDave Airlie
2008-05-08intel: set correct limits on screen width/height from DDXDave Airlie
2008-05-08drm: fix replacefb to change fb propertiesDave Airlie
2008-05-08drm_mode: initial replacefb implemenationDave Airlie
2008-05-08drm: fix typo from previous mergeDave Airlie
2008-05-08cursor: pass handle not BO.Dave Airlie
2008-05-08Merge remote branch 'origin/master' into modesetting-101Dave Airlie
Conflicts: linux-core/Makefile.kernel shared-core/i915_drv.h
2008-05-07drm: nopage compat fixup for drm_vmDave Airlie
The kernel has removed nopage so move the old nopage codepaths into a compat vm file and switch to using the fault paths. nopfn is on its way out in the future also, so we should switch to using fault for that path as well soon
2008-05-05r500: add allowed range for us config/pixsizeDave Airlie
2008-05-02nv50: enable 0x400500 bit 0 after PGRAPH exception alsoBen Skeggs
No solid idea about what these 2 bits do, but nv50 can now survive a few PGRAPH exceptions just as nv40 does :)
2008-05-02nouveau: guard against channels potentially not having a context, fix nv50Ben Skeggs
2008-05-02nouveau: disable all card interrupts when unknown PFIFO IRQ occurs.Ben Skeggs
This is possibly temporary. I can trigger an unending IRQ storm on G8x in some circumstances, and have no idea how to handle that particular PFIFO exception correctly yet.
2008-05-02nouveau: restore original NV_PFIFO_CACHES_REASSIGN value in fifo handlerBen Skeggs
Doesn't fix any issue I've seen, but is a potential issue if a FIFO IRQ occurs during channel creation/takedown.
2008-05-02nouveau: gather nsource in trap_info()Ben Skeggs
The IRQ handling stuff really is a mess.. On the TODO :)
2008-05-02nv50: PGRAPH exception handling completely different from earlier chipsBen Skeggs
2008-05-01nv50: I cave... Add nv84 initial context values.Ben Skeggs
I swore I'd actually do this properly and not go the horrible route we did with nv4x, but I won't get around to it just yet with so many *actually* interesting things to do first.. One day. Since someone already added nv86, why not!
2008-04-29i915: fix off by one in VGA save/restore of AR & CR regsJesse Barnes
Turns out it's important to save/restore AR14 in particular.
2008-04-29nouveau: NV9x cards exist as well.Maarten Maathuis
2008-04-28Merge branch 'master' into modesetting-101Thomas Hellstrom
Conflicts: linux-core/Makefile.kernel linux-core/drm_compat.c linux-core/drm_fops.c linux-core/drm_lock.c shared-core/drm.h shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c
2008-04-27Use fixed sized types in new ioctlsJesse Barnes
Make both crtc and the command argument 32 bits to avoid any 32-on-64 compat issues.
2008-04-26Enum-ectomy of vblank modesetting ioctlJesse Barnes
Enum can be of pretty much any size since C leaves the choice of size up to the implementation. So avoid using it in new interfaces like the vblank pre- & post-modeset ioctl. Thanks to hch for spotting this.
2008-04-23Make via compile.Kristian Høgsberg
Chase the lock to it's new location.
2008-04-23Make radeon_ms compile.Kristian Høgsberg
Remove lock functions and use pci_map_rom() instead of pci_map_rom_copy().
2008-04-23Don't disable IRQs, just tasklets, when taking the drm lock spinlock.Thomas Hellstrom
2008-04-23Fixed unlock check on EAGAINJakob Bornecrantz
2008-04-23i915: fix for compatibility modeXiang, Haihao
2008-04-22i915: allocate devname at init timeJesse Barnes
Since it'll be freed at unload time, we should alloc devname rather than pointing to the DRIVER_NAME string.
2008-04-22add sysfs entry for DVO outputHong Liu
forget to add it in the previous DVO porting patch. Signed-off-by: Hong Liu <hong.liu@intel.com>
2008-04-22clear interrupt status before install irqHong Liu
On my 865G machine, it seems the CPU will receive interrupt before irq_postinstall is called. This will cause kernel oops because vblank is not inited at that time. Clear interrupt status before install seems fixing this problem. Signed-off-by: Hong Liu <hong.liu@intel.com>
2008-04-22fix removing output_attrsHong Liu
fix a typo in removing output sysfs. Signed-off-by: Hong Liu <hong.liu@intel.com>
2008-04-22linux-core Makefile: add GIT_REVISIONPekka Paalanen
This tries to automatically fetch a git revision string and if succeeds, it #defines GIT_REVISION string macro. Packagers can override it by 'make GIT_REVISION=foo'. Update Nouveau to use GIT_REVISION, if defined, instead of DRIVER_DATE in struct drm_driver. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-04-22i915: gfx hw and i945gme fixes from upstreamDave Airlie
From Jesse and Zhenyu originally.
2008-04-20[I915] Handle tiled buffers in vblank taskletKeith Packard
The vblank tasklet update code must build 2D blt commands with the appropriate tiled flags.
2008-04-20On I965, use correct 3DSTATE_DRAWING_RECTANGLE command in vblankKeith Packard
The batchbuffer submission paths were fixed to use the 965-specific command, but the vblank tasklet was not. When the older version is sent, the 965 will lock up.
2008-04-17Porting DVO stuffHong Liu
Ported from Xorg intel 2d driver. Changed interfaces definitions, which needed to be changed later if other device wants to use these DVO stuff.
2008-04-14Fix buffer object map wait error.Thomas Hellstrom
Add some branch prediction hints.
2008-04-14Fix buffer object creation validation.Thomas Hellstrom
BO lock fixes.
2008-04-14Unlock the BO mutex while waiting for idle, unmapped, unfenced.Thomas Hellstrom
Move unfenced checking into idle checking. Never time out while waiting for software events like unmapped or unfenced.
2008-04-14Fix up buffer manager locking.Thomas Hellstrom
2008-04-11Save and restore dsparb and d_state regsKeith Packard
2008-04-12Merge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm ↵Jerome Glisse
into modesetting-101
2008-04-12radeon_ms: rework command submission ioctl & cleanupJerome Glisse
2008-04-10Fixup Intel TV property codeJesse Barnes
Use the new TV property creation routine and fixup the set_property code to actually do a mode set call when properties change.
2008-04-10Split TV property creation into its own routineJesse Barnes
It needs to take arguments from the caller about supported TV formats, so declare it in drm_crtc.h and export it.
2008-04-10Remove structure fields & codeJesse Barnes
Cleanup some random cruft left over from the initial port.
2008-04-10Fix masking in get_load_detect_pipeJesse Barnes
Start i at -1 so that the masking works right.
2008-04-10Keep display info in struct display_infoJesse Barnes
Some fields had snuck into the drm_output structure. Put them back and fill in more stuff from the EDID block.
2008-04-09Add TV out hotplug detectionJesse Barnes
Doesn't yet work on my i915 test machine, but most of the necessary bits should be there.
2008-04-09Fix TV load detectionJesse Barnes
Now that we can allocate load detect pipes, we can perform TV out load detection correctly. Call the new routines and enable proper TV detection.