freebsd-nq/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 Fix two cases of recursive acquisitions of the vm object lock, only 2014-04-29 19:02:34 +00:00
radeon Fix DMA handling in radeon_dummy_page_init(): 2014-05-28 08:59:23 +00:00
ttm drm/ttm, drm/radeon: Replace EINTR/ERESTART by ERESTARTSYS... 2013-12-21 15:40:36 +00:00
ati_pcigart.c drm/radeon: Import the Radeon KMS driver 2013-08-25 19:37:15 +00:00
drm_agpsupport.c
drm_atomic.h Fix the incomplete conversion from atomic_t to long for test_bit(). 2013-08-29 20:51:12 +00:00
drm_auth.c
drm_buffer.c drm: Import drm_buffer.[ch] from Linux 3.8-rc3 2013-08-24 16:14:20 +00:00
drm_buffer.h drm: Import drm_buffer.[ch] from Linux 3.8-rc3 2013-08-24 16:14:20 +00:00
drm_bufs.c
drm_context.c Fix atomic operations on context_flag without altering semantics. 2013-08-29 18:36:47 +00:00
drm_core.h drm: Call drm_global_init() & drm_global_release() at module load/unload 2013-08-24 15:47:15 +00:00
drm_crtc_helper.c
drm_crtc_helper.h drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks 2013-08-24 16:50:47 +00:00
drm_crtc.c drm: Initialize "handle" to 0 before calling drm_gem_handle_create() 2013-11-08 22:44:46 +00:00
drm_crtc.h drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks 2013-08-24 16:50:47 +00:00
drm_dma.c
drm_dp_helper.c drm: Import drm_dp_helper.c from Linux 3.8-rc3 2013-08-24 23:38:57 +00:00
drm_dp_helper.h drm: Import drm_dp_helper.c from Linux 3.8-rc3 2013-08-24 23:38:57 +00:00
drm_dp_iic_helper.c drm: Don't delete already deleted iicbus child from drm_iic_dp_aux 2013-08-24 23:54:06 +00:00
drm_drawable.c
drm_drv.c drm: Support DRM_CAP_TIMESTAMP_MONOTONIC capability 2013-11-17 16:07:52 +00:00
drm_edid_modes.h
drm_edid.c drm: Lower priority of "EDID checksum is invalid" message 2013-12-22 11:11:23 +00:00
drm_edid.h
drm_fb_helper.c Do not try to probe/attach if attempt to add fbd child are failed. 2013-12-12 14:49:26 +00:00
drm_fb_helper.h
drm_fixed.h drm: Import drm_fixed.h from Linux 3.8 2013-08-25 12:27:15 +00:00
drm_fops.c
drm_fourcc.h
drm_gem_names.c drm: In drm_gem_name_create(), verify argument before acquiring lock 2013-08-25 10:04:10 +00:00
drm_gem_names.h
drm_gem.c drm: Use the new drm_atomic.h, following the merge of projects/atomic64 2013-08-25 15:38:16 +00:00
drm_global.c drm: Fix a call to free(9) with an incorrect malloc type 2013-03-08 18:11:02 +00:00
drm_global.h Import the drm_global references helpers. 2013-03-05 09:27:21 +00:00
drm_hashtab.c
drm_hashtab.h
drm_internal.h
drm_ioc32.c
drm_ioctl.c drm: Support DRM_CAP_TIMESTAMP_MONOTONIC capability 2013-11-17 16:07:52 +00:00
drm_irq.c Fix a compiler warning. With this fix, a negative time can be converted to 2013-08-28 22:57:49 +00:00
drm_linux_list_sort.c drm: Fix build with gcc, broken with r258549 2013-11-25 15:01:59 +00:00
drm_linux_list.h drm: Import list_for_each_entry_safe_from() macro 2013-08-25 10:28:02 +00:00
drm_lock.c
drm_memory.c
drm_mm.c Import the drm_mm_debug_table() function. 2013-03-05 09:07:58 +00:00
drm_mm.h Import the drm_mm_debug_table() function. 2013-03-05 09:07:58 +00:00
drm_mode.h
drm_modes.c
drm_os_freebsd.h Merge VT(9) project (a.k.a. newcons). 2013-12-05 22:38:53 +00:00
drm_pci.c drm: Read PCIER_LINK_CAP/PCIER_LINK_CAP2 from the PCI bridge 2013-12-04 19:04:56 +00:00
drm_pciids.h drm: Update drm_pciids.h based on Linux 3.8 2013-08-25 12:20:57 +00:00
drm_sarea.h
drm_scatter.c Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
drm_sman.c
drm_sman.h
drm_stub.c
drm_sysctl.c Fix a compiler warning and add couple of VM map types. 2013-08-28 23:43:28 +00:00
drm_vm.c
drm.h drm: Support DRM_CAP_TIMESTAMP_MONOTONIC capability 2013-11-17 16:07:52 +00:00
drmP.h Disable error message about failed attempt to attach fbd when drm2 built with 2013-12-10 15:53:00 +00:00