diff options
| author | Ville Syrjälä <[email protected]> | 2016-02-15 22:54:41 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2016-03-01 12:48:08 +0200 |
| commit | 8d0deca8c6e0b25c409c6f4b2dc081596d7dffd9 (patch) | |
| tree | 8632141f8899ac04e49f07ea034f0975c1fb361b /tools/perf/scripts/python/netdev-times.py | |
| parent | 27ba39101404b694d4ae199fe7aa485ac693ba27 (diff) | |
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ä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions