opnsense-src/sys/dev/drm2
Marius Strobl 0c12d5ed93 Fix DMA handling in radeon_dummy_page_init():
- Based on actual usage and on what Linux does, dummy_page.addr should
  contain the physical bus address of the dummy page rather than its
  virtual one. As a side-effect, correcting this bug fixes compilation
  with PAE support enabled by getting rid of an inappropriate cast.
- Also based on actual usage of dummy_page.addr, theoretically Radeon
  devices could do a maximum of 44-bit DMA. In reality, though, it is
  more likely that they only support 32-bit DMA, at least that is what
  radeon_gart_table_ram_alloc() sets up for, too. However, passing ~0
  to drm_pci_alloc() as maxaddr parameter translates to 64-bit DMA on
  amd64/64-bit machines. Thus, use BUS_SPACE_MAXSIZE_32BIT instead,
  which the existing 32-bit DMA limits within the drm2 code spelled as
  0xFFFFFFFF should also be changed to.

Reviewed by:	dumbbell
MFC after:      1 week
Sponsored by:   Bally Wulff Games & Entertainment GmbH
2014-05-28 08:59:23 +00:00
..
i915
radeon Fix DMA handling in radeon_dummy_page_init(): 2014-05-28 08:59:23 +00:00
ttm
ati_pcigart.c
drm.h
drm_agpsupport.c
drm_atomic.h
drm_auth.c
drm_buffer.c
drm_buffer.h
drm_bufs.c
drm_context.c
drm_core.h
drm_crtc.c
drm_crtc.h
drm_crtc_helper.c
drm_crtc_helper.h
drm_dma.c
drm_dp_helper.c
drm_dp_helper.h
drm_dp_iic_helper.c
drm_drawable.c
drm_drv.c
drm_edid.c
drm_edid.h
drm_edid_modes.h
drm_fb_helper.c
drm_fb_helper.h
drm_fixed.h
drm_fops.c
drm_fourcc.h
drm_gem.c
drm_gem_names.c
drm_gem_names.h
drm_global.c
drm_global.h
drm_hashtab.c
drm_hashtab.h
drm_internal.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_linux_list.h
drm_linux_list_sort.c
drm_lock.c
drm_memory.c
drm_mm.c
drm_mm.h
drm_mode.h
drm_modes.c
drm_os_freebsd.h
drm_pci.c
drm_pciids.h
drm_sarea.h
drm_scatter.c
drm_sman.c
drm_sman.h
drm_stub.c
drm_sysctl.c
drm_vm.c
drmP.h