/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.h | 247 double dml32_RoundToDFSGranularity(double Clock, bool round_up, double VCOSpeed);
|
H A D | display_mode_vba_util_32.c | 1325 double dml32_RoundToDFSGranularity(double Clock, bool round_up, double VCOSpeed) in dml32_RoundToDFSGranularity() argument 1331 return VCOSpeed * 4.0 / dml_floor(VCOSpeed * 4.0 / Clock, 1.0); in dml32_RoundToDFSGranularity() 1333 return VCOSpeed * 4.0 / dml_ceil(VCOSpeed * 4.0 / Clock, 1.0); in dml32_RoundToDFSGranularity()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20.c | 120 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed); 121 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed); 802 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) in RoundToDFSGranularityUp() argument 804 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityUp() 807 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) in RoundToDFSGranularityDown() argument 809 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityDown()
|
H A D | display_mode_vba_20v2.c | 144 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed); 145 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed); 862 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) in RoundToDFSGranularityUp() argument 864 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityUp() 867 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) in RoundToDFSGranularityDown() argument 869 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityDown()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 144 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed); 145 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed); 1067 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) in RoundToDFSGranularityUp() argument 1069 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityUp() 1072 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) in RoundToDFSGranularityDown() argument 1074 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityDown()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 146 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed); 147 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed); 1298 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) in RoundToDFSGranularityUp() argument 1300 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityUp() 1303 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) in RoundToDFSGranularityDown() argument 1305 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4.0 / Clock, 1); in RoundToDFSGranularityDown()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 163 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed); 164 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed); 1462 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) argument 1464 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); 1467 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) argument 1469 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4.0 / Clock, 1);
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 175 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed); 176 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed); 1482 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) argument 1484 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); 1487 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) argument 1489 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4.0 / Clock, 1);
|