]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm: remove address mask param for drm_pci_alloc()
authorZhenyu Wang <zhenyu.z.wang@intel.com>
Tue, 5 Jan 2010 03:25:05 +0000 (11:25 +0800)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Jan 2010 03:15:50 +0000 (13:15 +1000)
commite6be8d9d17bd44061116f601fe2609b3ace7aa69
tree85b8acc2fd4734724b9d5202016743461e02ee07
parent29ebdf925c2c45f6531a953c6c5c8e4d3b4ac2dc
drm: remove address mask param for drm_pci_alloc()

drm_pci_alloc() has input of address mask for setting pci dma
mask on the device, which should be properly setup by drm driver.
And leave it as a param for drm_pci_alloc() would cause confusion
or mistake would corrupt the correct dma mask setting, as seen on
intel hw which set wrong dma mask for hw status page. So remove
it from drm_pci_alloc() function.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ati_pcigart.c
drivers/gpu/drm/drm_bufs.c
drivers/gpu/drm/drm_pci.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_gem.c
include/drm/drmP.h