summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/qcom-cpufreq.c
diff options
context:
space:
mode:
authorAlan Kwong <akwong@codeaurora.org>2016-11-03 14:18:41 -0400
committerGerrit - the friendly Code Review server <code-review@localhost>2016-11-09 08:22:13 -0800
commit54b03424a7ef37e3dc8c6b75d7d10998056aa31a (patch)
tree7ecd8caf03b4e074ac80e1c502bc30932a7a5326 /drivers/cpufreq/qcom-cpufreq.c
parent4a91ea36cbf0f5a782b5b6f69604ed70bd0ab6ba (diff)
msm: sde: add buf_finish callback to clear last fd
Fd is tunneled using userptr memory type to v4l2 rotator driver. Fd can assume the same value between multiple qbuf but with the underlying mapping modified. However, v4l2 assumes that if userptr of the same value are passed in, the underlying buffer is the same and will bypass memory mapping callback. This will cause problem for fd tunneling because the obsolete mapping is used. To ensure buffer mapping, add buf_finish callback to clear last fd value before dequeuing buffer back to user client. This will force the next queue buffer command to invoke memory mapping callback since the incoming fd value is different from the reset value. CRs-Fixed: 1084634 Change-Id: I932a58fc633918b151959fcbe320668a87dbc49c Signed-off-by: Alan Kwong <akwong@codeaurora.org>
Diffstat (limited to 'drivers/cpufreq/qcom-cpufreq.c')
0 files changed, 0 insertions, 0 deletions