rpms/kernel/devel drm-modesetting-radeon-pciid.patch, NONE, 1.1 kernel.spec, 1.1313, 1.1314

Dave Airlie airlied at fedoraproject.org
Thu Feb 19 08:24:11 UTC 2009


Author: airlied

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23656

Modified Files:
	kernel.spec 
Added Files:
	drm-modesetting-radeon-pciid.patch 
Log Message:
* Thu Feb 19 2009 Dave Airlie <airlied at redhat.com> 
- radeon: add module device table


drm-modesetting-radeon-pciid.patch:

--- NEW FILE drm-modesetting-radeon-pciid.patch ---
diff -up linux-2.6.28.noarch/drivers/gpu/drm/radeon/radeon_drv.c.dma linux-2.6.28.noarch/drivers/gpu/drm/radeon/radeon_drv.c
--- linux-2.6.28.noarch/drivers/gpu/drm/radeon/radeon_drv.c.dma	2009-02-19 18:19:48.000000000 +1000
+++ linux-2.6.28.noarch/drivers/gpu/drm/radeon/radeon_drv.c	2009-02-19 18:20:49.000000000 +1000
@@ -84,6 +84,10 @@ static struct pci_device_id pciidlist[] 
 	radeon_PCI_IDS
 };
 
+#if defined(CONFIG_DRM_RADEON_KMS)
+MODULE_DEVICE_TABLE(pci, pciidlist);
+#endif
+
 extern struct drm_fence_driver radeon_fence_driver;
 
 static uint32_t radeon_mem_prios[] = {DRM_BO_MEM_VRAM, DRM_BO_MEM_TT, DRM_BO_MEM_LOCAL};


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1313
retrieving revision 1.1314
diff -u -r1.1313 -r1.1314
--- kernel.spec	19 Feb 2009 05:04:44 -0000	1.1313
+++ kernel.spec	19 Feb 2009 08:23:40 -0000	1.1314
@@ -644,6 +644,7 @@
 Patch1816: drm-no-gem-on-i8xx.patch
 Patch1817: drm-intel-suspend.patch
 Patch1818: drm-i915-resume-force-mode.patch
+Patch1819: drm-modesetting-radeon-pciid.patch
 
 # kludge to make ich9 e1000 work
 Patch2000: linux-2.6-e1000-ich9.patch
@@ -1148,6 +1149,7 @@
 ApplyPatch drm-no-gem-on-i8xx.patch
 ApplyPatch drm-intel-suspend.patch
 ApplyPatch drm-i915-resume-force-mode.patch
+ApplyPatch drm-modesetting-radeon-pciid.patch
 
 # linux1394 git patches
 ApplyPatch linux-2.6-firewire-git-update.patch
@@ -1744,6 +1746,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Thu Feb 19 2009 Dave Airlie <airlied at redhat.com> 
+- radeon: add module device table
+
 * Wed Feb 18 2009 Kyle McMartin <kyle at redhat.com>
 - i915_suspend: force reset of mode on resume
 




More information about the scm-commits mailing list