]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use pixel size for computing linear offsets into a sprite
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Dec 2012 12:14:22 +0000 (12:14 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 9 Jan 2013 13:20:24 +0000 (14:20 +0100)
commit66d2fdd7160e35b236b2d877155e442726163bcf
treea9e4eef3242183022f63a1e83aaed779a599ca08
parent3bf42cb5f39f70fbb0fd75170ff635b346e97649
drm/i915: Use pixel size for computing linear offsets into a sprite

This fixes an original bug in the sprite code that miscomputed the
source offset into a linear YUV packed framebuffer, that was magnified
into an oops with

commit 9175a0f37e7d6151ad099f8147ca47d6c7047a30
Author: Damien Lespiau <damien.lespiau@intel.com>
Date:   Fri Oct 26 18:20:12 2012 +0100

    drm/i915: adjust sprite base address

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.com>
Cc: Damien Lespiau <damien.lespiau@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sprite.c