Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/dp: Export intel_dp_dsc_min_src_compressed_bpp()

Export the function that can be used by a follow-up change to query the
minimum compressed link bpp supported by the HW.

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20250509180340.554867-11-imre.deak@intel.com

+3 -2
+2 -2
drivers/gpu/drm/i915/display/intel_dp.c
··· 2071 2071 pipe_config, bpc) >> 4; 2072 2072 } 2073 2073 2074 - static int dsc_src_min_compressed_bpp(void) 2074 + int intel_dp_dsc_min_src_compressed_bpp(void) 2075 2075 { 2076 2076 /* Min Compressed bpp supported by source is 8 */ 2077 2077 return 8; ··· 2482 2482 int dsc_src_min_bpp, dsc_sink_min_bpp, dsc_min_bpp; 2483 2483 int dsc_src_max_bpp, dsc_sink_max_bpp, dsc_max_bpp; 2484 2484 2485 - dsc_src_min_bpp = dsc_src_min_compressed_bpp(); 2485 + dsc_src_min_bpp = intel_dp_dsc_min_src_compressed_bpp(); 2486 2486 dsc_sink_min_bpp = intel_dp_dsc_sink_min_compressed_bpp(crtc_state); 2487 2487 dsc_min_bpp = max(dsc_src_min_bpp, dsc_sink_min_bpp); 2488 2488 limits->link.min_bpp_x16 = fxp_q4_from_int(dsc_min_bpp);
+1
drivers/gpu/drm/i915/display/intel_dp.h
··· 208 208 const struct drm_connector_state *conn_state); 209 209 int intel_dp_dsc_max_src_input_bpc(struct intel_display *display); 210 210 int intel_dp_dsc_min_src_input_bpc(void); 211 + int intel_dp_dsc_min_src_compressed_bpp(void); 211 212 int intel_dp_compute_min_hblank(struct intel_crtc_state *crtc_state, 212 213 const struct drm_connector_state *conn_state); 213 214