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>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
f97e75d7ab
当前提交
9d7c72743d
@@ -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)
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户