disp: msm: remap dmabuf attach during secure transitions

During secure cb detach, gem objects stored in the aspace
active list are not cleaned up properly leading to crash
when secure cb attaches again. This change remaps dma
buffer for those gem objects.

Change-Id: I7626e87ab60a61261c802a7e7763982546c4c2e7
Signed-off-by: Yashwanth <yvulapu@codeaurora.org>
这个提交包含在:
Yashwanth
2020-02-13 19:06:05 +05:30
提交者 Gerrit - the friendly Code Review server
父节点 f97e75d7ab
当前提交 9d7c72743d
修改 2 个文件,包含 11 行新增2 行删除

查看文件

@@ -139,6 +139,11 @@ struct msm_gem_object {
struct msm_gem_address_space *aspace;
bool in_active_list;
char name[32]; /* Identifier to print for the debugfs files */
/* Indicates whether object needs to request for
* new pagetables due to cb switch
*/
bool obj_dirty;
};
#define to_msm_bo(x) container_of(x, struct msm_gem_object, base)