Merge branch 'drm-platform' into drm-testing
authorDave Airlie <airlied@redhat.com>
Wed, 7 Jul 2010 08:37:35 +0000 (18:37 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Jul 2010 08:37:35 +0000 (18:37 +1000)
* drm-platform:
  drm: Make sure the DRM offset matches the CPU
  drm: Add __arm defines to DRM
  drm: Add support for platform devices to register as DRM devices
  drm: Remove drm_resource wrappers

16 files changed:
1  2 
drivers/gpu/drm/drm_bufs.c
drivers/gpu/drm/drm_sysfs.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/nouveau/nouveau_drv.c
drivers/gpu/drm/nouveau/nouveau_mem.c
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon_bios.c
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/rs600.c
drivers/gpu/drm/radeon/rs690.c
drivers/gpu/drm/radeon/rv770.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 2c92137399995f17d9df664c2ae28aa9ad8bbefa,91f5b5a29a9f25b071cd36715e319f38dd5ae089..654787ec43f4d33687f2c7dd0e0318c17be92dd6
@@@ -48,12 -48,8 +48,12 @@@ static bool igp_read_bios_from_vram(str
        resource_size_t vram_base;
        resource_size_t size = 256 * 1024; /* ??? */
  
 +      if (!(rdev->flags & RADEON_IS_IGP))
 +              if (!radeon_card_posted(rdev))
 +                      return false;
 +
        rdev->bios = NULL;
-       vram_base = drm_get_resource_start(rdev->ddev, 0);
+       vram_base = pci_resource_start(rdev->pdev, 0);
        bios = ioremap(vram_base, size);
        if (!bios) {
                return false;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge