kernel-drm: remove duplicated down_read to mmap_sem and add DRM_UNLOCKED flag for...
authorFei Jiang <fei.jiang@intel.com>
Thu, 19 Apr 2012 15:05:29 +0000 (23:05 +0800)
committerMahe, Erwan <erwan.mahe@intel.com>
Thu, 26 Apr 2012 19:01:30 +0000 (12:01 -0700)
commit103db99decb643c852c08f975e4df38647572355
tree47671f7d5d28611a02d3d7e19494b57131cc7ee2
parentd260918ace51bbf5eb65e9d3c138c550fb0b67a3
kernel-drm: remove duplicated down_read to mmap_sem and add DRM_UNLOCKED flag for all video related ioctls.

BZ: 29375

DRM big mutex has big impact to the video performance and maybe trigger dead lock issue.

Change-Id: I7943f113009ae5d9a6206c4bf23728d06c2831af
Reviewed-on: http://android.intel.com:8080/44098
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
drivers/gpu/drm/ttm/ttm_tt.c
drivers/staging/mrst/drv/psb_drv.c