Skip to content

drm/i915: Some wm/cxsr cleanups

Ville Syrjala intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/i915: Remove leftover intel_sprite_set_colorkey_ioctl() prototypedrivers/gpu/drm/i915/display/intel_sprite.h drivers/gpu/drm/i915/i915_driver.c+1 -42 replies
2/7drm/i915: Combine .compute_{pipe, intermediate}_wm() into onedrivers/gpu/drm/i915/display/i9xx_wm.c drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display_core.h +2 more+63 -471 reply
3/7drm/i915: Extract ilk_must_disable_lp_wm()drivers/gpu/drm/i915/display/intel_atomic_plane.c+57 -380 replies
4/7drm/i915: Clean up intel_wm_need_update()drivers/gpu/drm/i915/display/intel_atomic_plane.c+10 -103 replies
5/7drm/i915: Move the dodgy pre-g4x wm stuff into i9xx_wmdrivers/gpu/drm/i915/display/i9xx_wm.c drivers/gpu/drm/i915/display/intel_atomic_plane.c+74 -364 replies
6/7drm/i915: s/disable_lp_wm/disable_cxsr/drivers/gpu/drm/i915/display/i9xx_wm.c drivers/gpu/drm/i915/display/i9xx_wm.h drivers/gpu/drm/i915/display/intel_atomic.c +3 more+10 -141 reply
7/7drm/i915: Rename variables in ilk_intermedidate_wm()drivers/gpu/drm/i915/display/i9xx_wm.c+20 -151 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchArun R MurthyVinod Govindapillai
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] drm/i915: Some wm/cxsr cleanups

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

Start sorting out the pre-skl wm/cxsr code a bit. My plan is:
- move platform specific stuff out from intel_atomic_plane.c
- make cxsr actually robust (currently it has a bunch of poorly handled corner cases)
- probably some other fixes and cleanups

This series doesn't achieve those goals yet, because I decided to limit it to non-functional changes, but it's a start.

Also included the sprite uapi header cleanup here
to save ci a bit of grief.

Ville Syrjälä (7):
drm/i915: Remove leftover intel_sprite_set_colorkey_ioctl() prototype drm/i915: Combine .compute_{pipe,intermediate}_wm() into one drm/i915: Extract ilk_must_disable_lp_wm()
drm/i915: Clean up intel_wm_need_update()
drm/i915: Move the dodgy pre-g4x wm stuff into i9xx_wm drm/i915: s/disable_lp_wm/disable_cxsr/
drm/i915: Rename variables in ilk_intermedidate_wm()

 drivers/gpu/drm/i915/display/i9xx_wm.c        | 168 +++++++++++++++---
 drivers/gpu/drm/i915/display/i9xx_wm.h        |   4 +-
 drivers/gpu/drm/i915/display/intel_atomic.c   |   1 -
 .../gpu/drm/i915/display/intel_atomic_plane.c | 133 ++++++--------
 drivers/gpu/drm/i915/display/intel_display.c  |  21 +--
 .../gpu/drm/i915/display/intel_display_core.h |   6 +-
 .../drm/i915/display/intel_display_types.h    |   3 -
 drivers/gpu/drm/i915/display/intel_sprite.h   |   3 -
 drivers/gpu/drm/i915/display/intel_wm.c       |  24 +--
 drivers/gpu/drm/i915/display/intel_wm.h       |   6 +-
 drivers/gpu/drm/i915/i915_driver.c            |   2 +-
 11 files changed, 221 insertions(+), 150 deletions(-)
Signature · 1 line
2.44.2