dsc_roundf 114 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (0) : ((((bpp >= 8) && (bpp <= 12))) ? (2) : ((bpp >= 15) ? (10) : ((((bpp > 6) && (bpp < 8))) ? (0 + dsc_roundf((bpp - 6) * (2 / 2.0))) : (2 + dsc_roundf((bpp - 12) * (8 / 3.0)))))); dsc_roundf 115 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-2) : ((((bpp >= 8) && (bpp <= 12))) ? (0) : ((bpp >= 15) ? (8) : ((((bpp > 6) && (bpp < 8))) ? (-2 + dsc_roundf((bpp - 6) * (2 / 2.0))) : (0 + dsc_roundf((bpp - 12) * (8 / 3.0)))))); dsc_roundf 116 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-2) : ((((bpp >= 8) && (bpp <= 12))) ? (0) : ((bpp >= 15) ? (6) : ((((bpp > 6) && (bpp < 8))) ? (-2 + dsc_roundf((bpp - 6) * (2 / 2.0))) : (0 + dsc_roundf((bpp - 12) * (6 / 3.0)))))); dsc_roundf 117 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-4) : ((((bpp >= 8) && (bpp <= 12))) ? (-2) : ((bpp >= 15) ? (4) : ((((bpp > 6) && (bpp < 8))) ? (-4 + dsc_roundf((bpp - 6) * (2 / 2.0))) : (-2 + dsc_roundf((bpp - 12) * (6 / 3.0)))))); dsc_roundf 118 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-6) : ((((bpp >= 8) && (bpp <= 12))) ? (-4) : ((bpp >= 15) ? (2) : ((((bpp > 6) && (bpp < 8))) ? (-6 + dsc_roundf((bpp - 6) * (2 / 2.0))) : (-4 + dsc_roundf((bpp - 12) * (6 / 3.0)))))); dsc_roundf 119 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 12) ? (-6) : ((bpp >= 15) ? (0) : (-6 + dsc_roundf((bpp - 12) * (6 / 3.0)))); dsc_roundf 120 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 12) ? (-8) : ((bpp >= 15) ? (-2) : (-8 + dsc_roundf((bpp - 12) * (6 / 3.0)))); dsc_roundf 121 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 12) ? (-8) : ((bpp >= 15) ? (-4) : (-8 + dsc_roundf((bpp - 12) * (4 / 3.0)))); dsc_roundf 122 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 12) ? (-8) : ((bpp >= 15) ? (-6) : (-8 + dsc_roundf((bpp - 12) * (2 / 3.0)))); dsc_roundf 123 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 12) ? (-10) : ((bpp >= 15) ? (-8) : (-10 + dsc_roundf((bpp - 12) * (2 / 3.0)))); dsc_roundf 125 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-12) : ((bpp >= 8) ? (-10) : (-12 + dsc_roundf((bpp - 6) * (2 / 2.0)))); dsc_roundf 130 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (2) : ((bpp >= 10) ? (10) : (2 + dsc_roundf((bpp - 8) * (8 / 2.0)))); dsc_roundf 131 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (0) : ((bpp >= 10) ? (8) : (0 + dsc_roundf((bpp - 8) * (8 / 2.0)))); dsc_roundf 132 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (0) : ((bpp >= 10) ? (6) : (0 + dsc_roundf((bpp - 8) * (6 / 2.0)))); dsc_roundf 133 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-2) : ((bpp >= 10) ? (4) : (-2 + dsc_roundf((bpp - 8) * (6 / 2.0)))); dsc_roundf 134 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-4) : ((bpp >= 10) ? (2) : (-4 + dsc_roundf((bpp - 8) * (6 / 2.0)))); dsc_roundf 135 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-6) : ((bpp >= 10) ? (0) : (-6 + dsc_roundf((bpp - 8) * (6 / 2.0)))); dsc_roundf 136 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-8) : ((bpp >= 10) ? (-2) : (-8 + dsc_roundf((bpp - 8) * (6 / 2.0)))); dsc_roundf 137 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-8) : ((bpp >= 10) ? (-4) : (-8 + dsc_roundf((bpp - 8) * (4 / 2.0)))); dsc_roundf 138 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-8) : ((bpp >= 10) ? (-6) : (-8 + dsc_roundf((bpp - 8) * (2 / 2.0)))); dsc_roundf 139 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-10) : ((bpp >= 10) ? (-8) : (-10 + dsc_roundf((bpp - 8) * (2 / 2.0)))); dsc_roundf 141 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-12) : ((bpp >= 7) ? (-10) : (-12 + dsc_roundf((bpp - 6) * (2.0 / 1)))); dsc_roundf 146 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (2) : ((bpp >= 8) ? (10) : (2 + dsc_roundf((bpp - 6) * (8 / 2.0)))); dsc_roundf 147 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (0) : ((bpp >= 8) ? (8) : (0 + dsc_roundf((bpp - 6) * (8 / 2.0)))); dsc_roundf 148 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (0) : ((bpp >= 8) ? (6) : (0 + dsc_roundf((bpp - 6) * (6 / 2.0)))); dsc_roundf 149 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-2) : ((bpp >= 8) ? (4) : (-2 + dsc_roundf((bpp - 6) * (6 / 2.0)))); dsc_roundf 150 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-4) : ((bpp >= 8) ? (2) : (-4 + dsc_roundf((bpp - 6) * (6 / 2.0)))); dsc_roundf 151 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-6) : ((bpp >= 8) ? (0) : (-6 + dsc_roundf((bpp - 6) * (6 / 2.0)))); dsc_roundf 152 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-8) : ((bpp >= 8) ? (-2) : (-8 + dsc_roundf((bpp - 6) * (6 / 2.0)))); dsc_roundf 153 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-8) : ((bpp >= 8) ? (-4) : (-8 + dsc_roundf((bpp - 6) * (4 / 2.0)))); dsc_roundf 154 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-8) : ((bpp >= 8) ? (-6) : (-8 + dsc_roundf((bpp - 6) * (2 / 2.0)))); dsc_roundf 155 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-10) : ((bpp >= 8) ? (-8) : (-10 + dsc_roundf((bpp - 6) * (2 / 2.0)))); dsc_roundf 157 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 4) ? (-12) : ((bpp >= 5) ? (-10) : (-12 + dsc_roundf((bpp - 4) * (2 / 1.0)))); dsc_roundf 191 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->initial_fullness_offset = (bpp >= 6) ? (2048) : ((bpp <= 4) ? (6144) : ((((bpp > 4) && (bpp <= 5))) ? (6144 - dsc_roundf((bpp - 4) * (512))) : (5632 - dsc_roundf((bpp - 5) * (3584))))); dsc_roundf 196 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->initial_fullness_offset = (bpp >= 8) ? (2048) : ((bpp <= 7) ? (5632) : (5632 - dsc_roundf((bpp - 7) * (3584)))); dsc_roundf 202 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->initial_fullness_offset = (bpp >= 12) ? (2048) : ((bpp <= 8) ? (6144) : ((((bpp > 8) && (bpp <= 10))) ? (6144 - dsc_roundf((bpp - 8) * (512 / 2))) : (5632 - dsc_roundf((bpp - 10) * (3584 / 2))))); dsc_roundf 209 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->initial_xmit_delay = dsc_roundf(8192.0/2.0/bpp/initial_xmit_delay_factor);