1. 15 1月, 2019 7 次提交
  2. 09 1月, 2019 1 次提交
  3. 03 1月, 2019 1 次提交
  4. 02 1月, 2019 1 次提交
  5. 31 12月, 2018 1 次提交
  6. 25 12月, 2018 1 次提交
  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. 18 12月, 2018 1 次提交
    • H
      drm/i915: Update crtc scaler settings when update_pipe is set · 2c5c415c
      Hans de Goede 提交于
      When the pipe_config's update_pipe flag is set we may need to update the
      panel fitting settings. On GEN9+ this means we need to update the crtc's
      scaler settings.
      
      This fixes the following WARN_ON, during i915 loading on an Asrock
      B150M Pro4S/D3 board with an i5-6500 CPU / graphics:
      
      [drm:pipe_config_err [i915]] *ERROR* mismatch in pch_pfit.enabled
       (expected no, found yes)
      pipe state doesn't match!
      WARNING: CPU: 3 PID: 305 at drivers/gpu/drm/i915/intel_display.c:12084
      
      With line 12084 being the I915_STATE_WARN call inside the
      "if (!intel_pipe_config_compare())" block in verify_crtc_state().
      
      On this board with 2 1920x1080 monitors connected over HDMI the GOP
      initializes both monitors at 1920x1080 and despite no scaling being
      necessary configures a scaler for one of them.
      
      When booting with fastboot=1 on the initial modeset needs_modeset will
      be false while update_pipe is true. Since we were not calling
      skl_update_scaler_crtc() in this case we would leave the scaler enabled
      causing this error.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181217141903.4182-1-hdegoede@redhat.com
      2c5c415c
  9. 13 12月, 2018 2 次提交
  10. 11 12月, 2018 2 次提交
  11. 05 12月, 2018 1 次提交
  12. 04 12月, 2018 2 次提交
  13. 03 12月, 2018 4 次提交
  14. 30 11月, 2018 4 次提交
  15. 29 11月, 2018 5 次提交
  16. 23 11月, 2018 1 次提交
  17. 21 11月, 2018 4 次提交
  18. 15 11月, 2018 1 次提交