]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: add a gelper to relative data rate handling
authorVinod Govindapillai <vinod.govindapillai@intel.com>
Thu, 21 Nov 2024 11:27:25 +0000 (13:27 +0200)
committerVinod Govindapillai <vinod.govindapillai@intel.com>
Thu, 12 Dec 2024 07:26:55 +0000 (09:26 +0200)
commitaac49b862a855e170620f023fbca370fac763e33
tree4214b25fcc7ddb7a1d1539471a824a9c0bd8df86
parent7947f4c4f6e91e9b42c9d5954da5fbe543d70aea
drm/i915/display: add a gelper to relative data rate handling

Add a helper to the relative data rate handling in skl_watermarks.c
where other similar functions are implemented. Also get rid of
use_min_ddb() and use use_minimal_wm0() instead to decide whether
the relative data rate can be returned as 0

v2: re-phrase the commit description (uma)

Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241121112726.510220-3-vinod.govindapillai@intel.com
drivers/gpu/drm/i915/display/intel_atomic_plane.c
drivers/gpu/drm/i915/display/skl_watermark.c
drivers/gpu/drm/i915/display/skl_watermark.h