1. 05 5月, 2014 28 次提交
  2. 01 5月, 2014 2 次提交
  3. 30 4月, 2014 3 次提交
  4. 25 4月, 2014 5 次提交
  5. 24 4月, 2014 2 次提交
    • D
      drm/tegra: restrict plane loops to legacy planes · 2b4c3661
      Daniel Vetter 提交于
      In Matt Ropers primary plane series a set of prep patches like
      
      commit af2b653b
      Author: Matt Roper <matthew.d.roper@intel.com>
      Date:   Tue Apr 1 15:22:32 2014 -0700
      
          drm/i915: Restrict plane loops to only operate on overlay planes (v2)
      
      ensured that all exisiting users of the mode_config->plane_list
      wouldn't change behaviour. Unfortunately tegra seems to have fallen
      through the cracks. Fix it.
      
      This regression was introduced in
      
      commit e13161af
      Author: Matt Roper <matthew.d.roper@intel.com>
      Date:   Tue Apr 1 15:22:38 2014 -0700
      
          drm: Add drm_crtc_init_with_planes() (v2)
      
      The result was that we've unref'ed the fb for the primary plane twice,
      leading to a use-after free bug. This is because the drm core will
      already set crtc->primary->fb to NULL and do the unref for us, and the
      crtc disable hook is called by the drm crtc helpers for exactly this
      case.
      
      Aside: Now that the fbdev helpers clean up planes there's no longer a
      need to do this in drivers. So this could probably be nuked entirely
      in linux-next.
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Reviewed-by: NMatt Roper <matthew.d.roper@intel.com>
      Tested-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      2b4c3661
    • B
      drm/i915: Allow full PPGTT with param override · 0f9dc59d
      Ben Widawsky 提交于
      When PPGTT was disabled by default, the patch also prevented the user
      from overriding this behavior via module parameter. Being able to test
      this on arbitrary kernels is extremely beneficial to track down the
      remaining bugs. The patch that prevented this was:
      
      commit 93a25a9e
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Thu Mar 6 09:40:43 2014 +0100
      
          drm/i915: Disable full ppgtt by default
      
      By default PPGTT is set to -1. 0 means off, 1 means aliasing only, 2
      means full, all other values are reserved.
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      0f9dc59d