drm/display/dp: Add helper function to get DSC bpp precision
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 10 Nov 2023 10:10:10 +0000 (15:40 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 14 Nov 2023 09:35:20 +0000 (15:05 +0530)
commit0c2287c9652150cf659408b66c1789830822132f
treef3f6677a3f8f1172edea534deef5bf628a4737b5
parent59be90248b422f2924872de0be2867652214096a
drm/display/dp: Add helper function to get DSC bpp precision

Add helper to get the DSC bits_per_pixel precision for the DP sink.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231110101020.4067342-2-ankit.k.nautiyal@intel.com
drivers/gpu/drm/display/drm_dp_helper.c
include/drm/display/drm_dp_helper.h