Name

drm_dp_calc_pbn_mode — Calculate the PBN for a mode.

Synopsis

int drm_dp_calc_pbn_mode (int clock,
 int bpp);
 

Arguments

clock

dot clock for the mode

bpp

bpp for the mode.

Description

This uses the formula in the spec to calculate the PBN value for a mode.