[PATCH 24/51] drm/i915: Handle framebuffer offsets[]

2012-10-25 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Take fb->offset[0] into account when calculating the linear and tile x/y offsets. For non-tiled surfaces fb->offset[0] is simply added to the linear byte offset. For tiled surfaces treat fb->offsets[0] as a byte offset into the linearized view of the surface. So we end up co

[PATCH 24/51] drm/i915: Handle framebuffer offsets[]

2012-10-25 Thread ville . syrjala
From: Ville Syrjälä Take fb->offset[0] into account when calculating the linear and tile x/y offsets. For non-tiled surfaces fb->offset[0] is simply added to the linear byte offset. For tiled surfaces treat fb->offsets[0] as a byte offset into the linearized view of the surface. So we end up co