diff options
author | Chandra Konduru <chandra.konduru@intel.com> | 2015-05-08 20:22:46 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-05-20 11:25:43 +0200 |
commit | 2614f17d2d2dcf2f8c1a2f4f0ada056ed60d7d8f (patch) | |
tree | 2e130be0503758f3f86ff036ca61828e3045b78a /drivers/gpu/drm/i915/intel_sprite.c | |
parent | 2eb49a69b47fb6d8dd17ad3d75620f6ed3f3e0b8 (diff) | |
download | op-kernel-dev-2614f17d2d2dcf2f8c1a2f4f0ada056ed60d7d8f.zip op-kernel-dev-2614f17d2d2dcf2f8c1a2f4f0ada056ed60d7d8f.tar.gz |
drm/i915: call intel_tile_height with correct parameter
In skylake update plane functions, intel_tile_height() is called with
bits_per_pixel instead of pixel_format. Correcting it.
Signed-off-by: Chandra Konduru <chandra.konduru@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
[danvet: Fixup alignment.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sprite.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_sprite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index f215e22..497e795 100644 --- a/drivers/gpu/drm/i915/intel_sprite.c +++ b/drivers/gpu/drm/i915/intel_sprite.c @@ -229,8 +229,8 @@ skl_update_plane(struct drm_plane *drm_plane, struct drm_crtc *crtc, if (intel_rotation_90_or_270(rotation)) { /* stride: Surface height in tiles */ - tile_height = intel_tile_height(dev, fb->bits_per_pixel, - fb->modifier[0]); + tile_height = intel_tile_height(dev, fb->pixel_format, + fb->modifier[0]); stride = DIV_ROUND_UP(fb->height, tile_height); plane_size = (src_w << 16) | src_h; x_offset = stride * tile_height - y - (src_h + 1); |