Files
linux-net/drivers/gpu/drm
Ville Syrjälä 8d0deca8c6 drm/i915: Pass 90/270 vs. 0/180 rotation info for intel_gen4_compute_page_offset()
The page aligned surface address calculation needs to know which way
things are rotated. The contract now says that the caller must pass the
rotate x/y coordinates, as well as the tile_height aligned stride in
the tile_height direction. This will make it fairly simple to deal with
90/270 degree rotation on SKL+ where we have to deal with the rotated
view into the GTT.

v2: Pass rotation instead of bool even thoughwe only care about 0/180 vs. 90/270
v3: Introduce intel_tile_dims(), and don't mix up different units so much
v4: Unconfuse bytes vs. pixels even more

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1455569699-27905-4-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-03-01 12:48:08 +02:00
..
2016-02-08 09:55:48 +01:00
2016-01-25 19:35:04 +01:00
2016-02-11 11:48:39 +01:00
2016-02-09 09:25:22 +01:00
2015-12-15 13:39:40 +01:00
2016-02-09 11:17:37 +10:00
2016-02-09 09:25:22 +01:00
2015-12-08 16:07:53 +01:00
2016-01-13 16:43:07 +01:00