freebsd-skq/sys/dev/drm2/radeon
marius 73a3c5a850 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
..
reg_srcs
atom-bits.h
atom-names.h
atom-types.h
atom.c
atom.h
atombios_crtc.c
atombios_dp.c drm/radeon: radeon_dp_i2c_aux_ch() must return 0 on FreeBSD 2013-12-08 18:48:07 +00:00
atombios_encoders.c
atombios_i2c.c
atombios.h
avivod.h
cayman_blit_shaders.c
cayman_blit_shaders.h
cayman_reg_safe.h
evergreen_blit_kms.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
evergreen_blit_shaders.c
evergreen_blit_shaders.h
evergreen_cs.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
evergreen_hdmi.c
evergreen_reg_safe.h
evergreen_reg.h
evergreen.c
evergreend.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
ni_reg.h
ni.c
nid.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
ObjectID.h
r100_reg_safe.h
r100_track.h
r100.c
r100d.h
r200_reg_safe.h
r200.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
r300_cmdbuf.c
r300_reg_safe.h
r300_reg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
r300.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
r300d.h
r420_reg_safe.h
r420.c
r420d.h
r500_reg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
r520.c
r520d.h
r600_audio.c
r600_blit_kms.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
r600_blit_shaders.c
r600_blit_shaders.h
r600_blit.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
r600_cp.c
r600_cp.h
r600_cs.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
r600_cs.h
r600_hdmi.c
r600_reg_safe.h
r600_reg.h
r600.c Abort when firmware isn't present in R600+ models. 2014-02-04 21:23:12 +00:00
r600d.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
radeon_acpi.c
radeon_acpi.h
radeon_agp.c drm/radeon: agp_info->ai_aperture_size is in bytes, not Mbytes 2013-12-08 14:21:54 +00:00
radeon_asic.c
radeon_asic.h
radeon_atombios.c
radeon_atpx_handler.c
radeon_benchmark.c
radeon_bios.c
radeon_blit_common.h
radeon_clocks.c
radeon_combios.c
radeon_connectors.c
radeon_cp.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
radeon_cs.c
radeon_cursor.c
radeon_device.c Fix DMA handling in radeon_dummy_page_init(): 2014-05-28 08:59:23 +00:00
radeon_display.c
radeon_drm.h
radeon_drv.c drm/radeon: Add 32bit ioctls support 2014-05-03 11:23:10 +00:00
radeon_drv.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
radeon_encoders.c
radeon_family.h
radeon_fb.c drm/radeon: Fix build of radeon_fb.c on i386 2013-11-12 19:44:45 +00:00
radeon_fence.c drm/ttm, drm/radeon: Replace EINTR/ERESTART by ERESTARTSYS... 2013-12-21 15:40:36 +00:00
radeon_gart.c
radeon_gem.c
radeon_gem.h
radeon_i2c.c
radeon_ioc32.c drm/radeon: Add 32bit ioctls support 2014-05-03 11:23:10 +00:00
radeon_irq_kms.c
radeon_irq_kms.h
radeon_irq.c
radeon_kms.c
radeon_kms.h
radeon_legacy_crtc.c
radeon_legacy_encoders.c
radeon_legacy_tv.c
radeon_mem.c
radeon_mode.h
radeon_object.c
radeon_object.h
radeon_pm.c
radeon_prime.c
radeon_reg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
radeon_ring.c
radeon_sa.c drm/ttm, drm/radeon: Replace EINTR/ERESTART by ERESTARTSYS... 2013-12-21 15:40:36 +00:00
radeon_semaphore.c
radeon_state.c
radeon_test.c
radeon_trace_points.c
radeon_trace.h
radeon_ttm.c
radeon.h
README
rn50_reg_safe.h
rs100d.h
rs400.c
rs400d.h
rs600_reg_safe.h
rs600.c
rs600d.h
rs690.c
rs690d.h
rv200d.h
rv250d.h
rv350d.h
rv515_reg_safe.h
rv515.c
rv515d.h
rv770.c Abort when firmware isn't present in R600+ models. 2014-02-04 21:23:12 +00:00
rv770d.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
si_blit_shaders.c
si_blit_shaders.h
si_reg.h
si.c
sid.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00

# $FreeBSD$

== Updates to reg_srcs/ files ==

When a file in the "reg_srcs" subdirectory in updated, be sure to regen
headers by running "make" in tools/tools/drm/radeon/mkregtable.