1. 10 May, 2016 1 commit
  2. 06 May, 2016 2 commits
  3. 05 May, 2016 10 commits
  4. 04 May, 2016 14 commits
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-05-04' of git://anongit.freedesktop.org/drm-intel into drm-next · 21daaeee
      Dave Airlie authored
      Ofc I promise just a few leftovers for drm-misc and somehow it's the
      biggest pull. But really mostly trivial stuff:
      - MAINTAINERS updates from Emil
      - rename async to nonblock in atomic_commit to avoid the confusion between
        nonblocking ioctl and async flip (= not vblank synced), from Maarten.
        Needs to be regened with newer drivers, but probably only after -rc1 to
        catch them all.
      - actually lockless gem_object_free, plus acked driver conversion patches.
        All the trickier prep stuff already is in drm-next.
      - Noralf's nice work for generic defio support in our fbdev emulation.
        Keeps the udl hack, and qxl is tested by Gerd.
      
      * tag 'topic/drm-misc-2016-05-04' of git://anongit.freedesktop.org/drm-intel: (47 commits)
        drm: Fixup locking WARN_ON mistake around gem_object_free_unlocked
        drm/etnaviv: Use lockless gem BO free callback
        drm/imx: Use lockless gem BO free callback
        drm/radeon: Use lockless gem BO free callback
        drm/amdgpu: Use lockless gem BO free callback
        drm/gem: support BO freeing without dev->struct_mutex
        MAINTAINERS: Add myself for the new VC4 (RPi GPU) graphics driver.
        MAINTAINERS: Add a bunch of legacy (UMS) DRM drivers
        MAINTAINERS: Add a few DRM drivers by Dave Airlie
        MAINTAINERS: List the correct git repo for the Renesas DRM drivers
        MAINTAINERS: Update the files list for the Renesas DRM drivers
        MAINTAINERS: Update the files list for the Armada DRM driver
        MAINTAINERS: Update the files list for the Rockchip DRM driver
        MAINTAINERS: Update the files list for the Exynos DRM driver
        MAINTAINERS: Add maintainer entry for the VMWGFX DRM driver
        MAINTAINERS: Add maintainer entry for the MSM DRM driver
        MAINTAINERS: Add maintainer entry for the Nouveau DRM driver
        MAINTAINERS: Update the files list for the Etnaviv DRM driver
        MAINTAINERS: Remove unneded wildcard for the i915 DRM driver
        drm/atomic: Add WARN_ON when state->acquire_ctx is not set.
        ...
      21daaeee
    • Daniel Vetter's avatar
      drm: Fixup locking WARN_ON mistake around gem_object_free_unlocked · 6d3e7fdd
      Daniel Vetter authored
      Embarrassingly while fixing up the old paths for i915 I managed to
      misplace a locking check for the new _unlocked paths. That's what I
      get for not retesting on radeon.
      
      Fixes: 9f0ba539 ("drm/gem: support BO freeing without dev->struct_mutex")
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Alex Deucher <alexdeucher@gmail.com>
      Cc: Lucas Stach <l.stach@pengutronix.de>
      Tested-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      6d3e7fdd
    • Daniel Vetter's avatar
      drm/etnaviv: Use lockless gem BO free callback · 1d657c58
      Daniel Vetter authored
      No dev->struct_mutex anywhere to be seen.
      
      Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Lucas Stach <l.stach@pengutronix.de>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Acked-by: default avatarLucas Stach <l.stach@pengutronix.de>
      Acked-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1461691808-12414-17-git-send-email-daniel.vetter@ffwll.ch
      1d657c58
    • Daniel Vetter's avatar
      drm/imx: Use lockless gem BO free callback · 4b193663
      Daniel Vetter authored
      No dev->struct_mutex anywhere to be seen.
      
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Acked-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1461691808-12414-20-git-send-email-daniel.vetter@ffwll.ch
      4b193663
    • Daniel Vetter's avatar
      drm/radeon: Use lockless gem BO free callback · 71cbf451
      Daniel Vetter authored
      No dev->struct_mutex anywhere to be seen.
      
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1461691808-12414-24-git-send-email-daniel.vetter@ffwll.ch
      71cbf451
    • Daniel Vetter's avatar
      drm/amdgpu: Use lockless gem BO free callback · e7294dee
      Daniel Vetter authored
      No dev->struct_mutex anywhere to be seen.
      
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1461691808-12414-11-git-send-email-daniel.vetter@ffwll.ch
      e7294dee
    • Daniel Vetter's avatar
      drm/gem: support BO freeing without dev->struct_mutex · 9f0ba539
      Daniel Vetter authored
      Finally all the core gem and a lot of drivers are entirely free of
      dev->struct_mutex depencies, and we can start to have an entirely
      lockless unref path.
      
      To make sure that no one who touches the core code accidentally breaks
      existing drivers which still require dev->struct_mutex I've made the
      might_lock check unconditional.
      
      While at it de-inline the ref/unref functions, they've become a bit
      too big.
      
      v2: Make it not leak like a sieve.
      
      v3: Review from Lucas:
      - drop != NULL in pointer checks.
      - fixup copypasted kerneldoc to actually match the functions.
      
      v4:
      Add __drm_gem_object_unreference as a fastpath helper for drivers who
      abolished dev->struct_mutex, requested by Chris.
      
      v5: Fix silly mistake in drm_gem_object_unreference_unlocked caught by
      intel-gfx CI - I checked for gem_free_object instead of
      gem_free_object_unlocked ...
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Alex Deucher <alexdeucher@gmail.com>
      Cc: Lucas Stach <l.stach@pengutronix.de>
      Reviewed-by: Lucas Stach <l.stach@pengutronix.de> (v3)
      Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v4)
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1462178451-1765-1-git-send-email-daniel.vetter@ffwll.ch
      9f0ba539
    • Dave Airlie's avatar
      Merge tag 'drm-hisilicon-next-2016-04-29' of github.com:xin3liang/linux into drm-next · 4946dd2e
      Dave Airlie authored
      drm-hisilicon-next for 4.7
      
      Add new hisilicon kirin drm driver:
      - Add maintainer for hisilicon DRM driver
      - Add support for external bridge
      - Add designware dsi host driver
      - Add designware dsi encoder driver
      - Add cma fbdev and hotplug
      - Add vblank driver for ADE
      - Add plane driver for ADE
      - Add crtc driver for ADE
      - Add hisilicon kirin drm master driver
      - Add device tree binding for hi6220 display subsystem
      
      * tag 'drm-hisilicon-next-2016-04-29' of github.com:xin3liang/linux:
        MAINTAINERS: Add maintainer for hisilicon DRM driver
        drm/hisilicon: Add support for external bridge
        drm/hisilicon: Add designware dsi host driver
        drm/hisilicon: Add designware dsi encoder driver
        drm/hisilicon: Add cma fbdev and hotplug
        drm/hisilicon: Add vblank driver for ADE
        drm/hisilicon: Add plane driver for ADE
        drm/hisilicon: Add crtc driver for ADE
        drm/hisilicon: Add hisilicon kirin drm master driver
        drm/hisilicon: Add device tree binding for hi6220 display subsystem
      4946dd2e
    • Dave Airlie's avatar
      Merge tag 'drm-amdkfd-next-2016-05-04' of git://people.freedesktop.org/~gabbayo/linux into drm-next · 090e1a7f
      Dave Airlie authored
      Here are a few amdkfd patches for 4.7, all of them fixes according to
      the Coccinelle tool.
      
      * tag 'drm-amdkfd-next-2016-05-04' of git://people.freedesktop.org/~gabbayo/linux:
        amdkfd: Trim unnescessary intermediate err var in kfd_chardev.c
        amdkfd: Trim off unnescessary semicolon from kfd_packet_manager.c
        amdkfd: Use the canonical form in branch predicates
      090e1a7f
    • Dave Airlie's avatar
      Merge branch 'drm-rockchip-next-fixes-05-03' of... · 84c8a2de
      Dave Airlie authored
      Merge branch 'drm-rockchip-next-fixes-05-03' of https://github.com/markyzq/kernel-drm-rockchip into drm-next
      
      Here are some little fixes for rockchip drm, looks good for me, and seems there is no doubt on them, So I'd like you can land them.
      
      * 'drm-rockchip-next-fixes-05-03' of https://github.com/markyzq/kernel-drm-rockchip:
        drm/rockchip: vop: Initialize vskiplines to zero
        drm/rockchip: vop: fix iommu crash with async atomic
        drm/rockchip: support non-iommu buffer path
        drm/rockchip: get rid of rockchip_drm_crtc_mode_config
        drm/rockchip: inno_hdmi: fix an error code
        drm/rockchip: don't leak iommu mapping
        drm/rockchip: remove redundant statement
      84c8a2de
    • Dave Airlie's avatar
      Merge branch 'exynos-drm-next' of... · 00c1beab
      Dave Airlie authored
      Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
      
      Summary:
       - Support for pipeline clock between KMS drivers.
         . Exynos SoC is required to control clocks across KMS drivers
           according to Exynos SoC version. So this patch refactos
           some relevant codes and provides generic solution for it.
       - Add Exynos5433 SoC support to HDMI parts - HDMI and DECON-TV.
       - Add HW trigger mode support to CRTC drivers.
         . In case of using i80 Panel, some Exynos SoC supports HW trigger
           mode so this patch makes trigger mode - HW or SW trigger - to be
           set according to SoC version properly.
       - And some cleanups and regression fixups.
      
      * 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos: (39 commits)
        drm/exynos: clean up register definions for fimd and decon
        drm/exynos: decon: clean up interface type
        drm/exynos: fimd: add HW trigger support
        drm/exynos: clean up wait_for_vblank
        drm/exynos: mixer: use generic of_device_get_match_data helper
        drm/exynos: mixer: remove support for non-dt platforms
        drm/exynos: hdmi: use generic of_device_get_match_data helper
        drm/exynos: rotator: use generic of_device_get_match_data helper
        drm/exynos: fimd: use generic of_device_get_match_data helper
        drm/exynos: dsi: use generic of_device_get_match_data helper
        drm/exynos: exynos5433_decon: use generic of_device_get_match_data helper
        drm/exynos: convert clock_enable crtc callback to pipeline clock
        drm/exynos/mixer: enable HDMI-PHY before configuring MIXER
        drm/exynos/decon5433: enable HDMI-PHY before configuring DECON
        drm/exynos: add support for pipeline clock to the framework
        drm/exynos: add helper to get crtc from pipe
        drm/exynos/decon5433: do not protect window in plane disable
        drm/exynos/decon5433: reset decon on start
        drm/exynos/decon5433: fix DECON standalone update
        drm/exynos/hdmi: remove registry dump
        ...
      00c1beab
    • Dave Airlie's avatar
      Merge tag 'drm-vc4-next-2016-05-02' of https://github.com/anholt/linux into drm-next · acff058f
      Dave Airlie authored
      This pull request brings in DPI panel support, gamma ramp support, and
      render nodes for vc4.
      
      * tag 'drm-vc4-next-2016-05-02' of https://github.com/anholt/linux:
        drm/vc4: Add missing render node support
        drm/vc4: Add support for gamma ramps.
        drm/vc4: Fix NULL deref in HDMI init error path
        drm/vc4: Add DPI driver
        drm: Add an encoder and connector type enum for DPI.
      acff058f
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-04-29' of git://anongit.freedesktop.org/drm-intel into drm-next · 2b8f01f1
      Dave Airlie authored
      - prep work for struct_mutex-less gem_free_object
      - more invasive/tricky mst fixes from Lyude for broken hw. I discussed
        this with Ville/Jani and we all agreed more soaking in -next would be
        real good this late in the -rc cycle. They're cc: stable too to make
        sure they're not getting lost. Feel free to cherry-pick those four if
        you disagree.
      - few small things all over
      
      * tag 'topic/drm-misc-2016-04-29' of git://anongit.freedesktop.org/drm-intel:
        drm/atomic: Add missing drm_crtc_internal.h include
        drm/dp: Allow signals to interrupt drm_aux-dev reads/writes
        drm: Quiet down drm_mode_getresources
        drm: Quiet down drm_mode_getconnector
        drm: Protect dev->filelist with its own mutex
        drm: Make drm_vm_open/close_locked private to drm_vm.c
        drm: Hide master MAP cleanup in drm_bufs.c
        drm: Forbid legacy MAP functions for DRIVER_MODESET
        drm: Push struct_mutex into ->master_destroy
        drm: Move drm_getmap into drm_bufs.c and give it a legacy prefix
        drm: Put legacy lastclose work into drm_legacy_dev_reinit
        drm: Give drm_agp_clear drm_legacy_ prefix
        drm/sysfs: Annote lockless show functions with READ_ONCE
        MAINTAINERS: Update the files list for the GMA500 DRM driver
        drm: rcar-du: Fix compilation warning
        drm/i915: Get rid of intel_dp_dpcd_read_wake()
        drm/dp_helper: Perform throw-away read before actual read in drm_dp_dpcd_read()
        drm/dp_helper: Retry aux transactions on all errors
        drm/dp_helper: Always wait before retrying native aux transactions
      2b8f01f1
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2016-04-25' of git://anongit.freedesktop.org/drm-intel into drm-next · fffb6751
      Dave Airlie authored
      - more userptr cornercase fixes from Chris
      - clean up and tune forcewake handling (Tvrtko)
      - more underrun fixes from Ville, mostly for ilk to appeas CI
      - fix unclaimed register warnings on vlv/chv and enable the debug code to catch
        them by default (Ville)
      - skl gpu hang fixes for gt3/4 (Mika Kuoppala)
      - edram improvements for gen9+ (Mika again)
      - clean up gpu reset corner cases (Chris)
      - fix ctx/ring machine deaths on snb/ilk (Chris)
      - MOCS programming for all engines (Peter Antoine)
      - robustify/clean up vlv/chv irq handler (Ville)
      - split gen8+ irq handlers into ack/handle phase (Ville)
      - tons of bxt rpm fixes (mostly around firmware interactions), from Imre
      - hook up panel fitting for dsi panels (Ville)
      - more runtime PM fixes all over from Imre
      - shrinker polish (Chris)
      - more guc fixes from Alex Dai and Dave Gordon
      - tons of bugfixes and small polish all over (but with a big focus on bxt)
      
      * tag 'drm-intel-next-2016-04-25' of git://anongit.freedesktop.org/drm-intel: (142 commits)
        drm/i915: Update DRIVER_DATE to 20160425
        drm/i915/bxt: Explicitly clear the Turbo control register
        drm/i915: Correct the i915_frequency_info debugfs output
        drm/i915: Macros to convert PM time interval values to microseconds
        drm/i915: Make RPS EI/thresholds multiple of 25 on SNB-BDW
        drm/i915: Fake HDMI live status
        drm/i915/bxt: Force reprogramming a PHY with invalid HW state
        drm/i915/bxt: Wait for PHY1 GRC done if PHY0 was already enabled
        drm/i915/bxt: Use PHY0 GRC value for HW state verification
        drm/i915: use dev_priv directly in gen8_ppgtt_notify_vgt
        drm/i915/bxt: Enable DC5 during runtime resume
        drm/i915/bxt: Sanitize DC state tracking during system resume
        drm/i915/bxt: Don't uninit/init display core twice during system suspend/resume
        drm/i915: Inline intel_suspend_complete
        drm/i915/kbl: Don't WARN for expected secondary MISC IO power well request
        drm/i915: Fix eDP low vswing for Broadwell
        drm/i915: check for ERR_PTR from i915_gem_object_pin_map()
        drm/i915/guc: local optimisations and updating comments
        drm/i915/guc: drop cached copy of 'wq_head'
        drm/i915/guc: keep GuC doorbell & process descriptor mapped in kernel
        ...
      fffb6751
  5. 03 May, 2016 13 commits