]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dp: Return int from dsc_max/min_src_input_bpc helpers
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 17 Dec 2024 09:32:36 +0000 (15:02 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 24 Dec 2024 09:49:58 +0000 (15:19 +0530)
commiteeb9632dfe7eae2ce4fd5deb318cd996f7f908e1
tree5470cae48d99922e5243301b8373a03a7baf858e
parent954e1eadc9c59bd9e6e0b01342b8421f59af85a2
drm/i915/dp: Return int from dsc_max/min_src_input_bpc helpers

Use ints for dsc_max/min_bpc instead of u8 in
dsc_max/min_src_input_bpc helpers and their callers.
This will also help replace min_t/max_t macros with min/max ones.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241217093244.3938132-7-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c