1. 11 2月, 2020 2 次提交
  2. 18 12月, 2019 1 次提交
  3. 02 10月, 2019 1 次提交
  4. 18 9月, 2019 1 次提交
    • D
      drm/kms: Duct-tape for mode object lifetime checks · e0f32f78
      Daniel Vetter 提交于
      commit 4f5368b5
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Fri Jun 14 08:17:23 2019 +0200
      
          drm/kms: Catch mode_object lifetime errors
      
      uncovered a bit a mess in dp drivers. Most drivers (from a quick look,
      all except i915) register all the dp stuff in their init code, which
      is too early. With CONFIG_DRM_DP_AUX_CHARDEV this will blow up,
      because drm_dp_aux_register tries to add a child to a device in sysfs
      (the connector) which doesn't even exist yet.
      
      No one seems to have cared thus far. But with the above change I also
      moved the setting of dev->registered after the ->load callback, in an
      attempt to keep old drivers from hitting any WARN_ON backtraces. But
      that moved radeon.ko from the "working, by accident" to "now also
      broken" category.
      
      Since this is a huge mess I figured a revert would be simplest. But
      this check has already caught issues in i915:
      
      commit 1b9bd096
      Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Date:   Tue Aug 20 19:16:57 2019 +0300
      
          drm/i915: Do not create a new max_bpc prop for MST connectors
      
      Hence I'd like to retain it. Fix the radeon regression by moving the
      setting of dev->registered back to were it was, and stop the
      backtraces with an explicit check for dev->driver->load.
      
      Everyone else will stay as broken with CONFIG_DRM_DP_AUX_CHARDEV. The
      next patch will improve the kerneldoc and add a todo entry for this.
      
      Fixes: 4f5368b5 ("drm/kms: Catch mode_object lifetime errors")
      Cc: Sean Paul <sean@poorly.run>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Reported-by: NMichel Dänzer <michel@daenzer.net>
      Reviewed-by: NMichel Dänzer <mdaenzer@redhat.com>
      Tested-by: NMichel Dänzer <mdaenzer@redhat.com>
      Cc: Michel Dänzer <michel@daenzer.net>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190917120936.7501-1-daniel.vetter@ffwll.ch
      e0f32f78
  5. 20 8月, 2019 1 次提交
  6. 10 7月, 2019 1 次提交
  7. 13 6月, 2019 1 次提交
  8. 28 5月, 2019 1 次提交
  9. 26 5月, 2019 2 次提交
    • D
      vfs: Convert drm to use the new mount API · 4a457910
      David Howells 提交于
      Convert the drm filesystem to the new internal mount API as the old
      one will be obsoleted and removed.  This allows greater flexibility in
      communication of mount parameters between userspace, the VFS and the
      filesystem.
      
      See Documentation/filesystems/mount_api.txt for more information.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Acked-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      cc: David Airlie <airlied@linux.ie>
      cc: dri-devel@lists.freedesktop.org
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      4a457910
    • A
      mount_pseudo(): drop 'name' argument, switch to d_make_root() · 1f58bb18
      Al Viro 提交于
      Once upon a time we used to set ->d_name of e.g. pipefs root
      so that d_path() on pipes would work.  These days it's
      completely pointless - dentries of pipes are not even connected
      to pipefs root.  However, mount_pseudo() had set the root
      dentry name (passed as the second argument) and callers
      kept inventing names to pass to it.  Including those that
      didn't *have* any non-root dentries to start with...
      
      All of that had been pointless for about 8 years now; it's
      time to get rid of that cargo-culting...
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      1f58bb18
  10. 20 5月, 2019 1 次提交
  11. 24 4月, 2019 3 次提交
  12. 18 4月, 2019 1 次提交
  13. 25 3月, 2019 1 次提交
  14. 04 3月, 2019 3 次提交
  15. 21 2月, 2019 2 次提交
  16. 19 2月, 2019 1 次提交
  17. 12 1月, 2019 1 次提交
  18. 27 12月, 2018 1 次提交
  19. 25 11月, 2018 1 次提交
  20. 06 11月, 2018 1 次提交
  21. 25 10月, 2018 1 次提交
  22. 13 9月, 2018 1 次提交
  23. 16 7月, 2018 1 次提交
    • L
      drm/dp_helper: Add DP aux channel tracing · a18b2192
      Lyude Paul 提交于
      This is something we've needed for a very long time now, as it makes
      debugging issues with faulty MST hubs along with debugging issues
      regarding us interfacing with hubs correctly vastly easier to debug.
      Currently this can actually be done if you trace the i2c devices for DP
      using ftrace but that's significantly less useful for a couple of
      reasons:
      
      - Tracing the i2c devices through ftrace means all of the traces are
        going to contain a lot of "garbage" output that we're sending over the
        i2c line. Most of this garbage comes from retrying transactions, DRM's
        helper library adding extra transactions to work around bad hubs, etc.
      - Having a user set up ftrace so that they can provide debugging
        information is a lot more difficult then being able to say "just boot
        with drm.debug=0x100"
      - We can potentially expand upon this tracing in the future to print
        debugging information in regards to other DP transactions like MST
        sideband transactions
      
      This is inspired by a patch Rob Clark sent to do this a long time back.
      Neither of us could find the patch however, so we both assumed it would
      probably just be easier to rewrite it anyway.
      
      Cc: Rob Clark <robdclark@gmail.com>
      Signed-off-by: NLyude Paul <lyude@redhat.com>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180716154432.13433-1-lyude@redhat.com
      a18b2192
  24. 10 7月, 2018 1 次提交
  25. 31 5月, 2018 1 次提交
  26. 11 5月, 2018 1 次提交
    • H
      drm: Match sysfs name in link removal to link creation · 7f6df440
      Haneen Mohammed 提交于
      This patch matches the sysfs name used in the unlinking with the
      linking function. Otherwise, remove_compat_control_link() fails to remove
      sysfs created by create_compat_control_link() in drm_dev_register().
      
      Fixes: 6449b088 ("drm: Add fake controlD* symlinks for backwards
      compat")
      Cc: Dave Airlie <airlied@gmail.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Emil Velikov <emil.l.velikov@gmail.com>
      Cc: David Herrmann <dh.herrmann@gmail.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Gustavo Padovan <gustavo@padovan.org>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Sean Paul <seanpaul@chromium.org>
      Cc: David Airlie <airlied@linux.ie>
      Cc: dri-devel@lists.freedesktop.org
      Cc: <stable@vger.kernel.org> # v4.10+
      Signed-off-by: NHaneen Mohammed <hamohammed.sa@gmail.com>
      [seanpaul added Fixes and Cc tags]
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180511041542.GA4253@haneen-vb
      7f6df440
  27. 04 5月, 2018 1 次提交
  28. 29 3月, 2018 1 次提交
  29. 06 3月, 2018 1 次提交
  30. 25 10月, 2017 1 次提交
  31. 21 10月, 2017 1 次提交
  32. 26 9月, 2017 1 次提交
  33. 11 8月, 2017 1 次提交