Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist sync with HEAD and actua...



details:   https://anonhg.NetBSD.org/src/rev/e9a7efa84752
branches:  riastradh-drm2
changeset: 787990:e9a7efa84752
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Jul 23 21:28:21 2013 +0000

description:
sync with HEAD and actually get the drm2 import

diffstat:

 sys/external/bsd/drm2/dist/drm/Kconfig                        |   214 +
 sys/external/bsd/drm2/dist/drm/Makefile                       |    53 +
 sys/external/bsd/drm2/dist/drm/README.drm                     |    43 +
 sys/external/bsd/drm2/dist/drm/ast/Kconfig                    |    16 +
 sys/external/bsd/drm2/dist/drm/ast/Makefile                   |     9 +
 sys/external/bsd/drm2/dist/drm/ast/ast_dram_tables.h          |   144 +
 sys/external/bsd/drm2/dist/drm/ast/ast_drv.c                  |   245 +
 sys/external/bsd/drm2/dist/drm/ast/ast_drv.h                  |   355 +
 sys/external/bsd/drm2/dist/drm/ast/ast_fb.c                   |   340 +
 sys/external/bsd/drm2/dist/drm/ast/ast_main.c                 |   527 +
 sys/external/bsd/drm2/dist/drm/ast/ast_mode.c                 |  1160 +
 sys/external/bsd/drm2/dist/drm/ast/ast_post.c                 |  1780 +
 sys/external/bsd/drm2/dist/drm/ast/ast_tables.h               |   265 +
 sys/external/bsd/drm2/dist/drm/ast/ast_ttm.c                  |   453 +
 sys/external/bsd/drm2/dist/drm/ati_pcigart.c                  |   202 +
 sys/external/bsd/drm2/dist/drm/drm_agpsupport.c               |   469 +
 sys/external/bsd/drm2/dist/drm/drm_auth.c                     |   194 +
 sys/external/bsd/drm2/dist/drm/drm_buffer.c                   |   185 +
 sys/external/bsd/drm2/dist/drm/drm_bufs.c                     |  1614 +
 sys/external/bsd/drm2/dist/drm/drm_cache.c                    |   149 +
 sys/external/bsd/drm2/dist/drm/drm_context.c                  |   463 +
 sys/external/bsd/drm2/dist/drm/drm_crtc.c                     |  3904 ++++
 sys/external/bsd/drm2/dist/drm/drm_crtc_helper.c              |  1096 +
 sys/external/bsd/drm2/dist/drm/drm_debugfs.c                  |   241 +
 sys/external/bsd/drm2/dist/drm/drm_dma.c                      |   157 +
 sys/external/bsd/drm2/dist/drm/drm_dp_helper.c                |   348 +
 sys/external/bsd/drm2/dist/drm/drm_drv.c                      |   496 +
 sys/external/bsd/drm2/dist/drm/drm_edid.c                     |  2100 ++
 sys/external/bsd/drm2/dist/drm/drm_edid_modes.h               |   774 +
 sys/external/bsd/drm2/dist/drm/drm_encoder_slave.c            |   125 +
 sys/external/bsd/drm2/dist/drm/drm_fb_helper.c                |  1426 +
 sys/external/bsd/drm2/dist/drm/drm_fops.c                     |   637 +
 sys/external/bsd/drm2/dist/drm/drm_gem.c                      |   729 +
 sys/external/bsd/drm2/dist/drm/drm_global.c                   |   112 +
 sys/external/bsd/drm2/dist/drm/drm_hashtab.c                  |   211 +
 sys/external/bsd/drm2/dist/drm/drm_info.c                     |   278 +
 sys/external/bsd/drm2/dist/drm/drm_ioc32.c                    |  1085 +
 sys/external/bsd/drm2/dist/drm/drm_ioctl.c                    |   363 +
 sys/external/bsd/drm2/dist/drm/drm_irq.c                      |  1404 +
 sys/external/bsd/drm2/dist/drm/drm_lock.c                     |   373 +
 sys/external/bsd/drm2/dist/drm/drm_memory.c                   |   144 +
 sys/external/bsd/drm2/dist/drm/drm_mm.c                       |   762 +
 sys/external/bsd/drm2/dist/drm/drm_modes.c                    |  1178 +
 sys/external/bsd/drm2/dist/drm/drm_pci.c                      |   516 +
 sys/external/bsd/drm2/dist/drm/drm_platform.c                 |   205 +
 sys/external/bsd/drm2/dist/drm/drm_prime.c                    |   352 +
 sys/external/bsd/drm2/dist/drm/drm_proc.c                     |   220 +
 sys/external/bsd/drm2/dist/drm/drm_scatter.c                  |   213 +
 sys/external/bsd/drm2/dist/drm/drm_stub.c                     |   524 +
 sys/external/bsd/drm2/dist/drm/drm_vm.c                       |   675 +
 sys/external/bsd/drm2/dist/drm/i2c/Makefile                   |     7 +
 sys/external/bsd/drm2/dist/drm/i2c/ch7006_drv.c               |   552 +
 sys/external/bsd/drm2/dist/drm/i2c/ch7006_mode.c              |   471 +
 sys/external/bsd/drm2/dist/drm/i2c/ch7006_priv.h              |   345 +
 sys/external/bsd/drm2/dist/drm/i2c/sil164_drv.c               |   464 +
 sys/external/bsd/drm2/dist/drm/i810/Makefile                  |     8 +
 sys/external/bsd/drm2/dist/drm/i810/i810_dma.c                |  1278 +
 sys/external/bsd/drm2/dist/drm/i810/i810_drv.c                |   104 +
 sys/external/bsd/drm2/dist/drm/i810/i810_drv.h                |   243 +
 sys/external/bsd/drm2/dist/drm/i915/Makefile                  |    52 +
 sys/external/bsd/drm2/dist/drm/i915/dvo.h                     |   149 +
 sys/external/bsd/drm2/dist/drm/i915/dvo_ch7017.c              |   414 +
 sys/external/bsd/drm2/dist/drm/i915/dvo_ch7xxx.c              |   344 +
 sys/external/bsd/drm2/dist/drm/i915/dvo_ivch.c                |   436 +
 sys/external/bsd/drm2/dist/drm/i915/dvo_ns2501.c              |   588 +
 sys/external/bsd/drm2/dist/drm/i915/dvo_sil164.c              |   279 +
 sys/external/bsd/drm2/dist/drm/i915/dvo_tfp410.c              |   318 +
 sys/external/bsd/drm2/dist/drm/i915/i915_debugfs.c            |  2138 ++
 sys/external/bsd/drm2/dist/drm/i915/i915_dma.c                |  1874 +
 sys/external/bsd/drm2/dist/drm/i915/i915_drv.c                |  1326 +
 sys/external/bsd/drm2/dist/drm/i915/i915_drv.h                |  1748 +
 sys/external/bsd/drm2/dist/drm/i915/i915_gem.c                |  4423 ++++
 sys/external/bsd/drm2/dist/drm/i915/i915_gem_context.c        |   533 +
 sys/external/bsd/drm2/dist/drm/i915/i915_gem_debug.c          |   187 +
 sys/external/bsd/drm2/dist/drm/i915/i915_gem_dmabuf.c         |   305 +
 sys/external/bsd/drm2/dist/drm/i915/i915_gem_evict.c          |   185 +
 sys/external/bsd/drm2/dist/drm/i915/i915_gem_execbuffer.c     |  1226 +
 sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.c            |   708 +
 sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c         |   201 +
 sys/external/bsd/drm2/dist/drm/i915/i915_gem_tiling.c         |   517 +
 sys/external/bsd/drm2/dist/drm/i915/i915_ioc32.c              |   221 +
 sys/external/bsd/drm2/dist/drm/i915/i915_irq.c                |  2776 ++
 sys/external/bsd/drm2/dist/drm/i915/i915_reg.h                |  4660 ++++
 sys/external/bsd/drm2/dist/drm/i915/i915_suspend.c            |   900 +
 sys/external/bsd/drm2/dist/drm/i915/i915_sysfs.c              |   403 +
 sys/external/bsd/drm2/dist/drm/i915/intel_bios.c              |   766 +
 sys/external/bsd/drm2/dist/drm/i915/intel_bios.h              |   619 +
 sys/external/bsd/drm2/dist/drm/i915/intel_crt.c               |   809 +
 sys/external/bsd/drm2/dist/drm/i915/intel_ddi.c               |  1514 +
 sys/external/bsd/drm2/dist/drm/i915/intel_display.c           |  9518 ++++++++++
 sys/external/bsd/drm2/dist/drm/i915/intel_dp.c                |  2908 +++
 sys/external/bsd/drm2/dist/drm/i915/intel_drv.h               |   675 +
 sys/external/bsd/drm2/dist/drm/i915/intel_dvo.c               |   523 +
 sys/external/bsd/drm2/dist/drm/i915/intel_fb.c                |   294 +
 sys/external/bsd/drm2/dist/drm/i915/intel_hdmi.c              |  1073 +
 sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c               |   550 +
 sys/external/bsd/drm2/dist/drm/i915/intel_lvds.c              |  1136 +
 sys/external/bsd/drm2/dist/drm/i915/intel_modes.c             |   128 +
 sys/external/bsd/drm2/dist/drm/i915/intel_opregion.c          |   556 +
 sys/external/bsd/drm2/dist/drm/i915/intel_overlay.c           |  1537 +
 sys/external/bsd/drm2/dist/drm/i915/intel_panel.c             |   481 +
 sys/external/bsd/drm2/dist/drm/i915/intel_pm.c                |  4465 ++++
 sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c        |  1853 +
 sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.h        |   242 +
 sys/external/bsd/drm2/dist/drm/i915/intel_sdvo.c              |  2821 ++
 sys/external/bsd/drm2/dist/drm/i915/intel_sdvo_regs.h         |   730 +
 sys/external/bsd/drm2/dist/drm/i915/intel_sprite.c            |   730 +
 sys/external/bsd/drm2/dist/drm/i915/intel_tv.c                |  1673 +
 sys/external/bsd/drm2/dist/drm/mga/Makefile                   |    11 +
 sys/external/bsd/drm2/dist/drm/mga/mga_dma.c                  |  1154 +
 sys/external/bsd/drm2/dist/drm/mga/mga_drv.c                  |   143 +
 sys/external/bsd/drm2/dist/drm/mga/mga_drv.h                  |   666 +
 sys/external/bsd/drm2/dist/drm/mga/mga_ioc32.c                |   225 +
 sys/external/bsd/drm2/dist/drm/mga/mga_irq.c                  |   173 +
 sys/external/bsd/drm2/dist/drm/mga/mga_state.c                |  1102 +
 sys/external/bsd/drm2/dist/drm/mga/mga_warp.c                 |   169 +
 sys/external/bsd/drm2/dist/drm/r128/Makefile                  |    10 +
 sys/external/bsd/drm2/dist/drm/r128/r128_cce.c                |   937 +
 sys/external/bsd/drm2/dist/drm/r128/r128_drv.c                |   112 +
 sys/external/bsd/drm2/dist/drm/r128/r128_drv.h                |   530 +
 sys/external/bsd/drm2/dist/drm/r128/r128_ioc32.c              |   214 +
 sys/external/bsd/drm2/dist/drm/r128/r128_irq.c                |   115 +
 sys/external/bsd/drm2/dist/drm/r128/r128_state.c              |  1666 +
 sys/external/bsd/drm2/dist/drm/savage/Makefile                |     9 +
 sys/external/bsd/drm2/dist/drm/savage/savage_bci.c            |  1095 +
 sys/external/bsd/drm2/dist/drm/savage/savage_drv.c            |    93 +
 sys/external/bsd/drm2/dist/drm/savage/savage_drv.h            |   575 +
 sys/external/bsd/drm2/dist/drm/savage/savage_state.c          |  1163 +
 sys/external/bsd/drm2/dist/drm/sis/Makefile                   |    10 +
 sys/external/bsd/drm2/dist/drm/sis/sis_drv.c                  |   146 +
 sys/external/bsd/drm2/dist/drm/sis/sis_drv.h                  |    76 +
 sys/external/bsd/drm2/dist/drm/sis/sis_mm.c                   |   367 +
 sys/external/bsd/drm2/dist/drm/tdfx/Makefile                  |     8 +
 sys/external/bsd/drm2/dist/drm/tdfx/tdfx_drv.c                |    89 +
 sys/external/bsd/drm2/dist/drm/tdfx/tdfx_drv.h                |    47 +
 sys/external/bsd/drm2/dist/drm/ttm/Makefile                   |    14 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_agp_backend.c          |   151 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c                   |  1878 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_manager.c           |   157 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c              |   694 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_vm.c                |   465 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_execbuf_util.c         |   234 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_lock.c                 |   310 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_memory.c               |   601 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_module.c               |   102 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_object.c               |   454 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_page_alloc.c           |   919 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_page_alloc_dma.c       |  1131 +
 sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c                   |   377 +
 sys/external/bsd/drm2/dist/drm/via/Makefile                   |     8 +
 sys/external/bsd/drm2/dist/drm/via/via_3d_reg.h               |  1650 +
 sys/external/bsd/drm2/dist/drm/via/via_dma.c                  |   740 +
 sys/external/bsd/drm2/dist/drm/via/via_dmablit.c              |   808 +
 sys/external/bsd/drm2/dist/drm/via/via_dmablit.h              |   140 +
 sys/external/bsd/drm2/dist/drm/via/via_drv.c                  |   125 +
 sys/external/bsd/drm2/dist/drm/via/via_drv.h                  |   160 +
 sys/external/bsd/drm2/dist/drm/via/via_irq.c                  |   391 +
 sys/external/bsd/drm2/dist/drm/via/via_map.c                  |   129 +
 sys/external/bsd/drm2/dist/drm/via/via_mm.c                   |   244 +
 sys/external/bsd/drm2/dist/drm/via/via_verifier.c             |  1110 +
 sys/external/bsd/drm2/dist/drm/via/via_verifier.h             |    62 +
 sys/external/bsd/drm2/dist/drm/via/via_video.c                |    93 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/Kconfig                 |    22 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/Makefile                |    11 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/svga3d_reg.h            |  1896 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/svga3d_surfacedefs.h    |   909 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/svga_escape.h           |    89 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/svga_overlay.h          |   201 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/svga_reg.h              |  1552 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/svga_types.h            |    45 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_buffer.c         |   352 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_context.c        |   274 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_dmabuf.c         |   320 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_drv.c            |  1208 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_drv.h            |   768 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_execbuf.c        |  1773 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fb.c             |   655 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fence.c          |  1154 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fence.h          |   120 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fifo.c           |   568 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_gmr.c            |   280 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_gmrid_manager.c  |   161 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_ioctl.c          |   334 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_irq.c            |   324 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_kms.c            |  2037 ++
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_kms.h            |   166 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_ldu.c            |   444 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_marker.c         |   171 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_overlay.c        |   619 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_reg.h            |    57 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_resource.c       |  1299 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_resource_priv.h  |    84 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_scrn.c           |   571 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_surface.c        |   893 +
 sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_ttm_glue.c       |    98 +
 sys/external/bsd/drm2/dist/include/drm/drmP.h                 |  1779 +
 sys/external/bsd/drm2/dist/include/drm/drm_buffer.h           |   148 +
 sys/external/bsd/drm2/dist/include/drm/drm_cache.h            |    38 +
 sys/external/bsd/drm2/dist/include/drm/drm_core.h             |    34 +
 sys/external/bsd/drm2/dist/include/drm/drm_crtc.h             |  1077 +
 sys/external/bsd/drm2/dist/include/drm/drm_crtc_helper.h      |   172 +
 sys/external/bsd/drm2/dist/include/drm/drm_dp_helper.h        |   364 +
 sys/external/bsd/drm2/dist/include/drm/drm_edid.h             |   257 +
 sys/external/bsd/drm2/dist/include/drm/drm_encoder_slave.h    |   162 +
 sys/external/bsd/drm2/dist/include/drm/drm_fb_helper.h        |   120 +
 sys/external/bsd/drm2/dist/include/drm/drm_fixed.h            |    68 +
 sys/external/bsd/drm2/dist/include/drm/drm_global.h           |    53 +
 sys/external/bsd/drm2/dist/include/drm/drm_hashtab.h          |    79 +
 sys/external/bsd/drm2/dist/include/drm/drm_mem_util.h         |    65 +
 sys/external/bsd/drm2/dist/include/drm/drm_memory.h           |    59 +
 sys/external/bsd/drm2/dist/include/drm/drm_mm.h               |   268 +
 sys/external/bsd/drm2/dist/include/drm/i2c/ch7006.h           |    86 +
 sys/external/bsd/drm2/dist/include/drm/i2c/sil164.h           |    63 +
 sys/external/bsd/drm2/dist/include/drm/i915_drm.h             |    37 +
 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_api.h       |   742 +
 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_driver.h    |  1011 +
 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_execbuf_util.h |   109 +
 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_lock.h         |   247 +
 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_memory.h       |   158 +
 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_module.h       |    40 +
 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_object.h       |   275 +
 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_page_alloc.h   |    99 +
 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_placement.h    |    92 +
 sys/external/bsd/drm2/dist/uapi/drm/Kbuild                    |    16 +
 sys/external/bsd/drm2/dist/uapi/drm/drm.h                     |   831 +
 sys/external/bsd/drm2/dist/uapi/drm/drm_fourcc.h              |   135 +
 sys/external/bsd/drm2/dist/uapi/drm/drm_mode.h                |   463 +
 sys/external/bsd/drm2/dist/uapi/drm/drm_sarea.h               |    86 +
 sys/external/bsd/drm2/dist/uapi/drm/i810_drm.h                |   281 +
 sys/external/bsd/drm2/dist/uapi/drm/i915_drm.h                |   963 +
 sys/external/bsd/drm2/dist/uapi/drm/mga_drm.h                 |   419 +
 sys/external/bsd/drm2/dist/uapi/drm/nouveau_drm.h             |   138 +
 sys/external/bsd/drm2/dist/uapi/drm/r128_drm.h                |   326 +
 sys/external/bsd/drm2/dist/uapi/drm/radeon_drm.h              |   982 +
 sys/external/bsd/drm2/dist/uapi/drm/savage_drm.h              |   210 +
 sys/external/bsd/drm2/dist/uapi/drm/sis_drm.h                 |    71 +
 sys/external/bsd/drm2/dist/uapi/drm/via_drm.h                 |   281 +
 sys/external/bsd/drm2/dist/uapi/drm/vmwgfx_drm.h              |   790 +
 238 files changed, 152713 insertions(+), 0 deletions(-)

diffs (truncated from 153666 to 300 lines):

diff -r da20919a3791 -r e9a7efa84752 sys/external/bsd/drm2/dist/drm/Kconfig
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/bsd/drm2/dist/drm/Kconfig    Tue Jul 23 21:28:21 2013 +0000
@@ -0,0 +1,214 @@
+#
+# Drm device configuration
+#
+# This driver provides support for the
+# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
+#
+menuconfig DRM
+       tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
+       depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU
+       select I2C
+       select I2C_ALGOBIT
+       select DMA_SHARED_BUFFER
+       help
+         Kernel-level support for the Direct Rendering Infrastructure (DRI)
+         introduced in XFree86 4.0. If you say Y here, you need to select
+         the module that's right for your graphics card from the list below.
+         These modules provide support for synchronization, security, and
+         DMA transfers. Please see <http://dri.sourceforge.net/> for more
+         details.  You should also select and configure AGP
+         (/dev/agpgart) support if it is available for your platform.
+
+config DRM_USB
+       tristate
+       depends on DRM
+       depends on USB_SUPPORT && USB_ARCH_HAS_HCD
+       select USB
+
+config DRM_KMS_HELPER
+       tristate
+       depends on DRM
+       select FB
+       select FRAMEBUFFER_CONSOLE if !EXPERT
+       select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
+       help
+         FB and CRTC helpers for KMS drivers.
+
+config DRM_LOAD_EDID_FIRMWARE
+       bool "Allow to specify an EDID data set instead of probing for it"
+       depends on DRM_KMS_HELPER
+       help
+         Say Y here, if you want to use EDID data to be loaded from the
+         /lib/firmware directory or one of the provided built-in
+         data sets. This may be necessary, if the graphics adapter or
+         monitor are unable to provide appropriate EDID data. Since this
+         feature is provided as a workaround for broken hardware, the
+         default case is N. Details and instructions how to build your own
+         EDID data are given in Documentation/EDID/HOWTO.txt.
+
+config DRM_TTM
+       tristate
+       depends on DRM
+       help
+         GPU memory management subsystem for devices with multiple
+         GPU memory types. Will be enabled automatically if a device driver
+         uses it.
+
+config DRM_GEM_CMA_HELPER
+       bool
+       depends on DRM
+       help
+         Choose this if you need the GEM CMA helper functions
+
+config DRM_KMS_CMA_HELPER
+       bool
+       select DRM_GEM_CMA_HELPER
+       select FB_SYS_FILLRECT
+       select FB_SYS_COPYAREA
+       select FB_SYS_IMAGEBLIT
+       help
+         Choose this if you need the KMS CMA helper functions
+
+config DRM_TDFX
+       tristate "3dfx Banshee/Voodoo3+"
+       depends on DRM && PCI
+       help
+         Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
+         graphics card.  If M is selected, the module will be called tdfx.
+
+config DRM_R128
+       tristate "ATI Rage 128"
+       depends on DRM && PCI
+       select FW_LOADER
+       help
+         Choose this option if you have an ATI Rage 128 graphics card.  If M
+         is selected, the module will be called r128.  AGP support for
+         this card is strongly suggested (unless you have a PCI version).
+
+config DRM_RADEON
+       tristate "ATI Radeon"
+       depends on DRM && PCI
+       select FB_CFB_FILLRECT
+       select FB_CFB_COPYAREA
+       select FB_CFB_IMAGEBLIT
+       select FW_LOADER
+        select DRM_KMS_HELPER
+        select DRM_TTM
+       select POWER_SUPPLY
+       select HWMON
+       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
+         run the Radeon in plain VGA mode.
+
+         If M is selected, the module will be called radeon.
+
+source "drivers/gpu/drm/radeon/Kconfig"
+
+source "drivers/gpu/drm/nouveau/Kconfig"
+
+config DRM_I810
+       tristate "Intel I810"
+       # !PREEMPT because of missing ioctl locking
+       depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
+       help
+         Choose this option if you have an Intel I810 graphics card.  If M is
+         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.
+
+config DRM_MGA
+       tristate "Matrox g200/g400"
+       depends on DRM && PCI
+       select FW_LOADER
+       help
+         Choose this option if you have a Matrox G200, G400 or G450 graphics
+         card.  If M is selected, the module will be called mga.  AGP
+         support is required for this driver to work.
+
+config DRM_SIS
+       tristate "SiS video cards"
+       depends on DRM && AGP
+       depends on FB_SIS || FB_SIS=n
+       help
+         Choose this option if you have a SiS 630 or compatible video
+          chipset. If M is selected the module will be called sis. AGP
+          support is required for this driver to work.
+
+config DRM_VIA
+       tristate "Via unichrome video cards"
+       depends on DRM && PCI
+       help
+         Choose this option if you have a Via unichrome or compatible video
+         chipset. If M is selected the module will be called via.
+
+config DRM_SAVAGE
+       tristate "Savage video cards"
+       depends on DRM && PCI
+       help
+         Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
+         chipset. If M is selected the module will be called savage.
+
+source "drivers/gpu/drm/exynos/Kconfig"
+
+source "drivers/gpu/drm/vmwgfx/Kconfig"
+
+source "drivers/gpu/drm/gma500/Kconfig"
+
+source "drivers/gpu/drm/udl/Kconfig"
+
+source "drivers/gpu/drm/ast/Kconfig"
+
+source "drivers/gpu/drm/mgag200/Kconfig"
+
+source "drivers/gpu/drm/cirrus/Kconfig"
+
+source "drivers/gpu/drm/shmobile/Kconfig"
+
+source "drivers/gpu/drm/tegra/Kconfig"
diff -r da20919a3791 -r e9a7efa84752 sys/external/bsd/drm2/dist/drm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/bsd/drm2/dist/drm/Makefile   Tue Jul 23 21:28:21 2013 +0000
@@ -0,0 +1,53 @@
+#
+# Makefile for the drm device driver.  This driver provides support for the
+# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
+
+ccflags-y := -Iinclude/drm
+
+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_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-$(CONFIG_COMPAT) += drm_ioc32.o
+drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
+drm-$(CONFIG_PCI) += ati_pcigart.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-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
+drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
+
+obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
+
+CFLAGS_drm_trace_points.o := -I$(src)
+
+obj-$(CONFIG_DRM)      += drm.o
+obj-$(CONFIG_DRM_USB)   += drm_usb.o
+obj-$(CONFIG_DRM_TTM)  += ttm/
+obj-$(CONFIG_DRM_TDFX) += tdfx/
+obj-$(CONFIG_DRM_R128) += r128/
+obj-$(CONFIG_DRM_RADEON)+= radeon/
+obj-$(CONFIG_DRM_MGA)  += mga/
+obj-$(CONFIG_DRM_I810) += i810/
+obj-$(CONFIG_DRM_I915)  += i915/
+obj-$(CONFIG_DRM_MGAG200) += mgag200/
+obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
+obj-$(CONFIG_DRM_SIS)   += sis/
+obj-$(CONFIG_DRM_SAVAGE)+= savage/
+obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
+obj-$(CONFIG_DRM_VIA)  +=via/
+obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
+obj-$(CONFIG_DRM_EXYNOS) +=exynos/
+obj-$(CONFIG_DRM_GMA500) += gma500/
+obj-$(CONFIG_DRM_UDL) += udl/
+obj-$(CONFIG_DRM_AST) += ast/
+obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
+obj-$(CONFIG_DRM_TEGRA) += tegra/
+obj-y                  += i2c/
diff -r da20919a3791 -r e9a7efa84752 sys/external/bsd/drm2/dist/drm/README.drm
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/bsd/drm2/dist/drm/README.drm Tue Jul 23 21:28:21 2013 +0000
@@ -0,0 +1,43 @@
+************************************************************
+* For the very latest on DRI development, please see:      *
+*     http://dri.freedesktop.org/                          *
+************************************************************
+
+The Direct Rendering Manager (drm) is a device-independent kernel-level
+device driver that provides support for the XFree86 Direct Rendering
+Infrastructure (DRI).
+
+The DRM supports the Direct Rendering Infrastructure (DRI) in four major
+ways:
+
+    1. The DRM provides synchronized access to the graphics hardware via
+       the use of an optimized two-tiered lock.
+
+    2. The DRM enforces the DRI security policy for access to the graphics
+       hardware by only allowing authenticated X11 clients access to
+       restricted regions of memory.
+
+    3. The DRM provides a generic DMA engine, complete with multiple
+       queues and the ability to detect the need for an OpenGL context



Home | Main Index | Thread Index | Old Index