1. 04 11月, 2014 2 次提交
    • P
      drm: Remove compiler BUG_ON() test · b74c6c92
      Peter Hurley 提交于
      modeset->num_connectors must be 0 to reach the BUG_ON() which tests
      for non-zero modeset->num_connectors; remove BUG_ON().
      Signed-off-by: NPeter Hurley <peter@hurleysoftware.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      b74c6c92
    • P
      drm: Fix DRM_FORCE_ON_DIGITAL use · 2c4cc91b
      Peter Hurley 提交于
      A connector may be forced on from the command line via video=
      command line setting. The digital output of dual-mode connectors
      can also be specifically selected and forced on; eg., 'video=DVI-I-2:D'.
      However, in this case, the connector->status will be mistakenly set to
      connector_status_disconnected, and the connector will not be mode set.
      
      Fix the connector->status when connector->force is DRM_FORCE_ON_DIGITAL.
      
      Note that this seems to have been broken ever since the introduction
      of the connector forcing support in
      
      commit d50ba256
      Author: Dave Airlie <airlied@linux.ie>
      Date:   Wed Sep 23 14:44:08 2009 +1000
      
          drm/kms: start adding command line interface using fb.
      Signed-off-by: NPeter Hurley <peter@hurleysoftware.com>
      [danvet: Add note about that this never worked.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      2c4cc91b
  2. 01 11月, 2014 3 次提交
  3. 23 10月, 2014 2 次提交
  4. 22 10月, 2014 2 次提交
  5. 21 10月, 2014 1 次提交
  6. 13 10月, 2014 2 次提交
  7. 08 10月, 2014 1 次提交
  8. 03 10月, 2014 1 次提交
  9. 01 10月, 2014 4 次提交
  10. 30 9月, 2014 6 次提交
  11. 25 9月, 2014 1 次提交
    • D
      drm: Drop grab fpriv->fbs_lock in drm_fb_release · 1b116297
      Daniel Vetter 提交于
      Paulo Zanoni reported a lockdep splat with a locking inversion between
      fpriv->fbs_lock and the modeset locks. This issue was introduced in
      
      commit f2b50c11
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Fri Sep 12 17:07:32 2014 +0200
      
          drm: Fixup locking for universal cursor planes
      
      This here is actually one of the rare cases where lockdep hits a false
      positive: The deadlock only happens in drm_fb_release, which cleans up
      the file private structure when all the references are gone. So the
      locking is the very last one and no one else can deadlock. It also
      doesn't protect anything at all, since all ioctls are guaranteed to
      have returned at this point - otherwise they'd still hold a reference
      on the file.
      
      So let's just drop it and replace it with a big comment.
      
      Cc: David Herrmann <dh.herrmann@gmail.com>
      Cc: Matt Roper <matthew.d.roper@intel.com>
      Cc: Paulo Zanoni <przanoni@gmail.com>
      Reported-and-Tested-by: NPaulo Zanoni <przanoni@gmail.com>
      Reviewed-by: NMatt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      1b116297
  12. 24 9月, 2014 15 次提交