OSDN Git Service

minigbm: tegra: add blocklinear detiling logic
authorGurchetan Singh <gurchetansingh@chromium.org>
Wed, 14 Dec 2016 16:51:28 +0000 (08:51 -0800)
committerchrome-bot <chrome-bot@chromium.org>
Wed, 21 Dec 2016 05:55:43 +0000 (21:55 -0800)
commit44d1fe4264d4968cb8525f5e53f1fcd068dacbc2
treee54ef5a0d1734c897ca1e30b0dfb1da83f52703e
parent7a755de4f3d105f50a6c8ba25c74ff8e97653159
minigbm: tegra: add blocklinear detiling logic

With CL:397941, hshi@ figured out how to detile blocklinear buffers
for tegra. Let's add that logic to our tegra map()/unmap() functions.
This can be useful for various tests.

BUG=chromium:673570
TEST=tiled_bo_test draws ellipse texture on Tegra (there are artifacts
     due another bug though)

Change-Id: I7c2e7222ba67457ffd3641ba42a775ac4a667ec8
Reviewed-on: https://chromium-review.googlesource.com/421279
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Haixia Shi <hshi@chromium.org>
drv.c
drv_priv.h
tegra.c