1. 04 Sep, 2019 2 commits
    • Rob Clark's avatar
      drm/msm: Use the correct dma_sync calls harder · 9f614197
      Rob Clark authored
      Looks like the dma_sync calls don't do what we want on armv7 either.
      Fixes:
      
        Unable to handle kernel paging request at virtual address 50001000
        pgd = (ptrval)
        [50001000] *pgd=00000000
        Internal error: Oops: 805 [#1] SMP ARM
        Modules linked in:
        CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.3.0-rc6-00271-g9f159ae0 #4
        Hardware name: Freescale i.MX53 (Device Tree Support)
        PC is at v7_dma_clean_range+0x20/0x38
        LR is at __dma_page_cpu_to_dev+0x28/0x90
        pc : [<c011c76c>]    lr : [<c01181c4>]    psr: 20000013
        sp : d80b5a88  ip : de96c000  fp : d840ce6c
        r10: 00000000  r9 : 00000001  r8 : d843e010
        r7 : 00000000  r6 : 00008000  r5 : ddb6c000  r4 : 00000000
        r3 : 0000003f  r2 : 00000040  r1 : 50008000  r0 : 50001000
        Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
        Control: 10c5387d  Table: 70004019  DAC: 00000051
        Process swapper/0 (pid: 1, stack limit = 0x(ptrval))
      Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
      Fixes: 3de433c5 ("drm/msm: Use the correct dma_sync calls in msm_gem")
      Tested-by: default avatarFabio Estevam <festevam@gmail.com>
      9f614197
    • Denis Efremov's avatar
      drm/msm: remove unlikely() from WARN_ON() conditions · c044e86f
      Denis Efremov authored
      "unlikely(WARN_ON(x))" is excessive. WARN_ON() already uses unlikely()
      internally.
      Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: Joe Perches <joe@perches.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: dri-devel@lists.freedesktop.org
      Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
      c044e86f
  2. 03 Sep, 2019 31 commits
  3. 01 Sep, 2019 1 commit
    • 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. 27 Aug, 2019 5 commits
    • 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. 26 Aug, 2019 1 commit