summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2004-08-042.4 compatDave Airlie
2004-08-042.4 hotplug compatDave Airlie
2004-08-03bring over fix from i865-agp branch, it now probes the driver, X hangsDave Airlie
2004-08-03fix for drm in /proc - from Jon SmirlDave Airlie
2004-08-02forgot to check these in.. thanks to Jon for reminding me ..Dave Airlie
2004-07-31Add a hotplug event to DRM. Parameters match the ones from the general PCIJon Smirl
2004-07-31patch from RH xorg-x11 tree ported to drm.hDave Airlie
2004-07-31Patch picked up from Redhat xorg release:Dave Airlie
2004-07-31fixes for using userspace pointers found by sparse utilityDave Airlie
2004-07-31athe patch below optimises the drm code to not do put_user() on memory theDave Airlie
2004-07-29add read/write 16Dave Airlie
2004-07-29change to agp not pci ... still not workingDave Airlie
2004-07-29initial port of i915 to BSD, not finished doesn't work.. no idea why...Dave Airlie
2004-07-25check for __user if not there define itDave Airlie
2004-07-25sync up with current 2.6 kernel bk tree - mostly __user annotationsDave Airlie
2004-07-25whitespace merge with kernelDave Airlie
2004-07-25if the driver has already register don't do another intermodule registerDave Airlie
2004-07-25Patch from Tom Arbuckle for missing bus_addressDave Airlie
2004-07-23Correct a couple of packet length calculations.Keith Whitwell
2004-07-22another logic error returns 0 or greater for successDave Airlie
2004-07-21ATI Rage 128 and Radeon DRM unconditionally depend on PCIDave Airlie
2004-07-21add some more debugging fix ++ and --Dave Airlie
2004-07-20first set of __user annotations from kernel (Al Viro)Dave Airlie
2004-07-20Add NULLs instead of 0 for i915Dave Airlie
2004-07-20Kconfig update add i915 bring over some stuff from kernelDave Airlie
2004-07-20add x86_64 architecture defines from kernel (leave AMD64 defines in forDave Airlie
2004-07-20fix some more NULLs from kernelDave Airlie
2004-07-20attempt to clean up stub_register, register_chrdev isn't good enough toDave Airlie
2004-07-15sparse cleanups from kernel: Al ViroDave Airlie
2004-07-14Fix reference counting for stub for new Linux PCI probeDave Airlie
2004-07-14allow O= usage for Linux 2.6 kernel building in another directoryDave Airlie
2004-07-11split out backwards compat into a separate file makes it easier for mergingDave Airlie
2004-07-11fix issue in 2.4 kernels with returning NULL from this functionDave Airlie
2004-07-08Add two items to Makefile clean XFree86 bug: Reported by: Submitted by:Jon Smirl
2004-07-07Make drm/libdrm/xf86drm.c matchJon Smirl
2004-07-07Add xf86drm.h back to drm/libdrm until it's true home can be found.Jon Smirl
2004-07-06Fix module loading on alpha by not referencing MTRR symbols onEric Anholt
2004-07-06MFC as of 20040705: dev_t -> struct cdev * change.Eric Anholt
2004-07-05align with kernelDave Airlie
2004-07-05fixes from kernel for 0 vs NULL - mikaDave Airlie
2004-07-05whitespace align with kernelDave Airlie
2004-06-21fix bug with pci_disable_device in the wrong place (Paul Mackerras) removeDave Airlie
2004-06-12dirty hack to make mach64 work, (don't worry I'll get around to fixing itDave Airlie
2004-06-10A few changes for recent redhat.Keith Whitwell
2004-06-10i915 drm moduleKeith Whitwell
2004-06-10i915.o drm driverKeith Whitwell
2004-06-10gamma_dma_priority and gamma_dma_send_buffers both deref d->send_indicesDave Airlie
2004-06-07The dev->devname being passed to request_irq in drm_irq.h is null. With theDave Airlie
2004-06-02Added some comments copied from xf86drm.h.Ian Romanick
2004-06-01Replace size_t with an ugly, ugly hack. This was done so that code in theIan Romanick
NV_10: case NV_04: default: dev_priv->ramfc_offset = 0x11400; dev_priv->ramfc_size = engine->fifo.channels * nouveau_fifo_ctx_size(dev); break; } DRM_DEBUG("RAMFC offset=0x%x, size=%d\n", dev_priv->ramfc_offset, dev_priv->ramfc_size); } int nv04_instmem_init(struct drm_device *dev) { struct drm_nouveau_private *dev_priv = dev->dev_private; uint32_t offset; int ret = 0; nv04_instmem_determine_amount(dev); nv04_instmem_configure_fixed_tables(dev); /* Create a heap to manage RAMIN allocations, we don't allocate * the space that was reserved for RAMHT/FC/RO. */ offset = dev_priv->ramfc_offset + dev_priv->ramfc_size; /* On my NV4E, there's *something* clobbering the 16KiB just after * where we setup these fixed tables. No idea what it is just yet, * so reserve this space on all NV4X cards for now. */ if (dev_priv->card_type >= NV_40) offset += 16*1024; ret = nouveau_mem_init_heap(&dev_priv->ramin_heap, offset, dev_priv->ramin_rsvd_vram - offset); if (ret) { dev_priv->ramin_heap = NULL; DRM_ERROR("Failed to init RAMIN heap\n"); } return ret; } void nv04_instmem_takedown(struct drm_device *dev) { } int nv04_instmem_populate(struct drm_device *dev, struct nouveau_gpuobj *gpuobj, uint32_t *sz) { if (gpuobj->im_backing) return -EINVAL; return 0; } void nv04_instmem_clear(struct drm_device *dev, struct nouveau_gpuobj *gpuobj) { struct drm_nouveau_private *dev_priv = dev->dev_private; if (gpuobj && gpuobj->im_backing) { if (gpuobj->im_bound) dev_priv->Engine.instmem.unbind(dev, gpuobj); gpuobj->im_backing = NULL; } } int nv04_instmem_bind(struct drm_device *dev, struct nouveau_gpuobj *gpuobj) { if (!gpuobj->im_pramin || gpuobj->im_bound) return -EINVAL; gpuobj->im_bound = 1; return 0; } int nv04_instmem_unbind(struct drm_device *dev, struct nouveau_gpuobj *gpuobj) { if (gpuobj->im_bound == 0) return -EINVAL; gpuobj->im_bound = 0; return 0; }