aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2018-11-14 13:32:55 +0000
committerJoonas Lahtinen <[email protected]>2018-11-15 11:57:20 +0000
commit6e8adf6f4a4fa57dd3bef6b70de96e2b7b311204 (patch)
treec718f7455da456bf8eb64df62965c77b68a8d456 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/i915: Clean up skl_program_scaler() (diff)
downloadkernel-6e8adf6f4a4fa57dd3bef6b70de96e2b7b311204.tar.gz
kernel-6e8adf6f4a4fa57dd3bef6b70de96e2b7b311204.zip
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 (cherry picked from commit e7a278a329dd8aa2c70c564849f164cb5673689c) Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions