]> 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)
committerJon Mayo <jmayo@nvidia.com>
Thu, 20 Mar 2014 20:24:39 +0000 (13:24 -0700)
commita056f50049b89901bd3c0bb2335977002fc980eb
treebccf3cc83327259f5bf89c492c871e081cc3173e
parent2b09991b79396355361bcaca1310211fda3a1f6c
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
drivers/video/tegra/dc/ext/dev.c