1. 04 1月, 2016 1 次提交
    • A
      drm: powerplay: use div64_s64 instead of do_div · 6a53b313
      Arnd Bergmann 提交于
      The newly added code for Fiji creates a correct compiler warning
      about invalid use of the do_div macro:
      
      In file included from powerplay/hwmgr/ppatomctrl.c:31:0:
      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/ppevvmath.h: In function 'fDivide':
      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/ppevvmath.h:382:89: warning: comparison of distinct pointer types lacks a cast
           do_div(longlongX, longlongY); /*Q(32,32) divided by Q(16,16) = Q(16,16) Back to original format */
      
      do_div() divides an unsigned 64-bit number by an unsigned 32-bit number.
      The code instead wants to divide two signed 64-bit numbers, which is done
      using the div64_s64 function.
      Reviewed-by: NThierry Reding <treding@nvidia.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 770911a3 ("drm/amd/powerplay: add/update headers for Fiji SMU and DPM")
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      6a53b313
  2. 01 1月, 2016 1 次提交
    • D
      Merge tag 'omapdrm-4.5-resolved' of... · c11b8989
      Dave Airlie 提交于
      Merge tag 'omapdrm-4.5-resolved' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next
      
      omapdrm changes for v4.5
      
      * enable DRIVER_ATOMIC
      * improved TILER performance
      * cleanups preparing for DMAbuf import
      * fbdev emulation is now optional
      * minor fixes
      
      * tag 'omapdrm-4.5-resolved' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux:
        drm/omap: remove obsolete manager assignment
        drm/omap: set DRIVER_ATOMIC for omapdrm
        drm/omap: remove unused plugin defines
        drm/omap: Use bitmaps for TILER placement
        drm: omapdrm: gem: Remove check for impossible condition
        drm: omapdrm: gem: Simplify error handling when creating GEM object
        drm: omapdrm: gem: Don't free mmap offset twice
        drm: omapdrm: gem: Fix GEM object destroy in error path
        drm: omapdrm: gem: Free the correct memory object
        drm: omapdrm: gem: Mask out private flags passed from userspace
        drm: omapdrm: gem: Move global usergart variable to omap_drm_private
        drm: omapdrm: gem: Group functions by purpose
        drm: omapdrm: gem: Remove forward declarations
        drm: omapdrm: gem: Remove unused function prototypes
        drm: omapdrm: Make fbdev emulation optional
        drm: omapdrm: Fix plane state free in plane reset handler
        drm: omapdrm: move omap_plane_reset()
        drm/omap: Use platform_register/unregister_drivers()
        drm: omapdrm: tiler: Remove unneded module alias for tiler
      c11b8989
  3. 31 12月, 2015 20 次提交
  4. 30 12月, 2015 1 次提交
    • D
      Merge branch 'drm-rockchip-next-2015-12-28' of... · df83690e
      Dave Airlie 提交于
      Merge branch 'drm-rockchip-next-2015-12-28' of https://github.com/markyzq/kernel-drm-rockchip into drm-next
      
      These patches convert drm/rockchip to atomic API and add rk3036 vop support.
      
      * 'drm-rockchip-next-2015-12-28' of https://github.com/markyzq/kernel-drm-rockchip:
        dt-bindings: add document for rk3036-vop
        drm/rockchip: vop: add rk3036 vop support
        drm/rockchip: vop: spilt scale regsters
        drm/rockchip: vop: spilt register related into rockchip_reg_vop.c
        drm/rockchip: vop: move interrupt registers into vop_data
        drm/rockchip: vop: merge vop cfg_done into vop_data
        drm/rockchip: dw_hdmi: use encoder enable function
        drm: bridge/dw_hdmi: add atomic API support
        drm/rockchip: direct config connecter gate and out_mode
        drm/rockchip: support atomic asynchronous commit
        drm/rockchip: Optimization vop mode set
        drm/rockchip: Convert to support atomic API
        drm/rockchip: vop: replace dpms with enable/disable
        drm/rockchip: Use new vblank api drm_crtc_vblank_*
      df83690e
  5. 28 12月, 2015 14 次提交
  6. 24 12月, 2015 3 次提交
    • D
      Backmerge drm-fixes merge into Linus's tree into drm-next. · 20f8e032
      Dave Airlie 提交于
      This merges '5b726e06' into drm-next
      
      Just to resolve some merges to make Daniel's life easier.
      Signed-off-by: NDAve Airlie <airlied@redhat.com>
      20f8e032
    • L
      Merge tag 'drm-intel-fixes-2015-12-23' of git://anongit.freedesktop.org/drm-intel · 5b726e06
      Linus Torvalds 提交于
      Pull i915 drm fixes from Jani Nikula:
       "Here's a batch of i915 fixes all around.  It may be slightly bigger
        than one would hope for at this stage, but they've all been through
        testing in our -next before being picked up for v4.4.  Also, I missed
        Dave's fixes pull earlier today just because I wanted an extra testing
        round on this.  So I'm fairly confident.
      
        Wishing you all the things it is customary to wish this time of the
        year"
      
      * tag 'drm-intel-fixes-2015-12-23' of git://anongit.freedesktop.org/drm-intel:
        drm/i915: Correct max delay for HDMI hotplug live status checking
        drm/i915: mdelay(10) considered harmful
        drm/i915: Kill intel_crtc->cursor_bo
        drm/i915: Workaround CHV pipe C cursor fail
        drm/i915: Only spin whilst waiting on the current request
        drm/i915: Limit the busy wait on requests to 5us not 10ms!
        drm/i915: Break busywaiting for requests on pending signals
        drm/i915: Disable primary plane if we fail to reconstruct BIOS fb (v2)
        drm/i915: Set the map-and-fenceable flag for preallocated objects
        drm/i915: Drop the broken cursor base==0 special casing
      5b726e06
    • L
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 2bfd43d8
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "Not much happening, should have dequeued this lot earlier.
      
        One amdgpu, one nouveau and one exynos fix"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/exynos: atomic check only enabled crtc states
        drm/nouveau/bios/fan: hardcode the fan mode to linear
        drm/amdgpu: fix user fence handling
      2bfd43d8