From: Ville Syrjälä <[email protected]>

Currently skl_is_vblank_too_short() is trying to do the
prefill vs. vblank/guardband length checks using a completely
stale cdclk frequency. Attempt to shuffle thigns around
sufficiently so that we might be able to remedy it. Note however
that this series does not yet fix the actual cdclk factor used
in the checks. That part will come in a separate series.

I also took the opportunity to carve up intel_bw.c a bit since
it's basically made up of three completely independent things.
While not strictly necessary for the reordering, it's nice to
untangle intel_bw.c for clarity.

Ville Syrjälä (9):
  drm/i915/bw: Untangle dbuf bw from the sagv/mem bw stuff
  drm/i915: s/"not not"/"not"/
  drm/i915/bw: Relocate intel_bw_crtc_min_cdclk()
  drm/i915/ips: Eliminate the cdclk_state stuff from
    hsw_ips_compute_config()
  drm/i915/fbc: Decouple FBC from intel_cdclk_atomic_check()
  drm/i915: s/min_cdck[]/plane_min_cdclk[]/
  drm/i915: Compute per-crtc min_cdclk earlier
  drm/i915: Include the per-crtc minimum cdclk in the crtc state dump
  drm/i915: Neuter cdclk_prefill_adjustment()

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/display/hsw_ips.c        |  61 ++--
 drivers/gpu/drm/i915/display/intel_bw.c       | 247 +--------------
 drivers/gpu/drm/i915/display/intel_bw.h       |   5 -
 drivers/gpu/drm/i915/display/intel_cdclk.c    |  46 ++-
 drivers/gpu/drm/i915/display/intel_cdclk.h    |   9 +-
 drivers/gpu/drm/i915/display/intel_crtc.c     |  44 +++
 drivers/gpu/drm/i915/display/intel_crtc.h     |   4 +
 .../drm/i915/display/intel_crtc_state_dump.c  |   4 +-
 drivers/gpu/drm/i915/display/intel_dbuf_bw.c  | 295 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_dbuf_bw.h  |  37 +++
 drivers/gpu/drm/i915/display/intel_display.c  |   3 +
 .../gpu/drm/i915/display/intel_display_core.h |   4 +
 .../drm/i915/display/intel_display_driver.c   |   5 +
 .../drm/i915/display/intel_display_types.h    |   4 +-
 drivers/gpu/drm/i915/display/intel_fbc.c      |  49 ++-
 drivers/gpu/drm/i915/display/intel_fbc.h      |   1 +
 .../drm/i915/display/intel_modeset_setup.c    |  14 +-
 drivers/gpu/drm/i915/display/intel_plane.c    |   4 +-
 drivers/gpu/drm/i915/display/skl_watermark.c  |  14 +-
 drivers/gpu/drm/xe/Makefile                   |   1 +
 21 files changed, 510 insertions(+), 342 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_dbuf_bw.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_dbuf_bw.h

-- 
2.49.1

Reply via email to