]> Pileus Git - ~andy/linux/commit
drm/i915: adjust sprite base address
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 26 Oct 2012 17:20:12 +0000 (18:20 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 11 Nov 2012 22:51:02 +0000 (23:51 +0100)
commit5a35e99e8162d6820013a56ad15ea8bf937af5a6
tree54d022a9c9e7ae53e22b644e4d228f2b2ed7200b
parentc54173a85d4931b8cf5cefdf0821a4745c7a9241
drm/i915: adjust sprite base address

Just like in:

commit c2c75131244507c93f812862fdbd4f3a37139401
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Jul 5 12:17:30 2012 +0200

    drm/i915: adjust framebuffer base address on gen4+

but this time, for the sprite planes. This ensures that the
sprite offset are always inside the supported hardware limits since it
becomes the offset into a page and we adjust the base address to a page
boundary.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sprite.c