Lines Matching +full:18 +full:bpp
94 const u32 max_supported_bpp = 30, min_supported_bpp = 18; in dp_panel_get_supported_bpp()
95 u32 bpp, data_rate_khz; in dp_panel_get_supported_bpp() local
97 bpp = min(mode_edid_bpp, max_supported_bpp); in dp_panel_get_supported_bpp()
103 if (mode_pclk_khz * bpp <= data_rate_khz) in dp_panel_get_supported_bpp()
104 return bpp; in dp_panel_get_supported_bpp()
105 bpp -= 6; in dp_panel_get_supported_bpp()
106 } while (bpp > min_supported_bpp); in dp_panel_get_supported_bpp()
179 u32 bpp; in dp_panel_get_mode_bpp() local
189 bpp = dp_link_bit_depth_to_bpp( in dp_panel_get_mode_bpp()
192 bpp = dp_panel_get_supported_bpp(dp_panel, mode_edid_bpp, in dp_panel_get_mode_bpp()
195 return bpp; in dp_panel_get_mode_bpp()
303 vsc_sdp_data.bpc = dp_mode->bpp / 3; in dp_panel_setup_vsc_sdp_yuv_420()
424 drm_dbg_dp(panel->drm_dev, "bpp = %d\n", dp_panel->dp_mode.bpp); in dp_panel_init_panel_info()
426 dp_panel->dp_mode.bpp = dp_panel_get_mode_bpp(dp_panel, dp_panel->dp_mode.bpp, in dp_panel_init_panel_info()
429 drm_dbg_dp(panel->drm_dev, "updated bpp = %d\n", in dp_panel_init_panel_info()
430 dp_panel->dp_mode.bpp); in dp_panel_init_panel_info()