1. 26 3月, 2018 1 次提交
  2. 22 3月, 2018 1 次提交
  3. 21 3月, 2018 8 次提交
    • S
      Merge airlied/drm-next into drm-misc-next · 1c7095d2
      Sean Paul 提交于
      Refresh -misc-next
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      1c7095d2
    • S
      drm/qxl: Replace drm_gem_object_reference/unreference() with _get/put() · 2793c1d7
      Santha Meena Ramamoorthy 提交于
      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: NSantha Meena Ramamoorthy <santhameena13@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/1521570567-22519-1-git-send-email-santhameena13@gmail.com
      2793c1d7
    • D
      Merge tag 'omapdrm-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next · 78230c46
      Dave Airlie 提交于
      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
    • D
      Merge tag 'drm-msm-next-2018-03-20' of git://people.freedesktop.org/~robclark/linux into drm-next · b65bd403
      Dave Airlie 提交于
      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
    • D
      Merge tag 'drm/tegra/for-4.17-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next · 19c800ca
      Dave Airlie 提交于
      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
    • D
      Merge branch 'for-upstream/mali-dp' of git://linux-arm.org/linux-ld into drm-next · 4f6dd8d6
      Dave Airlie 提交于
      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
    • D
      Merge branch 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux into drm-next · 287d2ac3
      Dave Airlie 提交于
      - 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
    • W
      drm/meson: Fix potential NULL dereference in meson_drv_bind_master() · acaa3f13
      Wei Yongjun 提交于
      platform_get_resource_byname() may fail and return NULL, so we should
      better check it's return value to avoid a NULL pointer dereference
      a bit later in the code.
      
      This is detected by Coccinelle semantic patch.
      
      @@
      expression pdev, res, n, t, e, e1, e2;
      @@
      
      res = platform_get_resource_byname(pdev, t, n);
      + if (!res)
      +   return -EINVAL;
      ... when != res == NULL
      e = devm_ioremap(e1, res->start, e2);
      Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
      Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
      Acked-by: NNeil Armstrong <narmstrong@baylibre.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/1521555630-29284-1-git-send-email-weiyongjun1@huawei.com
      acaa3f13
  4. 20 3月, 2018 1 次提交
  5. 19 3月, 2018 22 次提交
  6. 17 3月, 2018 7 次提交