diff options
| author | Ville Syrjälä <[email protected]> | 2020-02-06 22:12:03 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2020-09-14 16:49:19 +0300 |
| commit | 23d3e3799fb031f5eff5855c3df8e58e3a40001b (patch) | |
| tree | e5e2915f3495d657641212a9983a17720ec93932 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 8dec2fc11b8cdad7d2b5679ebf0b742d511eacae (diff) | |
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ä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions