video: tegra: export nvhdcp state using ioctl

Conflicts:
	include/video/nvhdcp.h
nvmap: implement deferred cache maintenance

Defer maintenance till pin or unmap. Handle multiple deferred
operations in batches to flush faster. Enable full L1/L2 flush
if batch is big enough.

bug 983964
bug 994226

Reviewed-on: http://git-master/r/138931
(cherry picked from commit 01d0145ea95c7f98aa4bea3f71962872ba70bdfc)
Change-Id: I29bc82ded1fd7282426e8f161cc55e17f67fc649
Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-on: http://git-master/r/171176
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

Conflicts:
	drivers/video/tegra/nvmap/nvmap_ioctl.c