1. 22 Mar, 2018 2 commits
    • Dave Airlie's avatar
      Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next · f3924ae7
      Dave Airlie authored
      Changes this time mostly come down to:
      - hook up the DRM GPU scheduler
      - prep work for GC7000L support, to be completed in the next cycle
      
      * 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux: (22 commits)
        drm/etnaviv: bump HW job limit to 4
        drm/etnaviv: etnaviv_sched: Staticize functions when possible
        drm/etnaviv: add PTA handling to MMUv2
        drm/etnaviv: add function to load the initial PTA state
        drm/etnaviv: handle security states
        drm/etnaviv: add security handling mode enum
        drm/etnaviv: add hardware database
        drm/etnaviv: add more minor features fields
        drm/etnaviv: update hardware headers from rnndb
        drm/etnaviv: add support for slave interface clock
        drm/etnaviv: split out and optimize MMU fault dumping
        drm/etnaviv: remove the need for a gpu-subsystem DT node
        dt-bindings: etnaviv: add slave interface clock
        drm/etnaviv: use correct format specifier for size_t
        drm/etnaviv: replace hangcheck with scheduler timeout
        drm/etnaviv: lock BOs after all other submit work is done
        drm/etnaviv: move dependency handling to scheduler
        drm/etnaviv: hook up DRM GPU scheduler
        drm/etnaviv: track fences by IDR instead of seqno
        drm/etnaviv: add missing major features field to debugfs
        ...
      f3924ae7
    • Lucas Stach's avatar
      drm/etnaviv: bump HW job limit to 4 · 4ed75c3e
      Lucas Stach authored
      The current limit of 2 leads to some GPU idle times, as the usual
      IRQ latency leads to up to 3 jobs getting signaled at once with some
      standard workloads.
      
      A larger HW job limit might lead to slightly worse QoS, but we accept
      that to not sacrifice GPU throughput in the common case.
      Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
      4ed75c3e
  2. 21 Mar, 2018 8 commits
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2018-03-21' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 0c5286a8
      Dave Airlie authored
      drm-misc-next for 4.17:
      
      Cross-subsystem Changes:
       dt-bindings: Add emtrion vendor prefix (Jan)
      
      Core Changes:
       drm_print: More object size reductions (Joe)
      
      Driver Changes:
       vc4: Fix alpha blending on bottom plane (Stefan)
       panel: Add Raydium RM68200 panel support (Phillipe)
       panel: Add AUO G104SN02 V2 panel support (Christoph)
       panel: Add KEO TX31D200VM0BAA panel support (Jagan)
       vga_switcheroo: Use device link to bookkeep HDA runtime pm (Lukas)
       rockchip: More CrOS kevin patches trickling in (various
       sun4i: Add A80 support (Chen-Yu)
       sun4i: Add YUV plane support (Maxime)
       meson: Multiple (mostly error-path) fixups (Christophe/Wei)
      
      Cc: Stefan Schake <stschake@gmail.com>
      Cc: Philippe CORNU <philippe.cornu@st.com>
      Cc: jan.tuerk@emtrion.com
      Cc: Christoph Fritz <chf.fritz@googlemail.com>
      Cc: Jagan Teki <jagannadh.teki@gmail.com>
      Cc: Lukas Wunner <lukas@wunner.de>
      Cc: Joe Perches <joe@perches.com>
      Cc: Chen-Yu Tsai <wens@csie.org>
      Cc: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
      Cc: Wei Yongjun <weiyongjun1@huawei.com>
      
      * tag 'drm-misc-next-2018-03-21' of git://anongit.freedesktop.org/drm/drm-misc: (70 commits)
        drm/qxl: Replace drm_gem_object_reference/unreference() with _get/put()
        drm/meson: Fix potential NULL dereference in meson_drv_bind_master()
        drm/sun4i: backend: Support YUV planes
        drm/sun4i: backend: Check that we only have a single YUV plane
        drm/sun4i: Add driver support for A80 display pipeline
        drm/sun4i: Add compatible strings for the A80 display pipeline
        drm/sun4i: Add support for A80 TCONs
        drm/sun4i: Add DT binding for Detail Enhancement Unit in Allwinner A80 SoC
        drm/sun4i: Add compatible strings for A80 TCONs
        drm: Reduce object size of DRM_DEV_<LEVEL> uses
        drm/doc: Put all driver docs into a separate chapter
        drm: dma_bufs: Fixed checkpatch issues
        drm: remove drm_mode_object_{un/reference} aliases
        drm: Add PSR version 3 macro
        drm/vc4_validate: Remove VLA usage
        drm: Make drm_mode_vrefresh() a bit more accurate
        drm: Nuke the useless 'ret' variable from drm_mode_convert_umode()
        drm/i915: Use drm_color_lut_size()
        drm/i915: Remove the blob->data casts
        drm: Introduce drm_color_lut_size()
        ...
      0c5286a8
    • Sean Paul's avatar
      Merge airlied/drm-next into drm-misc-next · 1c7095d2
      Sean Paul authored
      Refresh -misc-next
      Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
      1c7095d2
    • Santha Meena Ramamoorthy's avatar
      drm/qxl: Replace drm_gem_object_reference/unreference() with _get/put() · 2793c1d7
      Santha Meena Ramamoorthy authored
      Replace drm_gem_object_reference/unreference function with *_get/put()
      suffixes, because it is shorter and consistent with the kernel
      kref_get/put() functions. The following Coccinelle script was used:
      
      @@
      expression e;
      @@
      
      (
      -drm_gem_object_reference(e);
      +drm_gem_object_get(e);
      |
      -drm_gem_object_unreference(e);
      +drm_gem_object_put(e);
      |
      -drm_gem_object_unreference_unlocked(e);
      +drm_gem_object_put_unlocked(e);
      )
      Signed-off-by: default avatarSantha Meena Ramamoorthy <santhameena13@gmail.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/1521570567-22519-1-git-send-email-santhameena13@gmail.com
      2793c1d7
    • Dave Airlie's avatar
      Merge tag 'omapdrm-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next · 78230c46
      Dave Airlie authored
      omapdrm patches for v4.17
      
      * Fix sparse warnings from omapdrm
      * HPD support for DVI connector
      * Big cleanup to remove static variables
      
      * tag 'omapdrm-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (69 commits)
        drm/omap: fix compile error when DPI is disabled
        drm/omap: fix compile error when debugfs is disabled
        drm: omapdrm: displays: panel-dsi-cm: Fix field access before set
        drm/omap: cleanup color space conversion
        drm/omap: Allow HDMI audio setup even if we do not have video configured
        drm/omap: fix maximum sizes
        drm/omap: add writeback funcs to dispc_ops
        drm/omap: fix scaling limits for WB
        drm/omap: fix WB height with interlace
        drm/omap: fix WBDELAYCOUNT with interlace
        drm/omap: fix WBDELAYCOUNT for HDMI
        drm/omap: set WB channel-in in wb_setup()
        drm/omap: Add pclk setting case when channel is DSS_WB
        drm/omap: dispc: disp_wb_setup to check return code
        drm/omap: remove leftover enums
        dt-bindings: display: add HPD gpio to DVI connector
        drm/omap: add HPD support to connector-dvi
        drm/omap: Init fbdev emulation only when we have displays
        drm/omap: cleanup fbdev init/free
        drm/omap: fix omap_fbdev_free() when omap_fbdev_create() wasn't called
        ...
      78230c46
    • Dave Airlie's avatar
      Merge tag 'drm-msm-next-2018-03-20' of git://people.freedesktop.org/~robclark/linux into drm-next · b65bd403
      Dave Airlie authored
      Updates for 4.17.  Sorry, running a bit late on this, didn't have a
      chance to send pull-req before heading to linaro.  But it has all been
      in linux-next for a while.  Main updates:
      
       + DSI updates from 10nm / SDM845
       + fix for race condition with a3xx/a4xx fence completion irq
       + some refactoring/prep work for eventual a6xx support (ie. when we have
         a userspace)
       + a5xx debugfs enhancements
       + some mdp5 fixes/cleanups to prepare for eventually merging writeback
         support (ie. when we have a userspace)
      
      * tag 'drm-msm-next-2018-03-20' of git://people.freedesktop.org/~robclark/linux: (36 commits)
        drm/msm: fix building without debugfs
        drm/msm/mdp5: don't pre-reserve LM's if no dual-dsi
        drm/msm/mdp5: add missing LM flush bits
        drm/msm/mdp5: print a bit more of the atomic state
        drm/msm/mdp5: rework CTL START signal handling
        drm/msm: Trigger fence completion from GPU
        drm/msm/dsi: fix direct caller of msm_gem_free_object()
        drm/msm: strip out msm_fence_cb
        drm/msm: rename mdp->disp
        drm/msm/dsi: Fix potential NULL pointer dereference in msm_dsi_modeset_init
        drm/msm/adreno/a5xx_debugfs: fix potential NULL pointer dereference
        drm/msm/dsi: Get byte_intf_clk only for versions that need it
        drm/msm/adreno: Use generic function to load firmware to a buffer object
        drm/msm/adreno: Define a list of firmware files to load per target
        drm/msm/adreno: Rename gpmufw to powerfw
        drm/msm: Pass the correct aperture end to drm_mm_init
        drm/msm/gpu: Set number of clocks to 0 if the list allocation fails
        drm/msm: Replace gem_object deprecated functions
        drm/msm/hdmi: fix semicolon.cocci warnings
        drm/msm/mdp5: Fix trailing semicolon
        ...
      b65bd403
    • Dave Airlie's avatar
      Merge tag 'drm/tegra/for-4.17-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next · 19c800ca
      Dave Airlie authored
      drm/tegra: Changes for v4.17-rc1
      
      This fixes mmap() for fbdev devices by providing a custom implementation
      based on the KMS variant. This is a fairly exotic case these days, hence
      why it is not flagged for stable.
      
      There is also support for dedicating one of the overlay planes to serve
      as a hardware cursor on older Tegra that did support hardware cursors
      but not RGBA formats for it.
      
      Planes will now also export the IN_FORMATS property by supporting the
      various block-linear tiling modifiers for RGBA pixel formats.
      
      Other than that, there's a bit of cleanup of DMA API abuse, use of the
      private object infrastructure for global state (rather than subclassing
      atomic state objects) and an implementation of ->{begin,end}_cpu_access
      callbacks for PRIME exported buffers, which allow users to perform cache
      maintenance on these buffers.
      
      * tag 'drm/tegra/for-4.17-rc1' of git://anongit.freedesktop.org/tegra/linux:
        drm/tegra: prime: Implement ->{begin,end}_cpu_access()
        drm/tegra: gem: Map pages via the DMA API
        drm/tegra: hub: Use private object for global state
        drm/tegra: fb: Properly support linear modifier
        drm/tegra: plane: Support format modifiers
        drm/tegra: dc: Dedicate overlay plane to cursor on older Tegra's
        drm/tegra: plane: Make tegra_plane_get_overlap_index() static
        drm/tegra: fb: Implement ->fb_mmap() callback
        drm/tegra: gem: Make __tegra_gem_mmap() available more widely
        drm/tegra: gem: Reshuffle declarations
      19c800ca
    • Dave Airlie's avatar
      Merge branch 'for-upstream/mali-dp' of git://linux-arm.org/linux-ld into drm-next · 4f6dd8d6
      Dave Airlie authored
      I have accumulated some patches as we went through some internal testing
      for mali-dp and I was waiting for the YUV2RGB patches to land in your
      tree.
      
      * 'for-upstream/mali-dp' of git://linux-arm.org/linux-ld:
        drm: mali-dp: Add YUV->RGB conversion support for video layers
        drm: mali-dp: Turn off CRTC vblank when removing module.
        drm: arm: malidp: Use drm_atomic_helper_shutdown() to disable planes on removal
        drm: arm: malidp: Don't destroy planes manually in error handlers
        drm/mali-dp: Fix malidp_atomic_commit_hw_done() for event sending.
        drm/arm/malidp: Disable pixel alpha blending for colors that do not have alpha
        drm: mali-dp: Fix bug on scaling with rotation
        drm/mali-dp: Don't enable scaling engine for planes that only rotate.
        drm: mali-dp: Uninitialized variable in malidp_se_check_scaling()
        drm/mali-dp: Align pitch size to be multiple of bus burst read size.
        drm/mali-dp: Rotated planes need a larger pitch size.
      4f6dd8d6
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux into drm-next · 287d2ac3
      Dave Airlie authored
      - Continued cleanup and restructuring of powerplay
      - Fetch VRAM type from vbios rather than hardcoding for SOC15 asics
      - Allow ttm to drop its backing store when drivers don't need it
      - DC bandwidth calc updates
      - Enable DC backlight control pre-DCE11 asics
      - Enable DC on all supported asics
      - DC Fixes for planes due to the way our hw is ordered vs what drm expects
      - DC CTM/regamma fixes
      - Misc cleanup and bug fixes
      
      * 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux: (89 commits)
        amdgpu/dm: Default PRE_VEGA ASIC support to 'y'
        drm/amd/pp: Remove the cgs wrapper for notify smu version on APU
        drm/amd/display: fix dereferencing possible ERR_PTR()
        drm/amd/display: Refine disable VGA
        drm/amdgpu: Improve documentation of bo_ptr in amdgpu_bo_create_kernel
        drm/radeon: Don't turn off DP sink when disconnected
        drm/amd/pp: Rename file name cz_* to smu8_*
        drm/amd/pp: Replace function/struct name cz_* with smu8_*
        drm/amd/pp: Remove unneeded void * casts in cz_hwmgr.c/cz_smumgr.c
        drm/amd/pp: Mv cz uvd/vce pg/dpm functions to cz_hwmgr.c
        drm/amd/pp: Remove dead header file pp_asicblocks.h
        drm/amd/pp: Delete dead code on cz_clockpowergating.c
        drm/amdgpu: Call amdgpu_ucode_fini_bo in amd_powerplay.c
        drm/amdgpu: Remove wrapper layer of smu ip functions
        drm/amdgpu: Don't compared ip_block_type with ip_block_index
        drm/amdgpu: Plus NULL function pointer check
        drm/amd/pp: Move helper functions to smu_help.c
        drm/amd/pp: Replace rv_* with smu10_*
        drm/amd/pp: Fix function parameter not correct
        drm/amd/pp: Add rv_copy_table_from/to_smc to smu backend function table
        ...
      287d2ac3
  3. 20 Mar, 2018 1 commit
  4. 19 Mar, 2018 23 commits
  5. 16 Mar, 2018 6 commits