diff options
author | Ville Syrjälä <[email protected]> | 2018-10-29 20:18:20 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2018-11-13 17:00:35 +0200 |
commit | e7a278a329dd8aa2c70c564849f164cb5673689c (patch) | |
tree | 81fe5824b0dd8db8dd1e030a86cd400c12a3c077 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | ca0026790eface29d355c96964207fd393a2f33a (diff) |
drm/i915: Account for scale factor when calculating initial phase
To get the initial phase correct we need to account for the scale
factor as well. I forgot this initially and was mostly looking at
heavily upscaled content where the minor difference between -0.5
and the proper initial phase was not readily apparent.
And let's toss in a comment that tries to explain the formula
a little bit.
v2: The initial phase upper limit is 1.5, not 24.0!
Cc: Maarten Lankhorst <[email protected]>
Fixes: 0a59952b24e2 ("drm/i915: Configure SKL+ scaler initial phase correctly")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Tested-by: Juha-Pekka Heikkila <[email protected]>
Tested-by: Maarten Lankhorst <[email protected]> #irc
Reviewed-by: Maarten Lankhorst <[email protected]> #irc
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions