Ville Syrjälä 23d3e3799f drm/i915: Fix g4x+ sprite dotclock limit for upscaling
Even if we're not doing downscaling we should account for
some of the extra dotclock limitations for g4x+ sprites. In
particular we must never exceed the 90% rule, and with RGB
that limits actually drops to 80%.

So instead of bailing out when upscaling let's clamp the
scaling factor appropriately and go through the rest of
calculation normally. By luck we already did the full
calculations for the 1:1 case.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200206201204.31704-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
2020-09-14 16:49:19 +03:00
..
2020-09-08 14:41:40 +10:00
2020-06-24 15:45:51 +10:00
2020-07-24 08:48:05 +10:00
2020-09-08 14:41:40 +10:00
2020-08-11 11:58:31 +10:00
2020-09-08 14:41:40 +10:00
2020-09-08 14:41:40 +10:00
2020-08-19 15:49:10 +02:00
2020-08-06 14:27:31 -07:00
2020-09-08 14:41:40 +10:00
2020-08-11 11:58:31 +10:00
2020-07-28 17:21:58 +02:00
2020-09-08 14:41:40 +10:00
2020-08-18 14:14:25 +02:00
2020-07-23 10:06:22 +02:00
2020-09-08 14:41:40 +10:00
2020-04-03 17:11:41 +02:00
2020-08-18 14:14:25 +02:00
2020-09-08 14:41:40 +10:00
2020-09-08 14:41:40 +10:00
2020-06-24 09:17:34 +02:00
2020-09-08 14:41:40 +10:00
2020-09-06 09:59:27 -07:00
2020-08-06 14:27:31 -07:00
2020-08-25 11:00:02 +02:00
2020-05-27 14:31:42 +03:00
2020-08-25 11:00:02 +02:00
2020-04-03 17:11:41 +02:00
2020-07-27 22:06:13 +02:00
2020-08-05 19:50:06 -07:00
2020-08-11 11:58:31 +10:00
2020-07-16 18:16:31 -04:00
2020-06-24 15:45:51 +10:00
2020-05-29 12:58:11 +02:00
2020-08-11 11:58:31 +10:00
2020-08-11 11:58:31 +10:00
2020-08-25 11:00:02 +02:00
2020-06-24 15:45:51 +10:00