]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: dc: don't pin buffers in propose
authorJon Mayo <jmayo@nvidia.com>
Wed, 19 Mar 2014 18:22:56 +0000 (11:22 -0700)
committerRiham Haidar <rhaidar@nvidia.com>
Thu, 27 Mar 2014 00:55:53 +0000 (17:55 -0700)
commited6fa7cbfe648f20ddc77fa805597a90546d6f43
treef404324e8d99d32ee329585236128537be09b99d
parent67f06f462bd2b56395f85fd293e52d655c42b01f
video: tegra: dc: don't pin buffers in propose

Don't pin buffers using TEGRA_DC_EXT_SET_PROPOSED_BW. The buffers don't
need to be accessed at all, they only need to be checked if they are
NULL or not. Setting a fake buffer for this call will now be valid, so
simply pass 1 or 0 for the buff_id to indicate which windows are enabled
or disabled.

Change-Id: I940c1ec4a708bfc38c7b5606782859017e51a0d2
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/383952
(cherry picked from commit a056f50049b89901bd3c0bb2335977002fc980eb)
Signed-off-by: Robert Shih <rshih@nvidia.com>
Reviewed-on: http://git-master/r/386570
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
drivers/video/tegra/dc/ext/dev.c