drm/i915: Configure SKL+ scaler initial phase correctly
Set up the SKL+ scaler initial phase registers correctly. Otherwise we start fetching the data from the center of the first pixel instead of the top-left corner, which obviously then leads to right/bottom edges replicating data excessively as the data runs out half a pixel too soon. Cc: Vidya Srinivas <vidya.srinivas@intel.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by:Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180521185613.5097-2-ville.syrjala@linux.intel.com Reviewed-By:
Vidya Srinivas <vidya.srinivas@intel.com>
Showing
- drivers/gpu/drm/i915/i915_reg.h 4 additions, 0 deletionsdrivers/gpu/drm/i915/i915_reg.h
- drivers/gpu/drm/i915/intel_display.c 41 additions, 0 deletionsdrivers/gpu/drm/i915/intel_display.c
- drivers/gpu/drm/i915/intel_drv.h 1 addition, 0 deletionsdrivers/gpu/drm/i915/intel_drv.h
- drivers/gpu/drm/i915/intel_sprite.c 24 additions, 2 deletionsdrivers/gpu/drm/i915/intel_sprite.c
Loading
Please register or sign in to comment