1. 31 12月, 2018 13 次提交
  2. 29 12月, 2018 2 次提交
  3. 28 12月, 2018 5 次提交
  4. 27 12月, 2018 2 次提交
  5. 25 12月, 2018 3 次提交
  6. 22 12月, 2018 4 次提交
  7. 21 12月, 2018 1 次提交
    • M
      drm/i915: Disable FBC on fastset if necessary, v2. · 50c42fc9
      Maarten Lankhorst 提交于
      Without this, we will get a dmesg-warn when enable_fbc is cleared on a fastset:
      WARN_ON(!crtc_state->enable_fbc)
      WARNING: CPU: 0 PID: 1090 at drivers/gpu/drm/i915/intel_fbc.c:1091 intel_fbc_enable+0x2ce/0x580 [i915]
      RIP: 0010:intel_fbc_enable+0x2ce/0x580 [i915]
      Call Trace:
       ? __mutex_unlock_slowpath+0x46/0x2b0
       intel_update_crtc+0x6f/0x2b0 [i915]
       skl_update_crtcs+0x1d1/0x2b0 [i915]
       intel_atomic_commit_tail+0x1ea/0xdb0 [i915]
       intel_atomic_commit+0x244/0x330 [i915]
       drm_mode_atomic_ioctl+0x85d/0x950
       ? drm_atomic_set_property+0x970/0x970
       drm_ioctl_kernel+0x81/0xf0
       drm_ioctl+0x2de/0x390
       ? drm_atomic_set_property+0x970/0x970
       ? __handle_mm_fault+0x81b/0xfc0
       do_vfs_ioctl+0xa0/0x6e0
       ? __do_page_fault+0x2a5/0x550
       ksys_ioctl+0x35/0x60
       __x64_sys_ioctl+0x11/0x20
       do_syscall_64+0x55/0x190
       entry_SYSCALL_64_after_hwframe+0x49/0xbe
      
      Changes since v1:
      - Move intel_fbc_disable to intel_update_crtc() (Hans)
      
      Cc: Hans de Goede <hdegoede@redhat.com>
      Signed-off-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181220151719.30586-1-maarten.lankhorst@linux.intel.comReviewed-by: NHans de Goede <hdegoede@redhat.com>
      50c42fc9
  8. 20 12月, 2018 1 次提交
  9. 18 12月, 2018 8 次提交
  10. 17 12月, 2018 1 次提交
    • M
      drm/i915/dsc: Add Per connector debugfs node for DSC support/enable · e845f099
      Manasi Navare 提交于
      DSC can be supported per DP connector. This patch adds a per connector
      debugfs node to expose DSC support capability by the kernel.
      The same node can be used from userspace to force DSC enable.
      
      force_dsc_en written through this debugfs node is used to force
      DSC even for lower resolutions.
      
      Credits to Ville Syrjala for suggesting the proper locks to be used
      and to Lyude Paul for explaining how to use them in this context
      
      v8:
      * Add else if (ret) for drm_modeset_lock (Lyude)
      v7:
      * Get crtc, crtc_state from connector atomic state
      and add proper locks and backoff (Ville, Chris Wilson, Lyude)
      (Suggested-by: Ville Syrjala <ville.syrjala@linux.intel.com>)
      * Use %zu for printing size_t variable (Lyude)
      v6:
      * Read fec_capable only for non edp (Manasi)
      v5:
      * Name it dsc sink support and also add
      fec support in the same node (Ville)
      v4:
      * Add missed connector_status check (Manasi)
      * Create i915_dsc_support node only for Gen >=10 (manasi)
      * Access intel_dp->dsc_dpcd only if its not NULL (Manasi)
      v3:
      * Combine Force_dsc_en with this patch (Ville)
      v2:
      * Use kstrtobool_from_user to avoid explicit error checking (Lyude)
      * Rebase on drm-tip (Manasi)
      
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
      Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
      Cc: Lyude Paul <lyude@redhat.com>
      Signed-off-by: NManasi Navare <manasi.d.navare@intel.com>
      Reviewed-by: NLyude Paul <lyude@redhat.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181206005407.4698-1-manasi.d.navare@intel.com
      e845f099