1. 30 10月, 2020 12 次提交
  2. 24 10月, 2020 2 次提交
  3. 23 10月, 2020 1 次提交
  4. 22 10月, 2020 2 次提交
  5. 29 9月, 2020 3 次提交
  6. 28 9月, 2020 1 次提交
    • K
      drm/i915: Add enable/disable flip done and flip done handler · 1288f9b0
      Karthik B S 提交于
      Add enable/disable flip done functions and the flip done handler
      function which handles the flip done interrupt.
      
      Enable the flip done interrupt in IER.
      
      Enable flip done function is called before writing the
      surface address register as the write to this register triggers
      the flip done interrupt
      
      Flip done handler is used to send the page flip event as soon as the
      surface address is written as per the requirement of async flips.
      The interrupt is disabled after the event is sent.
      
      v2: -Change function name from icl_* to skl_* (Paulo)
          -Move flip handler to this patch (Paulo)
          -Remove vblank_put() (Paulo)
          -Enable flip done interrupt for gen9+ only (Paulo)
          -Enable flip done interrupt in power_well_post_enable hook (Paulo)
          -Removed the event check in flip done handler to handle async
           flips without pageflip events.
      
      v3: -Move skl_disable_flip_done out of interrupt handler (Paulo)
          -Make the pending vblank event NULL in the beginning of
           flip_done_handler to remove sporadic WARN_ON that is seen.
      
      v4: -Calculate timestamps using flip done time stamp and current
           timestamp for async flips (Ville)
      
      v5: -Fix the sparse warning by making the function 'g4x_get_flip_counter'
           static.(Reported-by: kernel test robot <lkp@intel.com>)
          -Fix the typo in commit message.
      
      v6: -Revert back to old time stamping code.
          -Remove the break while calling skl_enable_flip_done. (Paulo)
      
      v7: -Rebased.
      
      v8: -Rebased.
      
      v9: -Use struct drm_i915_private *i915 in new code. (Ville)
          -Use intel_crtc instead of drm_crtc. (Ville)
          -Do not mix the flip done and vblank hooks. (Ville)
      
      v10: -Rebased.
      Signed-off-by: NKarthik B S <karthik.b.s@intel.com>
      Signed-off-by: NVandita Kulkarni <vandita.kulkarni@intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200921110210.21182-2-karthik.b.s@intel.com
      1288f9b0
  7. 15 9月, 2020 5 次提交
  8. 07 9月, 2020 1 次提交
  9. 14 7月, 2020 2 次提交
  10. 26 6月, 2020 1 次提交
  11. 16 6月, 2020 1 次提交
  12. 15 6月, 2020 1 次提交
  13. 05 6月, 2020 1 次提交
  14. 02 6月, 2020 1 次提交
  15. 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
  16. 22 5月, 2020 1 次提交
  17. 20 5月, 2020 1 次提交
  18. 11 5月, 2020 1 次提交
  19. 06 5月, 2020 2 次提交