1. 03 12月, 2014 4 次提交
    • T
      drm/vmwgfx: Don't use memory accounting for kernel-side fence objects · 1f563a6a
      Thomas Hellstrom 提交于
      Kernel side fence objects are used when unbinding resources and may thus be
      created as part of a memory reclaim operation. This might trigger recursive
      memory reclaims and result in the kernel running out of stack space.
      
      So a simple way out is to avoid accounting of these fence objects.
      In principle this is OK since while user-space can trigger the creation of
      such objects, it can't really hold on to them. However, their lifetime is
      quite long, so some form of accounting should perhaps be implemented in the
      future.
      
      Fixes kernel crashes when running, for example viewperf11 ensight-04 test 3
      with low system memory settings.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NJakob Bornecrantz <jakob@vmware.com>
      Reviewed-by: NSinclair Yeh <syeh@vmware.com>
      1f563a6a
    • T
      drm/vmwgfx: Fix error printout on signals pending · e338c4c2
      Thomas Hellstrom 提交于
      The function vmw_master_check() might return -ERESTARTSYS if there is a
      signal pending, indicating that the IOCTL should be rerun, potentially from
      user-space. At that point we shouldn't print out an error message since that
      is not an error condition. In short, avoid bloating the kernel log when a
      process refuses to die on SIGTERM.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NJakob Bornecrantz <jakob@vmware.com>
      e338c4c2
    • L
      drm: rcar-du: Fix NULL encoder pointer dereference · 4fcd01d0
      Laurent Pinchart 提交于
      The DRM connector's encoder pointer is managed internally by the DRM
      core and set to NULL when the DRM connector is disconnected from the
      CRTC it was attached to. This results in a NULL pointer dereference in
      the HDMI connector functions when trying to call the associated slave
      encoder's operations.
      
      Fix this by retrieving the slave encoder pointer from the R-Car
      connector structure instead of the DRM connector structure.
      Signed-off-by: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      4fcd01d0
    • D
      Merge tag 'drm-intel-next-2014-11-21-fixed' of... · 26045b53
      Dave Airlie 提交于
      Merge tag 'drm-intel-next-2014-11-21-fixed' of git://anongit.freedesktop.org/drm-intel into drm-next
      
      drm-intel-next-2014-11-21:
      - infoframe tracking (for fastboot) from Jesse
      - start of the dri1/ums support removal
      - vlv forcewake timeout fixes (Imre)
      - bunch of patches to polish the rps code (Imre) and improve it on bdw (Tom
        O'Rourke)
      - on-demand pinning for execlist contexts
      - vlv/chv backlight improvements (Ville)
      - gen8+ render ctx w/a work from various people
      - skl edp programming (Satheeshakrishna et al.)
      - psr docbook (Rodrigo)
      - piles of little fixes and improvements all over, as usual
      
      * tag 'drm-intel-next-2014-11-21-fixed' of git://anongit.freedesktop.org/drm-intel: (117 commits)
        drm/i915: Don't pin LRC in GGTT when dumping in debugfs
        drm/i915: Update DRIVER_DATE to 20141121
        drm/i915/g4x: fix g4x infoframe readout
        drm/i915: Only call mod_timer() if not already pending
        drm/i915: Don't rely upon encoder->type for infoframe hw state readout
        drm/i915: remove the IRQs enabled WARN from intel_disable_gt_powersave
        drm/i915: Use ggtt error obj capture helper for gen8 semaphores
        drm/i915: vlv: increase timeout when setting idle GPU freq
        drm/i915: vlv: fix cdclk setting during modeset while suspended
        drm/i915: Dump hdmi pipe_config state
        drm/i915: Gen9 shadowed registers
        drm/i915/skl: Gen9 multi-engine forcewake
        drm/i915: Read power well status before other registers for drpc info
        drm/i915: Pin tiled objects for L-shaped configs
        drm/i915: Update ring freq for full gpu freq range
        drm/i915: change initial rps frequency for gen8
        drm/i915: Keep min freq above floor on HSW/BDW
        drm/i915: Use efficient frequency for HSW/BDW
        drm/i915: Can i915_gem_init_ioctl
        drm/i915: Sanitize ->lastclose
        ...
      26045b53
  2. 02 12月, 2014 36 次提交