Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist Import drm from Linux 3.15 (commi...
details: https://anonhg.NetBSD.org/src/rev/d61259eef7d1
branches: trunk
changeset: 330638:d61259eef7d1
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 16 19:35:23 2014 +0000
description:
Import drm from Linux 3.15 (commitid 1860e379875dfe7271c649058aeddffe5afd9d0d).
drivers/gpu/drm -> sys/external/bsd/drm2/dist/drm
include/drm -> sys/external/bsd/drm2/dist/include/drm
include/uapi/drm -> sys/external/bsd/drm2/dist/uapi/drm
GPL sources excluded.
diffstat:
sys/external/bsd/drm2/dist/drm/Kconfig | 85 +-
sys/external/bsd/drm2/dist/drm/Makefile | 20 +-
sys/external/bsd/drm2/dist/drm/ast/Kconfig | 3 +-
sys/external/bsd/drm2/dist/drm/ast/ast_drv.c | 10 +-
sys/external/bsd/drm2/dist/drm/ast/ast_drv.h | 30 +-
sys/external/bsd/drm2/dist/drm/ast/ast_fb.c | 75 +-
sys/external/bsd/drm2/dist/drm/ast/ast_main.c | 76 +-
sys/external/bsd/drm2/dist/drm/ast/ast_mode.c | 32 +-
sys/external/bsd/drm2/dist/drm/ast/ast_post.c | 2 +-
sys/external/bsd/drm2/dist/drm/ast/ast_ttm.c | 46 +-
sys/external/bsd/drm2/dist/drm/drm_cache.c | 17 +-
sys/external/bsd/drm2/dist/drm/drm_crtc_internal.h | 38 +
sys/external/bsd/drm2/dist/drm/drm_dma.c | 17 +-
sys/external/bsd/drm2/dist/drm/drm_drv.c | 280 +-
sys/external/bsd/drm2/dist/drm/drm_encoder_slave.c | 77 +-
sys/external/bsd/drm2/dist/drm/drm_flip_work.c | 124 +
sys/external/bsd/drm2/dist/drm/drm_fops.c | 306 +-
sys/external/bsd/drm2/dist/drm/drm_hashtab.c | 19 +-
sys/external/bsd/drm2/dist/drm/drm_info.c | 28 +-
sys/external/bsd/drm2/dist/drm/drm_lock.c | 3 -
sys/external/bsd/drm2/dist/drm/drm_memory.c | 17 +-
sys/external/bsd/drm2/dist/drm/drm_mipi_dsi.c | 319 +
sys/external/bsd/drm2/dist/drm/drm_panel.c | 100 +
sys/external/bsd/drm2/dist/drm/drm_plane_helper.c | 310 +
sys/external/bsd/drm2/dist/drm/drm_prime.c | 655 +-
sys/external/bsd/drm2/dist/drm/drm_probe_helper.c | 426 +
sys/external/bsd/drm2/dist/drm/drm_rect.c | 295 +
sys/external/bsd/drm2/dist/drm/drm_scatter.c | 29 +-
sys/external/bsd/drm2/dist/drm/drm_trace.h | 66 +
sys/external/bsd/drm2/dist/drm/drm_trace_points.c | 4 +
sys/external/bsd/drm2/dist/drm/drm_vm.c | 37 +-
sys/external/bsd/drm2/dist/drm/drm_vma_manager.c | 436 +
sys/external/bsd/drm2/dist/drm/i2c/Kconfig | 28 +
sys/external/bsd/drm2/dist/drm/i2c/Makefile | 3 +
sys/external/bsd/drm2/dist/drm/i2c/ch7006_drv.c | 2 +-
sys/external/bsd/drm2/dist/drm/i810/i810_dma.c | 18 +-
sys/external/bsd/drm2/dist/drm/i810/i810_drv.c | 3 +-
sys/external/bsd/drm2/dist/drm/i810/i810_drv.h | 2 +-
sys/external/bsd/drm2/dist/drm/i915/Kconfig | 82 +
sys/external/bsd/drm2/dist/drm/i915/Makefile | 76 +-
sys/external/bsd/drm2/dist/drm/i915/dvo.h | 11 -
sys/external/bsd/drm2/dist/drm/i915/dvo_ivch.c | 30 +-
sys/external/bsd/drm2/dist/drm/i915/dvo_ns2501.c | 83 +-
sys/external/bsd/drm2/dist/drm/i915/dvo_sil164.c | 10 +-
sys/external/bsd/drm2/dist/drm/i915/dvo_tfp410.c | 24 +-
sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c | 485 +
sys/external/bsd/drm2/dist/drm/i915/i915_debugfs.c | 3272 ++-
sys/external/bsd/drm2/dist/drm/i915/i915_gem_debug.c | 75 +-
sys/external/bsd/drm2/dist/drm/i915/i915_gem_dmabuf.c | 118 +-
sys/external/bsd/drm2/dist/drm/i915/i915_gem_evict.c | 194 +-
sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.c | 2161 +-
sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c | 487 +-
sys/external/bsd/drm2/dist/drm/i915/i915_gpu_error.c | 1272 +
sys/external/bsd/drm2/dist/drm/i915/i915_params.c | 154 +
sys/external/bsd/drm2/dist/drm/i915/i915_reg.h | 2663 ++-
sys/external/bsd/drm2/dist/drm/i915/i915_suspend.c | 631 +-
sys/external/bsd/drm2/dist/drm/i915/i915_sysfs.c | 396 +-
sys/external/bsd/drm2/dist/drm/i915/i915_trace.h | 520 +
sys/external/bsd/drm2/dist/drm/i915/i915_trace_points.c | 13 +
sys/external/bsd/drm2/dist/drm/i915/i915_ums.c | 538 +
sys/external/bsd/drm2/dist/drm/i915/intel_acpi.c | 165 +
sys/external/bsd/drm2/dist/drm/i915/intel_bios.h | 304 +-
sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c | 654 +
sys/external/bsd/drm2/dist/drm/i915/intel_dsi.h | 123 +
sys/external/bsd/drm2/dist/drm/i915/intel_dsi_cmd.c | 427 +
sys/external/bsd/drm2/dist/drm/i915/intel_dsi_cmd.h | 109 +
sys/external/bsd/drm2/dist/drm/i915/intel_dsi_pll.c | 300 +
sys/external/bsd/drm2/dist/drm/i915/intel_dvo.c | 133 +-
sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c | 702 +
sys/external/bsd/drm2/dist/drm/i915/intel_modes.c | 6 +-
sys/external/bsd/drm2/dist/drm/i915/intel_sdvo_regs.h | 40 +-
sys/external/bsd/drm2/dist/drm/i915/intel_sideband.c | 265 +
sys/external/bsd/drm2/dist/drm/i915/intel_sprite.c | 753 +-
sys/external/bsd/drm2/dist/drm/i915/intel_uncore.c | 1046 +
sys/external/bsd/drm2/dist/drm/mga/mga_dma.c | 9 +-
sys/external/bsd/drm2/dist/drm/mga/mga_drv.c | 3 +-
sys/external/bsd/drm2/dist/drm/mga/mga_drv.h | 6 +-
sys/external/bsd/drm2/dist/drm/mga/mga_ioc32.c | 1 +
sys/external/bsd/drm2/dist/drm/mga/mga_irq.c | 10 +-
sys/external/bsd/drm2/dist/drm/mga/mga_state.c | 4 +-
sys/external/bsd/drm2/dist/drm/nouveau/Kconfig | 62 +
sys/external/bsd/drm2/dist/drm/nouveau/Makefile | 336 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/Makefile | 11 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/arb.c | 265 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/crtc.c | 1145 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/cursor.c | 70 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/dac.c | 556 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/dfp.c | 722 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/disp.c | 208 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/disp.h | 188 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/hw.c | 829 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/hw.h | 409 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/nvreg.h | 517 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/overlay.c | 497 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/tvmodesnv17.c | 592 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/tvnv04.c | 250 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/tvnv17.c | 843 +
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/tvnv17.h | 163 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_abi16.c | 507 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_abi16.h | 115 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.c | 439 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.h | 26 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_agp.c | 198 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_agp.h | 10 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_backlight.c | 264 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bios.c | 2120 ++
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bios.h | 179 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c | 1535 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.h | 103 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_chan.c | 398 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_chan.h | 47 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_connector.c | 1175 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_connector.h | 110 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_crtc.h | 87 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_debugfs.c | 64 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_debugfs.h | 22 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_display.c | 877 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_display.h | 101 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dma.c | 262 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dma.h | 212 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c | 96 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c | 1058 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.h | 168 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_encoder.h | 94 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fbcon.c | 547 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fbcon.h | 70 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fence.c | 338 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fence.h | 98 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_gem.c | 926 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_gem.h | 45 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_hwmon.c | 652 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_hwmon.h | 43 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_ioc32.c | 69 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_ioctl.h | 7 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_prime.c | 104 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_reg.h | 858 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_sgdma.c | 115 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_sysfs.c | 164 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_sysfs.h | 19 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_ttm.c | 440 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_ttm.h | 25 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_vga.c | 117 +
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_vga.h | 8 +
sys/external/bsd/drm2/dist/drm/nouveau/nv04_fbcon.c | 283 +
sys/external/bsd/drm2/dist/drm/nouveau/nv04_fence.c | 111 +
sys/external/bsd/drm2/dist/drm/nouveau/nv10_fence.c | 110 +
sys/external/bsd/drm2/dist/drm/nouveau/nv10_fence.h | 19 +
sys/external/bsd/drm2/dist/drm/nouveau/nv17_fence.c | 149 +
sys/external/bsd/drm2/dist/drm/nouveau/nv50_display.c | 2306 ++
sys/external/bsd/drm2/dist/drm/nouveau/nv50_display.h | 45 +
sys/external/bsd/drm2/dist/drm/nouveau/nv50_fbcon.c | 259 +
sys/external/bsd/drm2/dist/drm/nouveau/nv50_fence.c | 123 +
sys/external/bsd/drm2/dist/drm/nouveau/nv84_fence.c | 276 +
sys/external/bsd/drm2/dist/drm/nouveau/nvc0_fbcon.c | 262 +
sys/external/bsd/drm2/dist/drm/nouveau/nvc0_fence.c | 90 +
sys/external/bsd/drm2/dist/drm/qxl/Kconfig | 15 +
sys/external/bsd/drm2/dist/drm/qxl/Makefile | 9 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_cmd.c | 693 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_debugfs.c | 141 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_dev.h | 879 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_display.c | 1039 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_draw.c | 487 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_drv.c | 265 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_drv.h | 570 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_dumb.c | 86 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_fb.c | 715 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_fence.c | 91 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_gem.c | 117 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_image.c | 237 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_ioctl.c | 454 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_irq.c | 97 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_kms.c | 341 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_object.c | 324 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_object.h | 105 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_release.c | 359 +
sys/external/bsd/drm2/dist/drm/qxl/qxl_ttm.c | 586 +
sys/external/bsd/drm2/dist/drm/r128/r128_cce.c | 6 +-
sys/external/bsd/drm2/dist/drm/r128/r128_drv.c | 3 +-
sys/external/bsd/drm2/dist/drm/r128/r128_drv.h | 6 +-
sys/external/bsd/drm2/dist/drm/r128/r128_ioc32.c | 1 +
sys/external/bsd/drm2/dist/drm/r128/r128_irq.c | 2 +-
sys/external/bsd/drm2/dist/drm/r128/r128_state.c | 68 +-
sys/external/bsd/drm2/dist/drm/radeon/Kconfig | 8 +
sys/external/bsd/drm2/dist/drm/radeon/Makefile | 114 +
sys/external/bsd/drm2/dist/drm/radeon/ObjectID.h | 736 +
sys/external/bsd/drm2/dist/drm/radeon/atom-bits.h | 48 +
sys/external/bsd/drm2/dist/drm/radeon/atom-names.h | 100 +
sys/external/bsd/drm2/dist/drm/radeon/atom-types.h | 42 +
sys/external/bsd/drm2/dist/drm/radeon/atom.c | 1416 +
sys/external/bsd/drm2/dist/drm/radeon/atom.h | 159 +
sys/external/bsd/drm2/dist/drm/radeon/atombios.h | 7981 ++++++++
sys/external/bsd/drm2/dist/drm/radeon/atombios_crtc.c | 2105 ++
sys/external/bsd/drm2/dist/drm/radeon/atombios_dp.c | 841 +
sys/external/bsd/drm2/dist/drm/radeon/atombios_encoders.c | 2706 ++
sys/external/bsd/drm2/dist/drm/radeon/atombios_i2c.c | 148 +
sys/external/bsd/drm2/dist/drm/radeon/avivod.h | 62 +
sys/external/bsd/drm2/dist/drm/radeon/btc_dpm.c | 2815 ++
sys/external/bsd/drm2/dist/drm/radeon/btc_dpm.h | 59 +
sys/external/bsd/drm2/dist/drm/radeon/btcd.h | 185 +
sys/external/bsd/drm2/dist/drm/radeon/cayman_blit_shaders.c | 320 +
sys/external/bsd/drm2/dist/drm/radeon/cayman_blit_shaders.h | 35 +
sys/external/bsd/drm2/dist/drm/radeon/ci_dpm.c | 5327 +++++
sys/external/bsd/drm2/dist/drm/radeon/ci_dpm.h | 332 +
sys/external/bsd/drm2/dist/drm/radeon/ci_smc.c | 280 +
sys/external/bsd/drm2/dist/drm/radeon/cik.c | 9449 ++++++++++
sys/external/bsd/drm2/dist/drm/radeon/cik_blit_shaders.c | 246 +
sys/external/bsd/drm2/dist/drm/radeon/cik_blit_shaders.h | 32 +
sys/external/bsd/drm2/dist/drm/radeon/cik_reg.h | 150 +
sys/external/bsd/drm2/dist/drm/radeon/cik_sdma.c | 851 +
sys/external/bsd/drm2/dist/drm/radeon/cikd.h | 2071 ++
sys/external/bsd/drm2/dist/drm/radeon/clearstate_cayman.h | 1081 +
sys/external/bsd/drm2/dist/drm/radeon/clearstate_ci.h | 944 +
sys/external/bsd/drm2/dist/drm/radeon/clearstate_defs.h | 44 +
sys/external/bsd/drm2/dist/drm/radeon/clearstate_evergreen.h | 1080 +
sys/external/bsd/drm2/dist/drm/radeon/clearstate_si.h | 941 +
sys/external/bsd/drm2/dist/drm/radeon/cypress_dpm.c | 2162 ++
sys/external/bsd/drm2/dist/drm/radeon/cypress_dpm.h | 160 +
sys/external/bsd/drm2/dist/drm/radeon/dce6_afmt.c | 352 +
sys/external/bsd/drm2/dist/drm/radeon/evergreen.c | 5713 ++++++
sys/external/bsd/drm2/dist/drm/radeon/evergreen_blit_shaders.c | 303 +
sys/external/bsd/drm2/dist/drm/radeon/evergreen_blit_shaders.h | 35 +
sys/external/bsd/drm2/dist/drm/radeon/evergreen_cs.c | 3517 +++
sys/external/bsd/drm2/dist/drm/radeon/evergreen_dma.c | 184 +
sys/external/bsd/drm2/dist/drm/radeon/evergreen_hdmi.c | 447 +
sys/external/bsd/drm2/dist/drm/radeon/evergreen_reg.h | 253 +
sys/external/bsd/drm2/dist/drm/radeon/evergreen_smc.h | 67 +
sys/external/bsd/drm2/dist/drm/radeon/evergreend.h | 2571 ++
sys/external/bsd/drm2/dist/drm/radeon/kv_dpm.c | 2830 ++
sys/external/bsd/drm2/dist/drm/radeon/kv_dpm.h | 200 +
sys/external/bsd/drm2/dist/drm/radeon/kv_smc.c | 215 +
sys/external/bsd/drm2/dist/drm/radeon/mkregtable.c | 712 +
sys/external/bsd/drm2/dist/drm/radeon/ni.c | 2505 ++
sys/external/bsd/drm2/dist/drm/radeon/ni_dma.c | 408 +
sys/external/bsd/drm2/dist/drm/radeon/ni_dpm.c | 4364 ++++
sys/external/bsd/drm2/dist/drm/radeon/ni_dpm.h | 250 +
sys/external/bsd/drm2/dist/drm/radeon/ni_reg.h | 86 +
sys/external/bsd/drm2/dist/drm/radeon/nid.h | 1285 +
sys/external/bsd/drm2/dist/drm/radeon/nislands_smc.h | 329 +
sys/external/bsd/drm2/dist/drm/radeon/ppsmc.h | 175 +
sys/external/bsd/drm2/dist/drm/radeon/pptable.h | 682 +
sys/external/bsd/drm2/dist/drm/radeon/r100.c | 4140 ++++
sys/external/bsd/drm2/dist/drm/radeon/r100_track.h | 97 +
sys/external/bsd/drm2/dist/drm/radeon/r100d.h | 869 +
sys/external/bsd/drm2/dist/drm/radeon/r200.c | 548 +
sys/external/bsd/drm2/dist/drm/radeon/r300.c | 1563 +
sys/external/bsd/drm2/dist/drm/radeon/r300_cmdbuf.c | 1186 +
sys/external/bsd/drm2/dist/drm/radeon/r300_reg.h | 1789 +
sys/external/bsd/drm2/dist/drm/radeon/r300d.h | 343 +
sys/external/bsd/drm2/dist/drm/radeon/r420.c | 503 +
sys/external/bsd/drm2/dist/drm/radeon/r420d.h | 249 +
sys/external/bsd/drm2/dist/drm/radeon/r500_reg.h | 800 +
sys/external/bsd/drm2/dist/drm/radeon/r520.c | 332 +
sys/external/bsd/drm2/dist/drm/radeon/r520d.h | 187 +
sys/external/bsd/drm2/dist/drm/radeon/r600.c | 4337 ++++
sys/external/bsd/drm2/dist/drm/radeon/r600_audio.c | 207 +
sys/external/bsd/drm2/dist/drm/radeon/r600_blit.c | 874 +
sys/external/bsd/drm2/dist/drm/radeon/r600_blit_shaders.c | 719 +
sys/external/bsd/drm2/dist/drm/radeon/r600_blit_shaders.h | 38 +
sys/external/bsd/drm2/dist/drm/radeon/r600_cp.c | 2660 ++
sys/external/bsd/drm2/dist/drm/radeon/r600_cs.c | 2632 ++
sys/external/bsd/drm2/dist/drm/radeon/r600_dma.c | 500 +
sys/external/bsd/drm2/dist/drm/radeon/r600_dpm.c | 1357 +
sys/external/bsd/drm2/dist/drm/radeon/r600_dpm.h | 233 +
sys/external/bsd/drm2/dist/drm/radeon/r600_hdmi.c | 713 +
sys/external/bsd/drm2/dist/drm/radeon/r600_reg.h | 180 +
sys/external/bsd/drm2/dist/drm/radeon/r600d.h | 2302 ++
sys/external/bsd/drm2/dist/drm/radeon/radeon.h | 2931 +++
sys/external/bsd/drm2/dist/drm/radeon/radeon_acpi.c | 790 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_acpi.h | 445 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_agp.c | 285 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_asic.c | 2591 ++
sys/external/bsd/drm2/dist/drm/radeon/radeon_asic.h | 880 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_atombios.c | 4331 ++++
sys/external/bsd/drm2/dist/drm/radeon/radeon_benchmark.c | 250 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_bios.c | 701 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_clocks.c | 912 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_combios.c | 3603 +++
sys/external/bsd/drm2/dist/drm/radeon/radeon_connectors.c | 2141 ++
sys/external/bsd/drm2/dist/drm/radeon/radeon_cp.c | 2243 ++
sys/external/bsd/drm2/dist/drm/radeon/radeon_cs.c | 807 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_cursor.c | 314 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_device.c | 1725 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c | 1914 ++
sys/external/bsd/drm2/dist/drm/radeon/radeon_drv.c | 636 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_drv.h | 2168 ++
sys/external/bsd/drm2/dist/drm/radeon/radeon_encoders.c | 384 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_family.h | 122 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_fb.c | 405 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c | 834 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_gart.c | 394 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_gem.c | 638 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_i2c.c | 1157 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_ioc32.c | 424 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_irq.c | 402 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_irq_kms.c | 508 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_kms.c | 862 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_crtc.c | 1126 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c | 1810 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_tv.c | 923 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_mem.c | 302 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_mode.h | 912 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_object.c | 744 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_object.h | 193 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_pm.c | 1695 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_prime.c | 105 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_reg.h | 3725 +++
sys/external/bsd/drm2/dist/drm/radeon/radeon_ring.c | 839 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_sa.c | 419 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_semaphore.c | 205 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_state.c | 3261 +++
sys/external/bsd/drm2/dist/drm/radeon/radeon_test.c | 569 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_trace.h | 191 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_trace_points.c | 9 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c | 1030 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_ucode.h | 156 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_uvd.c | 963 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_vce.c | 770 +
sys/external/bsd/drm2/dist/drm/radeon/radeon_vm.c | 971 +
sys/external/bsd/drm2/dist/drm/radeon/reg_srcs/cayman | 642 +
sys/external/bsd/drm2/dist/drm/radeon/reg_srcs/evergreen | 644 +
sys/external/bsd/drm2/dist/drm/radeon/reg_srcs/r100 | 105 +
sys/external/bsd/drm2/dist/drm/radeon/reg_srcs/r200 | 186 +
sys/external/bsd/drm2/dist/drm/radeon/reg_srcs/r300 | 714 +
sys/external/bsd/drm2/dist/drm/radeon/reg_srcs/r420 | 780 +
sys/external/bsd/drm2/dist/drm/radeon/reg_srcs/r600 | 756 +
sys/external/bsd/drm2/dist/drm/radeon/reg_srcs/rn50 | 30 +
sys/external/bsd/drm2/dist/drm/radeon/reg_srcs/rs600 | 780 +
sys/external/bsd/drm2/dist/drm/radeon/reg_srcs/rv515 | 496 +
sys/external/bsd/drm2/dist/drm/radeon/rs100d.h | 40 +
sys/external/bsd/drm2/dist/drm/radeon/rs400.c | 581 +
sys/external/bsd/drm2/dist/drm/radeon/rs400d.h | 160 +
sys/external/bsd/drm2/dist/drm/radeon/rs600.c | 1157 +
sys/external/bsd/drm2/dist/drm/radeon/rs600d.h | 685 +
sys/external/bsd/drm2/dist/drm/radeon/rs690.c | 866 +
sys/external/bsd/drm2/dist/drm/radeon/rs690d.h | 313 +
sys/external/bsd/drm2/dist/drm/radeon/rs780_dpm.c | 1053 +
sys/external/bsd/drm2/dist/drm/radeon/rs780_dpm.h | 109 +
sys/external/bsd/drm2/dist/drm/radeon/rs780d.h | 171 +
sys/external/bsd/drm2/dist/drm/radeon/rv200d.h | 36 +
sys/external/bsd/drm2/dist/drm/radeon/rv250d.h | 123 +
sys/external/bsd/drm2/dist/drm/radeon/rv350d.h | 52 +
sys/external/bsd/drm2/dist/drm/radeon/rv515.c | 1302 +
sys/external/bsd/drm2/dist/drm/radeon/rv515d.h | 638 +
sys/external/bsd/drm2/dist/drm/radeon/rv6xx_dpm.c | 2112 ++
sys/external/bsd/drm2/dist/drm/radeon/rv6xx_dpm.h | 95 +
sys/external/bsd/drm2/dist/drm/radeon/rv6xxd.h | 246 +
sys/external/bsd/drm2/dist/drm/radeon/rv730_dpm.c | 508 +
sys/external/bsd/drm2/dist/drm/radeon/rv730d.h | 165 +
sys/external/bsd/drm2/dist/drm/radeon/rv740_dpm.c | 416 +
sys/external/bsd/drm2/dist/drm/radeon/rv740d.h | 117 +
sys/external/bsd/drm2/dist/drm/radeon/rv770.c | 2051 ++
sys/external/bsd/drm2/dist/drm/radeon/rv770_dma.c | 97 +
sys/external/bsd/drm2/dist/drm/radeon/rv770_dpm.c | 2543 ++
sys/external/bsd/drm2/dist/drm/radeon/rv770_dpm.h | 286 +
sys/external/bsd/drm2/dist/drm/radeon/rv770_smc.c | 631 +
sys/external/bsd/drm2/dist/drm/radeon/rv770_smc.h | 207 +
sys/external/bsd/drm2/dist/drm/radeon/rv770d.h | 1011 +
sys/external/bsd/drm2/dist/drm/radeon/si.c | 7302 +++++++
sys/external/bsd/drm2/dist/drm/radeon/si_blit_shaders.c | 253 +
sys/external/bsd/drm2/dist/drm/radeon/si_blit_shaders.h | 32 +
sys/external/bsd/drm2/dist/drm/radeon/si_dma.c | 225 +
sys/external/bsd/drm2/dist/drm/radeon/si_dpm.c | 6492 ++++++
sys/external/bsd/drm2/dist/drm/radeon/si_dpm.h | 227 +
sys/external/bsd/drm2/dist/drm/radeon/si_reg.h | 105 +
sys/external/bsd/drm2/dist/drm/radeon/si_smc.c | 298 +
sys/external/bsd/drm2/dist/drm/radeon/sid.h | 1848 +
sys/external/bsd/drm2/dist/drm/radeon/sislands_smc.h | 395 +
sys/external/bsd/drm2/dist/drm/radeon/smu7.h | 170 +
sys/external/bsd/drm2/dist/drm/radeon/smu7_discrete.h | 486 +
sys/external/bsd/drm2/dist/drm/radeon/smu7_fusion.h | 300 +
sys/external/bsd/drm2/dist/drm/radeon/sumo_dpm.c | 1912 ++
sys/external/bsd/drm2/dist/drm/radeon/sumo_dpm.h | 223 +
sys/external/bsd/drm2/dist/drm/radeon/sumo_smc.c | 221 +
sys/external/bsd/drm2/dist/drm/radeon/sumod.h | 372 +
sys/external/bsd/drm2/dist/drm/radeon/trinity_dpm.c | 1978 ++
sys/external/bsd/drm2/dist/drm/radeon/trinity_dpm.h | 134 +
sys/external/bsd/drm2/dist/drm/radeon/trinity_smc.c | 127 +
sys/external/bsd/drm2/dist/drm/radeon/trinityd.h | 228 +
sys/external/bsd/drm2/dist/drm/radeon/uvd_v1_0.c | 444 +
sys/external/bsd/drm2/dist/drm/radeon/uvd_v2_2.c | 165 +
sys/external/bsd/drm2/dist/drm/radeon/uvd_v3_1.c | 57 +
sys/external/bsd/drm2/dist/drm/radeon/uvd_v4_2.c | 68 +
sys/external/bsd/drm2/dist/drm/radeon/vce_v1_0.c | 187 +
sys/external/bsd/drm2/dist/drm/radeon/vce_v2_0.c | 181 +
sys/external/bsd/drm2/dist/drm/savage/savage_bci.c | 55 +-
sys/external/bsd/drm2/dist/drm/savage/savage_drv.c | 3 +-
sys/external/bsd/drm2/dist/drm/savage/savage_drv.h | 7 +-
sys/external/bsd/drm2/dist/drm/savage/savage_state.c | 8 +-
sys/external/bsd/drm2/dist/drm/sis/sis_drv.c | 6 +-
sys/external/bsd/drm2/dist/drm/sis/sis_drv.h | 2 +-
sys/external/bsd/drm2/dist/drm/sis/sis_mm.c | 23 +-
sys/external/bsd/drm2/dist/drm/tdfx/tdfx_drv.c | 2 -
sys/external/bsd/drm2/dist/drm/ttm/Makefile | 6 +-
sys/external/bsd/drm2/dist/drm/ttm/ttm_agp_backend.c | 1 +
sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c | 386 +-
sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_manager.c | 54 +-
sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c | 79 +-
sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_vm.c | 369 +-
sys/external/bsd/drm2/dist/drm/ttm/ttm_execbuf_util.c | 118 +-
sys/external/bsd/drm2/dist/drm/ttm/ttm_lock.c | 8 -
sys/external/bsd/drm2/dist/drm/ttm/ttm_object.c | 394 +-
sys/external/bsd/drm2/dist/drm/ttm/ttm_page_alloc.c | 44 +-
sys/external/bsd/drm2/dist/drm/ttm/ttm_page_alloc_dma.c | 54 +-
sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c | 34 +-
sys/external/bsd/drm2/dist/drm/via/via_dma.c | 14 +-
sys/external/bsd/drm2/dist/drm/via/via_dmablit.c | 20 +-
sys/external/bsd/drm2/dist/drm/via/via_drv.c | 5 +-
sys/external/bsd/drm2/dist/drm/via/via_drv.h | 4 +-
sys/external/bsd/drm2/dist/drm/via/via_irq.c | 10 +-
sys/external/bsd/drm2/dist/drm/via/via_map.c | 1 -
sys/external/bsd/drm2/dist/drm/via/via_mm.c | 19 +-
sys/external/bsd/drm2/dist/drm/via/via_video.c | 8 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/Makefile | 2 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/svga3d_reg.h | 757 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/svga3d_surfacedefs.h | 11 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/svga_reg.h | 17 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_buffer.c | 559 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_context.c | 635 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_dmabuf.c | 25 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_drv.c | 507 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_drv.h | 368 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_execbuf.c | 1220 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fb.c | 14 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fence.c | 9 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fifo.c | 107 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_gmr.c | 235 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_gmrid_manager.c | 15 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_ioctl.c | 160 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_irq.c | 2 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_kms.h | 3 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_ldu.c | 12 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_mob.c | 656 +
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_prime.c | 137 +
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_resource.c | 456 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_scrn.c | 13 +-
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_shader.c | 811 +
sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_surface.c | 618 +-
sys/external/bsd/drm2/dist/include/drm/drm_agpsupport.h | 177 +
sys/external/bsd/drm2/dist/include/drm/drm_dp_helper.h | 222 +-
sys/external/bsd/drm2/dist/include/drm/drm_edid.h | 20 +
sys/external/bsd/drm2/dist/include/drm/drm_encoder_slave.h | 20 +
sys/external/bsd/drm2/dist/include/drm/drm_fb_cma_helper.h | 31 +
sys/external/bsd/drm2/dist/include/drm/drm_fixed.h | 94 +
sys/external/bsd/drm2/dist/include/drm/drm_flip_work.h | 76 +
sys/external/bsd/drm2/dist/include/drm/drm_gem_cma_helper.h | 54 +
sys/external/bsd/drm2/dist/include/drm/drm_modes.h | 237 +
sys/external/bsd/drm2/dist/include/drm/drm_os_linux.h | 65 +
sys/external/bsd/drm2/dist/include/drm/drm_panel.h | 82 +
sys/external/bsd/drm2/dist/include/drm/drm_pciids.h | 805 +
sys/external/bsd/drm2/dist/include/drm/drm_plane_helper.h | 49 +
sys/external/bsd/drm2/dist/include/drm/drm_rect.h | 167 +
sys/external/bsd/drm2/dist/include/drm/drm_sysfs.h | 12 +
sys/external/bsd/drm2/dist/include/drm/drm_usb.h | 15 +
sys/external/bsd/drm2/dist/include/drm/drm_vma_manager.h | 257 +
sys/external/bsd/drm2/dist/include/drm/i2c/tda998x.h | 30 +
sys/external/bsd/drm2/dist/include/drm/i915_drm.h | 58 +
sys/external/bsd/drm2/dist/include/drm/i915_pciids.h | 236 +
sys/external/bsd/drm2/dist/include/drm/i915_powerwell.h | 36 +
sys/external/bsd/drm2/dist/include/drm/intel-gtt.h | 32 +
sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_api.h | 56 +-
sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_driver.h | 212 +-
sys/external/bsd/drm2/dist/include/drm/ttm/ttm_execbuf_util.h | 13 +-
sys/external/bsd/drm2/dist/include/drm/ttm/ttm_object.h | 83 +-
sys/external/bsd/drm2/dist/include/drm/ttm/ttm_page_alloc.h | 13 +-
sys/external/bsd/drm2/dist/include/drm/ttm/ttm_placement.h | 3 +
sys/external/bsd/drm2/dist/uapi/drm/Kbuild | 3 +
sys/external/bsd/drm2/dist/uapi/drm/i915_drm.h | 91 +-
sys/external/bsd/drm2/dist/uapi/drm/qxl_drm.h | 152 +
sys/external/bsd/drm2/dist/uapi/drm/radeon_drm.h | 56 +
sys/external/bsd/drm2/dist/uapi/drm/tegra_drm.h | 154 +
sys/external/bsd/drm2/dist/uapi/drm/vmwgfx_drm.h | 274 +-
471 files changed, 269925 insertions(+), 5660 deletions(-)
diffs (truncated from 287249 to 300 lines):
diff -r 739093fabb59 -r d61259eef7d1 sys/external/bsd/drm2/dist/drm/Kconfig
--- a/sys/external/bsd/drm2/dist/drm/Kconfig Wed Jul 16 19:31:11 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/Kconfig Wed Jul 16 19:35:23 2014 +0000
@@ -6,7 +6,8 @@
#
menuconfig DRM
tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
- depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU
+ depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU && HAS_DMA
+ select HDMI
select I2C
select I2C_ALGOBIT
select DMA_SHARED_BUFFER
@@ -19,6 +20,10 @@
details. You should also select and configure AGP
(/dev/agpgart) support if it is available for your platform.
+config DRM_MIPI_DSI
+ bool
+ depends on DRM
+
config DRM_USB
tristate
depends on DRM
@@ -28,11 +33,17 @@
config DRM_KMS_HELPER
tristate
depends on DRM
+ help
+ CRTC helpers for KMS drivers.
+
+config DRM_KMS_FB_HELPER
+ bool
+ depends on DRM_KMS_HELPER
select FB
select FRAMEBUFFER_CONSOLE if !EXPERT
select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
help
- FB and CRTC helpers for KMS drivers.
+ FBDEV helpers for KMS drivers.
config DRM_LOAD_EDID_FIRMWARE
bool "Allow to specify an EDID data set instead of probing for it"
@@ -63,12 +74,15 @@
config DRM_KMS_CMA_HELPER
bool
select DRM_GEM_CMA_HELPER
+ select DRM_KMS_FB_HELPER
select FB_SYS_FILLRECT
select FB_SYS_COPYAREA
select FB_SYS_IMAGEBLIT
help
Choose this if you need the KMS CMA helper functions
+source "drivers/gpu/drm/i2c/Kconfig"
+
config DRM_TDFX
tristate "3dfx Banshee/Voodoo3+"
depends on DRM && PCI
@@ -93,9 +107,11 @@
select FB_CFB_IMAGEBLIT
select FW_LOADER
select DRM_KMS_HELPER
+ select DRM_KMS_FB_HELPER
select DRM_TTM
select POWER_SUPPLY
select HWMON
+ select BACKLIGHT_CLASS_DEVICE
help
Choose this option if you have an ATI Radeon graphics card. There
are both PCI and AGP versions. You don't need to choose this to
@@ -116,52 +132,7 @@
selected, the module will be called i810. AGP support is required
for this driver to work.
-config DRM_I915
- tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
- depends on DRM
- depends on AGP
- depends on AGP_INTEL
- # we need shmfs for the swappable backing store, and in particular
- # the shmem_readpage() which depends upon tmpfs
- select SHMEM
- select TMPFS
- select DRM_KMS_HELPER
- select FB_CFB_FILLRECT
- select FB_CFB_COPYAREA
- select FB_CFB_IMAGEBLIT
- # i915 depends on ACPI_VIDEO when ACPI is enabled
- # but for select to work, need to select ACPI_VIDEO's dependencies, ick
- select BACKLIGHT_LCD_SUPPORT if ACPI
- select BACKLIGHT_CLASS_DEVICE if ACPI
- select VIDEO_OUTPUT_CONTROL if ACPI
- select INPUT if ACPI
- select ACPI_VIDEO if ACPI
- select ACPI_BUTTON if ACPI
- help
- Choose this option if you have a system that has "Intel Graphics
- Media Accelerator" or "HD Graphics" integrated graphics,
- including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
- G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
- Core i5, Core i7 as well as Atom CPUs with integrated graphics.
- If M is selected, the module will be called i915. AGP support
- is required for this driver to work. This driver is used by
- the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
- replaces the older i830 module that supported a subset of the
- hardware in older X.org releases.
-
- Note that the older i810/i815 chipsets require the use of the
- i810 driver instead, and the Atom z5xx series has an entirely
- different implementation.
-
-config DRM_I915_KMS
- bool "Enable modesetting on intel by default"
- depends on DRM_I915
- help
- Choose this option if you want kernel modesetting enabled by default,
- and you have a new enough userspace to support this. Running old
- userspaces with this enabled will cause pain. Note that this causes
- the driver to bind to PCI devices, which precludes loading things
- like intelfb.
+source "drivers/gpu/drm/i915/Kconfig"
config DRM_MGA
tristate "Matrox g200/g400"
@@ -209,6 +180,24 @@
source "drivers/gpu/drm/cirrus/Kconfig"
+source "drivers/gpu/drm/armada/Kconfig"
+
+source "drivers/gpu/drm/rcar-du/Kconfig"
+
source "drivers/gpu/drm/shmobile/Kconfig"
+source "drivers/gpu/drm/omapdrm/Kconfig"
+
+source "drivers/gpu/drm/tilcdc/Kconfig"
+
+source "drivers/gpu/drm/qxl/Kconfig"
+
+source "drivers/gpu/drm/bochs/Kconfig"
+
+source "drivers/gpu/drm/msm/Kconfig"
+
source "drivers/gpu/drm/tegra/Kconfig"
+
+source "drivers/gpu/drm/panel/Kconfig"
+
+source "drivers/gpu/drm/bridge/Kconfig"
diff -r 739093fabb59 -r d61259eef7d1 sys/external/bsd/drm2/dist/drm/Makefile
--- a/sys/external/bsd/drm2/dist/drm/Makefile Wed Jul 16 19:31:11 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/Makefile Wed Jul 16 19:35:23 2014 +0000
@@ -7,21 +7,25 @@
drm-y := drm_auth.o drm_buffer.o drm_bufs.o drm_cache.o \
drm_context.o drm_dma.o \
drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
- drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
+ drm_lock.o drm_memory.o drm_stub.o drm_vm.o \
drm_agpsupport.o drm_scatter.o drm_pci.o \
drm_platform.o drm_sysfs.o drm_hashtab.o drm_mm.o \
drm_crtc.o drm_modes.o drm_edid.o \
drm_info.o drm_debugfs.o drm_encoder_slave.o \
- drm_trace_points.o drm_global.o drm_prime.o
+ drm_trace_points.o drm_global.o drm_prime.o \
+ drm_rect.o drm_vma_manager.o drm_flip_work.o \
+ drm_plane_helper.o
drm-$(CONFIG_COMPAT) += drm_ioc32.o
drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
drm-$(CONFIG_PCI) += ati_pcigart.o
+drm-$(CONFIG_DRM_PANEL) += drm_panel.o
drm-usb-y := drm_usb.o
-drm_kms_helper-y := drm_fb_helper.o drm_crtc_helper.o drm_dp_helper.o
+drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o
drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
+drm_kms_helper-$(CONFIG_DRM_KMS_FB_HELPER) += drm_fb_helper.o
drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
@@ -29,6 +33,7 @@
CFLAGS_drm_trace_points.o := -I$(src)
obj-$(CONFIG_DRM) += drm.o
+obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o
obj-$(CONFIG_DRM_USB) += drm_usb.o
obj-$(CONFIG_DRM_TTM) += ttm/
obj-$(CONFIG_DRM_TDFX) += tdfx/
@@ -48,6 +53,15 @@
obj-$(CONFIG_DRM_GMA500) += gma500/
obj-$(CONFIG_DRM_UDL) += udl/
obj-$(CONFIG_DRM_AST) += ast/
+obj-$(CONFIG_DRM_ARMADA) += armada/
+obj-$(CONFIG_DRM_RCAR_DU) += rcar-du/
obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
+obj-$(CONFIG_DRM_OMAP) += omapdrm/
+obj-$(CONFIG_DRM_TILCDC) += tilcdc/
+obj-$(CONFIG_DRM_QXL) += qxl/
+obj-$(CONFIG_DRM_BOCHS) += bochs/
+obj-$(CONFIG_DRM_MSM) += msm/
obj-$(CONFIG_DRM_TEGRA) += tegra/
obj-y += i2c/
+obj-y += panel/
+obj-y += bridge/
diff -r 739093fabb59 -r d61259eef7d1 sys/external/bsd/drm2/dist/drm/ast/Kconfig
--- a/sys/external/bsd/drm2/dist/drm/ast/Kconfig Wed Jul 16 19:31:11 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ast/Kconfig Wed Jul 16 19:35:23 2014 +0000
@@ -1,11 +1,12 @@
config DRM_AST
tristate "AST server chips"
- depends on DRM && PCI && EXPERIMENTAL
+ depends on DRM && PCI
select DRM_TTM
select FB_SYS_COPYAREA
select FB_SYS_FILLRECT
select FB_SYS_IMAGEBLIT
select DRM_KMS_HELPER
+ select DRM_KMS_FB_HELPER
select DRM_TTM
help
Say yes for experimental AST GPU driver. Do not enable
diff -r 739093fabb59 -r d61259eef7d1 sys/external/bsd/drm2/dist/drm/ast/ast_drv.c
--- a/sys/external/bsd/drm2/dist/drm/ast/ast_drv.c Wed Jul 16 19:31:11 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ast/ast_drv.c Wed Jul 16 19:35:23 2014 +0000
@@ -94,9 +94,9 @@
ast_post_gpu(dev);
drm_mode_config_reset(dev);
- mutex_lock(&dev->mode_config.mutex);
+ drm_modeset_lock_all(dev);
drm_helper_resume_force_mode(dev);
- mutex_unlock(&dev->mode_config.mutex);
+ drm_modeset_unlock_all(dev);
console_lock();
ast_fbdev_set_suspend(dev, 0);
@@ -190,7 +190,6 @@
.unlocked_ioctl = drm_ioctl,
.mmap = ast_mmap,
.poll = drm_poll,
- .fasync = drm_fasync,
#ifdef CONFIG_COMPAT
.compat_ioctl = drm_compat_ioctl,
#endif
@@ -198,7 +197,7 @@
};
static struct drm_driver driver = {
- .driver_features = DRIVER_USE_MTRR | DRIVER_MODESET | DRIVER_GEM,
+ .driver_features = DRIVER_MODESET | DRIVER_GEM,
.dev_priv_size = 0,
.load = ast_driver_load,
@@ -212,11 +211,10 @@
.minor = DRIVER_MINOR,
.patchlevel = DRIVER_PATCHLEVEL,
- .gem_init_object = ast_gem_init_object,
.gem_free_object = ast_gem_free_object,
.dumb_create = ast_dumb_create,
.dumb_map_offset = ast_dumb_mmap_offset,
- .dumb_destroy = ast_dumb_destroy,
+ .dumb_destroy = drm_gem_dumb_destroy,
};
diff -r 739093fabb59 -r d61259eef7d1 sys/external/bsd/drm2/dist/drm/ast/ast_drv.h
--- a/sys/external/bsd/drm2/dist/drm/ast/ast_drv.h Wed Jul 16 19:31:11 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ast/ast_drv.h Wed Jul 16 19:35:23 2014 +0000
@@ -98,6 +98,8 @@
struct drm_gem_object *cursor_cache;
uint64_t cursor_cache_gpu_addr;
+ /* Acces to this cache is protected by the crtc->mutex of the only crtc
+ * we have. */
struct ttm_bo_kmap_obj cache_kmap;
int next_cursor;
};
@@ -175,7 +177,7 @@
static inline void ast_open_key(struct ast_private *ast)
{
- ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xA1, 0xFF, 0x04);
+ ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x80, 0xA8);
}
#define AST_VIDMEM_SIZE_8M 0x00800000
@@ -239,6 +241,8 @@
void *sysram;
int size;
struct ttm_bo_kmap_obj mapping;
+ int x1, y1, x2, y2; /* dirty rect */
+ spinlock_t dirty_lock;
};
#define to_ast_crtc(x) container_of(x, struct ast_crtc, base)
@@ -318,11 +322,7 @@
extern int ast_dumb_create(struct drm_file *file,
Home |
Main Index |
Thread Index |
Old Index