1. 11 12月, 2020 1 次提交
  2. 10 12月, 2020 1 次提交
  3. 19 11月, 2020 2 次提交
  4. 17 11月, 2020 1 次提交
  5. 14 10月, 2020 1 次提交
  6. 06 10月, 2020 1 次提交
  7. 29 9月, 2020 2 次提交
  8. 15 9月, 2020 1 次提交
  9. 24 8月, 2020 1 次提交
  10. 02 6月, 2020 1 次提交
  11. 29 5月, 2020 1 次提交
    • V
      drm/i915: Stop using mode->private_flags · af157b76
      Ville Syrjälä 提交于
      Replace the use of mode->private_flags with a truly private bitmaks
      in our own crtc state. We also need a copy in the crtc itself so the
      vblank code can get at it. We already have scanline_offset in there
      for a similar reason, as well as the vblank->hwmode which is assigned
      via drm_calc_timestamping_constants(). Fortunately we now have a
      nice place for doing the crtc_state->crtc copy in
      intel_crtc_update_active_timings() which gets called both for
      modesets and init/resume readout.
      
      The one slightly iffy spot is the INHERITED flag which we want to
      preserve until userspace/fb_helper does the first proper commit after
      actually calling .detecti() on the connectors. Otherwise we don't have
      the full sink capabilities (audio,infoframes,etc.) when .compute_config()
      gets called and thus we will fail to enable those features when the
      first userspace commit happens. The only internal commit we do prior to
      that should be from intel_initial_commit() and there we can simply
      preserve the INHERITED flag from the readout.
      
      v2: Deal with INHERITED in sanitize_watermarks() as well
      
      CC: Sam Ravnborg <sam@ravnborg.org>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Emil Velikov <emil.l.velikov@gmail.com>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200429103904.11727-1-ville.syrjala@linux.intel.com
      af157b76
  12. 24 4月, 2020 3 次提交
  13. 21 4月, 2020 2 次提交
  14. 04 4月, 2020 1 次提交
  15. 26 3月, 2020 1 次提交
    • J
      drm/i915/dsi: use struct drm_device based logging · dd10a80f
      Jani Nikula 提交于
      Convert all the DRM_* logging macros to the struct drm_device based
      macros to provide device specific logging.
      
      No functional changes.
      
      Generated using the following semantic patch, originally written by
      Wambui Karuga <wambui.karugax@gmail.com>, with manual fixups on top:
      
      @@
      identifier fn, T;
      @@
      
      fn(...,struct drm_i915_private *T,...) {
      <+...
      (
      -DRM_INFO(
      +drm_info(&T->drm,
      ...)
      |
      -DRM_NOTE(
      +drm_notice(&T->drm,
      ...)
      |
      -DRM_ERROR(
      +drm_err(&T->drm,
      ...)
      |
      -DRM_WARN(
      +drm_warn(&T->drm,
      ...)
      |
      -DRM_DEBUG_DRIVER(
      +drm_dbg(&T->drm,
      ...)
      |
      -DRM_DEBUG_KMS(
      +drm_dbg_kms(&T->drm,
      ...)
      |
      -DRM_DEBUG_ATOMIC(
      +drm_dbg_atomic(&T->drm,
      ...)
      )
      ...+>
      }
      
      @@
      identifier fn, T;
      @@
      
      fn(...) {
      ...
      struct drm_i915_private *T = ...;
      <+...
      (
      -DRM_INFO(
      +drm_info(&T->drm,
      ...)
      |
      -DRM_NOTE(
      +drm_notice(&T->drm,
      ...)
      |
      -DRM_ERROR(
      +drm_err(&T->drm,
      ...)
      |
      -DRM_WARN(
      +drm_warn(&T->drm,
      ...)
      |
      -DRM_DEBUG_DRIVER(
      +drm_dbg(&T->drm,
      ...)
      |
      -DRM_DEBUG_KMS(
      +drm_dbg_kms(&T->drm,
      ...)
      |
      -DRM_DEBUG_ATOMIC(
      +drm_dbg_atomic(&T->drm,
      ...)
      )
      ...+>
      }
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/436b6dde60dcba235085c8bb216c841267519fa6.1584714939.git.jani.nikula@intel.com
      dd10a80f
  16. 24 3月, 2020 4 次提交
  17. 03 3月, 2020 3 次提交
  18. 02 2月, 2020 1 次提交
  19. 31 1月, 2020 2 次提交
  20. 29 1月, 2020 1 次提交
  21. 25 1月, 2020 1 次提交
    • W
      drm/i915/dsi: conversion to struct drm_device log macros. · b5280cd0
      Wambui Karuga 提交于
      This converts the more straightforward instances of the printk based
      logging macros with the struct drm_device based logging macros.
      This transformation was achieved using coccinelle and the following
      script for matching an existing struct drm_i915_private device:
      @rule1@
      identifier fn, T;
      @@
      
      fn(...,struct drm_i915_private *T,...) {
      <+...
      (
      -DRM_INFO(
      +drm_info(&T->drm,
      ...)
      |
      -DRM_ERROR(
      +drm_err(&T->drm,
      ...)
      |
      -DRM_WARN(
      +drm_warn(&T->drm,
      ...)
      |
      -DRM_DEBUG(
      +drm_dbg(&T->drm,
      ...)
      |
      -DRM_DEBUG_DRIVER(
      +drm_dbg(&T->drm,
      ...)
      |
      -DRM_DEBUG_KMS(
      +drm_dbg_kms(&T->drm,
      ...)
      |
      -DRM_DEBUG_ATOMIC(
      +drm_dbg_atomic(&T->drm,
      ...)
      )
      ...+>
      }
      
      @rule2@
      identifier fn, T;
      @@
      
      fn(...) {
      ...
      struct drm_i915_private *T = ...;
      <+...
      (
      -DRM_INFO(
      +drm_info(&T->drm,
      ...)
      |
      -DRM_ERROR(
      +drm_err(&T->drm,
      ...)
      |
      -DRM_WARN(
      +drm_warn(&T->drm,
      ...)
      |
      -DRM_DEBUG(
      +drm_dbg(&T->drm,
      ...)
      |
      -DRM_DEBUG_KMS(
      +drm_dbg_kms(&T->drm,
      ...)
      |
      -DRM_DEBUG_DRIVER(
      +drm_dbg(&T->drm,
      ...)
      |
      -DRM_DEBUG_ATOMIC(
      +drm_dbg_atomic(&T->drm,
      ...)
      )
      ...+>
      }
      
      New checkpatch warnings were fixed manually.
      Signed-off-by: NWambui Karuga <wambui.karugax@gmail.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200122110844.2022-2-wambui.karugax@gmail.com
      b5280cd0
  22. 14 1月, 2020 1 次提交
  23. 11 1月, 2020 1 次提交
  24. 29 12月, 2019 1 次提交
  25. 18 12月, 2019 1 次提交
  26. 11 12月, 2019 4 次提交