drm/i915/skl+: pass skl_wm_level struct to wm compute func
authorMahesh Kumar <[email protected]>
Mon, 9 Apr 2018 03:41:05 +0000 (09:11 +0530)
committerMaarten Lankhorst <[email protected]>
Mon, 9 Apr 2018 11:37:28 +0000 (13:37 +0200)
commit62027b7736d038309e93e6d5d25a9a72390821cb
tree7d202b8212b18432aa76025371d90a7ee2434fa8
parent942aa2d0503d483562795d8f4c0957e13bd4b59d
drm/i915/skl+: pass skl_wm_level struct to wm compute func

This patch passes skl_wm_level structure itself to watermark
computation function skl_compute_plane_wm function (instead
of its internal parameters). It reduces number of arguments
required to be passed.

v2: Addressed review comments by Shashank Sharma

v3: Adding reviewed by tag from Shashank Sharma

v4: Added reviewed by from Juha-Pekka Heikkila

v5: Rebased the series

Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Reviewed-by: Shashank Sharma <[email protected]>
Signed-off-by: Mahesh Kumar <[email protected]>
Signed-off-by: Vidya Srinivas <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_pm.c