1. 24 6月, 2016 7 次提交
    • T
      drm/i915: Small compaction of the engine init code · a19d6ff2
      Tvrtko Ursulin 提交于
      Effectively removes one layer of indirection between the mask of
      possible engines and the engine constructors. Instead of spelling
      out in code the mapping of HAS_<engine> to constructors, makes
      more use of the recently added data driven approach by putting
      engine constructor vfuncs into the table as well.
      
      Effect is fewer lines of source and smaller binary.
      
      At the same time simplify the error handling since engine
      destructors can run on unitialized engines anyway.
      
      Similar approach could be done for legacy submission is wanted.
      
      v2: Removed ugly BUILD_BUG_ONs in favour of newly introduced
          ENGINE_MASK and HAS_ENGINE macros.
          Also removed the forward declarations by shuffling functions
          around.
      
      v3: Warn when logical_rings table does not contain enough data
          and disable the engines which could not be initialized.
          (Chris Wilson)
      
      v4: Chris Wilson suggested a nicer engine init loop.
      Signed-off-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Link: http://patchwork.freedesktop.org/patch/msgid/1466689961-23232-1-git-send-email-tvrtko.ursulin@linux.intel.com
      a19d6ff2
    • D
      Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next-queued · 10bb6672
      Daniel Vetter 提交于
      Backmerge drm-next for the reworked device register/unregistering.
      Chris Wilson needs that to be able to land his i915 load/unload
      demidlayering.
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      10bb6672
    • D
      Merge tag 'mediatek-drm-2016-06-20' of git://git.pengutronix.de/git/pza/linux into drm-next · 2a346706
      Dave Airlie 提交于
      MT8173 HDMI support
      
      - device tree binding documentation for MT8173 HDMI encoder, CEC, DDC,
        and PHY
      - drivers for MT8173 HDMI encoder, CEC (HPD only for now), DDC, and PHY
      - enable HDMI output via a custom SMCCC call
      - add ddc-i2c-bus property to HDMI connector device tree binding
      
      * tag 'mediatek-drm-2016-06-20' of git://git.pengutronix.de/git/pza/linux:
        dt-bindings: hdmi-connector: add DDC I2C bus phandle documentation
        drm/mediatek: enable hdmi output control bit
        drm/mediatek: Add HDMI support
        dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding
      2a346706
    • D
      Merge branch 'drm/next/du' of git://linuxtv.org/pinchartl/media into drm-next · 6559436d
      Dave Airlie 提交于
      some rcar-du fixes.
      
      * 'drm/next/du' of git://linuxtv.org/pinchartl/media:
        drm: rcar-du: error message is not needed for EPROBE_DEFER
        drm: rcar-du: error message is not needed for drm_vblank_init()
        rcar-du: add/rename DEFR6 TCON bits
      6559436d
    • D
      Merge tag 'drm-intel-next-2016-06-20' of git://anongit.freedesktop.org/drm-intel into drm-next · 9da1030e
      Dave Airlie 提交于
      - Infrastructure for GVT-g (paravirtualized gpu on gen8+), from Zhi Wang
      - another attemp at nonblocking atomic plane updates
      - bugfixes and refactoring for GuC doorbell code (Dave Gordon)
      - GuC command submission enabled by default, if fw available (Dave Gordon)
      - more bxt w/a (Arun Siluvery)
      - bxt phy improvements (Imre Deak)
      - prep work for stolen objects support (Ankitprasa Sharma & Chris Wilson)
      - skl/bkl w/a update from Mika Kuoppala
      - bunch of small improvements and fixes all over, as usual
      
      * tag 'drm-intel-next-2016-06-20' of git://anongit.freedesktop.org/drm-intel: (81 commits)
        drm/i915: Update DRIVER_DATE to 20160620
        drm/i915: Introduce GVT context creation API
        drm/i915: Support LRC context single submission
        drm/i915: Introduce execlist context status change notification
        drm/i915: Make addressing mode bits in context descriptor configurable
        drm/i915: Make ring buffer size of a LRC context configurable
        drm/i915: gvt: Introduce the basic architecture of GVT-g
        drm/i915: Fold vGPU active check into inner functions
        drm/i915: Use offsetof() to calculate the offset of members in PVINFO page
        drm/i915: Factor out i915_pvinfo.h
        drm/i915: Serialise presentation with imported dmabufs
        drm/i915: Use atomic commits for legacy page_flips
        drm/i915: Move fb_bits updating later in atomic_commit
        drm/i915: nonblocking commit
        Reapply "drm/i915: Pass atomic states to fbc update, functions."
        drm/i915: Roll out the helper nonblock tracking
        drm/i915: Signal drm events for atomic
        drm/i915/ilk: Don't disable SSC source if it's in use
        drm/i915/guc: (re)initialise doorbell h/w when enabling GuC submission
        drm/i915/guc: replace assign_doorbell() with select_doorbell_register()
        ...
      9da1030e
    • D
      Merge tag 'topic/drm-misc-2016-06-22-updated' of... · 9253d059
      Dave Airlie 提交于
      Merge tag 'topic/drm-misc-2016-06-22-updated' of git://anongit.freedesktop.org/drm-intel into drm-next
      
      Again a pile of things all over
      - Conversion to rst from docbook from Jani. Looks real pretty, and the
        source is now actually readable (compared to horrible, horrible docbook
        xml)! https://01.org/linuxgraphics/gfx-docs/drm/
      - device register/unregister rework from Chris, with follow-up work from
        Benjamin. Allows more drivers to demidlayer load/unload and others to
        remove a bit of boilerplate.
      - master/auth related cleanup, with docs
      - some dma-buf polish, merged by Sumit
      - small stuff all over (like build fixes from Arnd)
      
      Group maintainership seems to slowly take off, with both Thierry and Sumit
      pushing a few things. No hiccups thus far.
      
      * tag 'topic/drm-misc-2016-06-22-updated' of git://anongit.freedesktop.org/drm-intel: (68 commits)
        drm/vc4: Remove unused connector
        drm/fb-helper: Reduce READ_ONCE(master) to lockless_dereference
        drm/sun4i: Remove open-coded drm_connector_register_all()
        drm/vc4: Remove open-coded drm_connector_register_all()
        drm/atmel-hlcdc: Remove redundant call to drm_connector_unregister_all()
        drm: document drm_auth.c
        drm: Clear up master tracking booleans
        drm: Extract drm_is_current_master
        drm: Refactor drop/set master code a bit
        drm: Lobotomize set_busid nonsense for !pci drivers
        drm: Nuke SET_UNIQUE ioctl
        drm: Don't call drm_dev_set_unique from platform drivers
        drm/vgem: Stop calling drm_drv_set_unique
        drm: Use dev->name as fallback for dev->unique
        drm: Clean up drm_crtc.h
        drm: Move master pointer from drm_minor to drm_device
        drm: sti: rework init sequence
        drm: sti: use late_register and early_unregister callbacks
        drm/amdkfd: Clean up inline handling
        drm: Add callbacks for late registering
        ...
      9253d059
    • D
      Merge tag 'drm-sii902x' of github.com:bbrezillon/linux-at91 into drm-next · 4b01ec97
      Dave Airlie 提交于
      Add basic support for the sii902x RGB -> HDMI bridge.
      
      * tag 'drm-sii902x' of github.com:bbrezillon/linux-at91:
        drm/bridge: Add sii902x DT bindings doc
        drm/bridge: Add sii902x driver
      4b01ec97
  2. 23 6月, 2016 5 次提交
  3. 22 6月, 2016 23 次提交
  4. 21 6月, 2016 5 次提交