Hi, Here are some initial clean-ups and small refactoring in preparation for further refactoring of the watermark code.
Please review. Cheers, Luca. Luca Coelho (6): drm/i915/wm: clarify watermark ops with comments drm/i915/wm: move intel_sagv_init() to avoid forward declaration drm/i915/wm: remove stale FIXME in skl_needs_memory_bw_wa() drm/i915/wm: convert x/y-tiling bools to an enum drm/i915/wm: convert tiling mode check in slk_compute_plane_wm() to a switch-case drm/i915/wm: move method selection and calculation to a separate function .../gpu/drm/i915/display/intel_display_core.h | 6 +- drivers/gpu/drm/i915/display/skl_watermark.c | 162 +++++++++++------- 2 files changed, 106 insertions(+), 62 deletions(-) -- 2.50.1