diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-03-07 21:42:09 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-03-08 16:44:29 +0200 |
commit | 3ca46c0a22a7a0873d599e977c5a80b753ac69ce (patch) | |
tree | edd7b407a99ec01707471ae7502c7a367f480964 /drivers/gpu/drm/i915/intel_display.c | |
parent | 1b500535c513ac57fff89e917bda5863739636ad (diff) | |
download | op-kernel-dev-3ca46c0a22a7a0873d599e977c5a80b753ac69ce.zip op-kernel-dev-3ca46c0a22a7a0873d599e977c5a80b753ac69ce.tar.gz |
drm/i915: Pass the correct plane index to _intel_compute_tile_offset()
intel_fill_fb_info() should pass the correct plane index to
_intel_compute_tile_offset() once we start to care about the AUX
surface.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170307194210.13400-5-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 2f60b92..23d380c 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -2467,7 +2467,7 @@ intel_fill_fb_info(struct drm_i915_private *dev_priv, intel_fb->normal[i].y = y; offset = _intel_compute_tile_offset(dev_priv, &x, &y, - fb, 0, fb->pitches[i], + fb, i, fb->pitches[i], DRM_ROTATE_0, tile_size); offset /= tile_size; |