1. Sep 04, 2019
    • Linus Walleij's avatar
      drm/msm/hdmi: Convert to use GPIO descriptors · a44769b4
      Linus Walleij authored
      
      
      This switches the MSM HDMI code to use GPIO descriptors.
      Normally we would fetch the GPIOs from the device with the
      flags GPIOD_IN or GPIOD_OUT_[LOW|HIGH] to set up the lines
      immediately, but since the code seems eager to actively
      drive the lines high/low when turning HDMI on and off, we
      just fetch the GPIOs as-is and keep the code explicitly
      driving them.
      
      The old code would try legacy bindings (GPIOs without any
      "-gpios" suffix) but this has been moved to the gpiolib
      as a quirk by the previous patch.
      
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: freedreno@lists.freedesktop.org
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
      a44769b4
    • Linus Walleij's avatar
      drm/msm/dpu: Drop unused GPIO code · 86fe3f54
      Linus Walleij authored
      
      
      The DPU has some kind of idea that it wants to be able to
      bring up power using GPIO lines. The struct dss_gpio is however
      completely unused and should this be done, it should be done
      using the GPIO descriptor framework rather than this API
      which relies on the global GPIO numberspace. Delete this
      code before anyone hurt themselves.
      
      The inclusion of <linux/gpio.h> was abused to get some OF
      and IRQ headers implicitly included into the DPU utilities,
      make these includes explicit and push them down into the actual
      implementation.
      
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: freedreno@lists.freedesktop.org
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
      86fe3f54
    • Linus Walleij's avatar
      drm/msm/dsi: Drop unused GPIO includes · 2acc0d2d
      Linus Walleij authored
      
      
      This DSI driver uses the new descriptor API so these old
      GPIO API includes are surplus.
      
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: freedreno@lists.freedesktop.org
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
      2acc0d2d
    • Linus Walleij's avatar
      drm/msm/mdp4: Drop unused GPIO include · c9b74b8a
      Linus Walleij authored
      
      
      This file is not using any symbols from <linux/gpio.h> so just
      drop this include.
      
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: freedreno@lists.freedesktop.org
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarBrian Masney <masneyb@onstation.org>
      Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
      c9b74b8a
    • Sam Ravnborg's avatar
      drm/msm: drop use of drmP.h · feea39a8
      Sam Ravnborg authored
      Drop the deprecated drmP.h header file, and trim msm_drv.h
      to the relevant include files.
      
      This resulted in a suprisingly many edits as many files relied
      on headers included via msm_drv.h.
      But msm_drv.h is not supposed to carry include files it do not need, so
      the individual files have to include what extra they needs.
      
      v2:
      - Rebased on top of https://gitlab.freedesktop.org/drm/msm.git
      
       msm-next
      
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Jordan Crouse <jcrouse@codeaurora.org>
      Cc: Jeykumar Sankaran <jsanka@codeaurora.org>
      Cc: Bruce Wang <bzwang@chromium.org>
      Cc: Shayenne Moura <shayenneluzmoura@gmail.com>
      Cc: Mamta Shukla <mamtashukla555@gmail.com>
      Cc: Jonathan Marek <jonathan@marek.ca>
      Cc: Carsten Behling <carsten.behling@googlemail.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Maxime Ripard <maxime.ripard@bootlin.com>
      Cc: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
      Cc: Sibi Sankar <sibis@codeaurora.org>
      Cc: Todor Tomov <todor.tomov@linaro.org>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: freedreno@lists.freedesktop.org
      Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190804065551.GA5211@ravnborg.org
      feea39a8
  2. Sep 03, 2019
  3. Sep 01, 2019
    • Sam Ravnborg's avatar
      drm/exynos: drop use of drmP.h · 226024b1
      Sam Ravnborg authored
      
      
      There was a few uses of drmP that was missed in the last
      patch removing this header from exynos.
      
      Remove the final uses of this header.
      
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: Inki Dae <inki.dae@samsung.com>
      Cc: Joonyoung Shim <jy0922.shim@samsung.com>
      Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: Krzysztof Kozlowski <krzk@kernel.org>
      Cc: Jingoo Han <jingoohan1@gmail.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      226024b1
  4. Aug 27, 2019
    • Dave Airlie's avatar
      Merge tag 'drm-next-5.4-2019-08-23' of git://people.freedesktop.org/~agd5f/linux into drm-next · 578d2342
      Dave Airlie authored
      
      
      drm-next-5.4-2019-08-23:
      
      amdgpu:
      - Enable power features on Navi12
      - Enable power features on Arcturus
      - RAS updates
      - Initial Renoir APU support
      - Enable power featyres on Renoir
      - DC gamma fixes
      - DCN2 fixes
      - GPU reset support for Picasso
      - Misc cleanups and fixes
      
      scheduler:
      - Possible race fix
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190823202620.3870-1-alexander.deucher@amd.com
      578d2342
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2019-08-23' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · c8723711
      Dave Airlie authored
      
      
      drm-misc-next for 5.4:
      
      UAPI Changes:
      
      Cross-subsystem Changes:
      
      Core Changes:
        - dma-buf: dma-fence selftests
      
      Driver Changes:
        - kirin: Various cleanups and reworks
        - komeda: Add support for DT memory-regions
        - meson: Rely on the compatible to detect vpu features
        - omap: Implement alpha and pixel blend mode properties
        - panfrost: Implement per-fd address spaces, various fixes
        - rockchip: DSI DT binding rework
        - fbdev: Various cleanups
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <maxime.ripard@bootlin.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190823083509.c7mduqdqjnxc7ubb@flea
      c8723711
    • Dave Airlie's avatar
      Merge tag 'drm-hisilicon-hibmc-next-2019-08-26' of https://github.com/xin3liang/linux into drm-next · 8c973fb6
      Dave Airlie authored
      
      
      Three small cleanup and fix patches for 5.4 hisilicon hibmc driver.
      I have tested and verified on taishan 2280v1/v2 machines.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: xinliang <z.liuxinliang@hisilicon.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/5D63A271.7080400@hisilicon.com
      8c973fb6
    • Dave Airlie's avatar
      Merge tag 'imx-drm-next-2019-08-23' of git://git.pengutronix.de/pza/linux into drm-next · 2467d946
      Dave Airlie authored
      
      
      drm/imx: IPUv3 image converter fixes and improvements
      
      Fix image converter seam handling for 1024x1024 pixel hardware
      limitation at the main processing section input, improve error
      handling, and slightly optimize for 1:1 conversions.
      Add support for newly defined 32-bit RGB V4L2 pixel formats.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Philipp Zabel <p.zabel@pengutronix.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/1566573659.23587.2.camel@pengutronix.de
      2467d946
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2019-08-22' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 29d9d76a
      Dave Airlie authored
      
      
      - More TGL enabling work (Michel, Jose, Lucas)
      - Fixes on DP MST (Ville)
      - More GTT and Execlists fixes and improvements (Chris)
      - Code style clean-up on hdmi and dp side (Jani)
      - Fix null pointer dereferrence (Xiong)
      - Fix a couple of missing serialization on selftests (Chris)
      - More vm locking rework (Chris)
      
      drm-intel-next-2019-08-20:
      - GuC and HuC related fixes and improvements (Daniele, Michal)
      - Improve debug with more engine information and rework on debugfs files (Chris, Stuart)
      - Simplify appearture address handling (Chris)
      - Other fixes and cleanups around engines and execlists (Chris)
      - Selftests fixes (Matt, Chris)
      - Gen11 cache flush related fixes and improvements (Mika)
      - More work around requests, timelines and locks to allow removal of struct_mutex (Chris)
      - Add missing CML PCI ID (Anusha)
      - More work on the new i915 buddy allocator (Matt)
      - More headers, files and directories reorg (Daniele)
      - Improvements on ggtt’s get pdp (Mika)
      - Fix GPU reset (Chris)
      - Fix GPIO pins on gen11 (Matt)
      - Fix HW readout for crtc_clock in HDMI mode (Imre)
      - Sanitize display Phy during unitit to workaround messages of HW state change during suspend (Imre)
      - Be defensive when starting vma activity (Chris)
      - More Tiger Lake enabling work (Michel, Daniele, Lucas)
      - Relax pd_used assertion (Chris)
      
      drm-intel-next-2019-08-13:
      - More Tiger Lake enabling work (Lucas, Jose, Tomasz, Michel, Jordan, Anusha, Vandita)
      - More selftest organization reworks, fixes and improvements (Lucas, Chris)
      - Simplifications on GEM code like context and cleanup_early (Chris, Daniele)
      - GuC and HuC related fixes and improvements (Daniele, Michal, Chris)
      - Some clean up and fixes on headers, Makefile, and generated files (Lucas, Jani)
      - MOCS setup clean up (Tvrtko)
      - More Elkhartlake enabling work (Jose, Matt)
      - Fix engine reset by clearing in flight execlists requests (Chris)
      - Fix possible memory leak on intel_hdcp_auth_downstream (Wei)
      - Introduce intel_gt_runtime_suspend/resume (Daniele)
      - PMU improvements (Tvrtko)
      - Flush extra hard after writing relocations through the GTT (Chris)
      - Documentations fixes (Michal, Chris)
      - Report dma_reserv allocation failure (Chris)
      - Improvements around shrinker (Chris)
      - More improvements around engine handling (Chris)
      - Also more s/dev_priv/i915 (Chris)
      - Abstract display suspend/resume operations (Rodrigo/Jani)
      - Drop VM_IO from GTT mappings (Chris)
      - Fix some NULL vs IS_ERR conditions (Dan)
      - General improvements on error state (Chris)
      - Isolate i915_getparam_iocrtl to its own file (Chris)
      - Perf OA object refactor (Umesh)
      - Ignore central i915->kernel_context and allocate it directly (Chris)
      - More fixes and improvements around wakerefs (Chris)
      - Clean-up and improvements around debugfs (Chris)
      - Free the imported shmemfs file for phys objects (Chris)
      - Many other fix and cleanups around engines and execlists (Chris)
      - Split out uncore_mmio_debug (Daniele)
      - Memory management fixes for blk and gtt (Matt)
      - Introduction of buddy allocator to handle huge-pages for GTT (Matt)
      - Fix ICL and TGL PG3 power domains (Anshuman)
      - Extract GT IRQ to gt/ (Andi)
      - Drop last_fence tracking in favor of whole vma->active (Chris)
      - Make overlay to use i915_active instead of i915_active_request (Chris)
      - Move misc display IRQ handling to its own function (Jose)
      - Introduce new _TRANS2() macro in preparation for some coming PSR related work (Jose)
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190823051435.GA23885@intel.com
      29d9d76a
  5. Aug 26, 2019
  6. Aug 24, 2019