/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.h | 247 double dml32_RoundToDFSGranularity(double Clock, bool round_up, double VCOSpeed);
|
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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
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()
|
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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
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);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 172 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed); 173 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed); 1479 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) argument 1481 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); 1484 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) argument 1486 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4.0 / Clock, 1);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 188 …ic dml_float_t RoundToDFSGranularity(dml_float_t Clock, dml_bool_t round_up, dml_float_t VCOSpeed); 2082 …tic dml_float_t RoundToDFSGranularity(dml_float_t Clock, dml_bool_t round_up, dml_float_t VCOSpeed) in RoundToDFSGranularity() argument 2088 return VCOSpeed * 4.0 / dml_floor(VCOSpeed * 4.0 / Clock, 1.0); in RoundToDFSGranularity() 2090 return VCOSpeed * 4.0 / dml_ceil(VCOSpeed * 4.0 / Clock, 1.0); in RoundToDFSGranularity()
|