drm/i915/wm: remove ILK+ nop funcs fallback
authorJani Nikula <jani.nikula@intel.com>
Wed, 15 Feb 2023 14:19:10 +0000 (16:19 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 16 Feb 2023 14:46:36 +0000 (16:46 +0200)
commitae2ac2d806b7c3a0cfad4cd76c22aa44b69d9265
treeaba6a7523472085a2f67ba3235a576ca51d9a1ec
parent4923e99fd0a711f854b964e1a8cf9163112d1cee
drm/i915/wm: remove ILK+ nop funcs fallback

Disabling ILK+ watermarks on failure to read the watermark levels dates
back to 2010 and commit 7f8a85698f5c ("drm/i915: Add the support of
memory self-refresh on Ironlake"), with no explanations, and it's been
copied and modified from that ever since. Finally drop it.

If the value are actually zero, the ilk_compute_*_wm() functions should
handle it gracefully.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230215141910.433043-5-jani.nikula@intel.com
drivers/gpu/drm/i915/display/i9xx_wm.c