Loading drivers/gpu/msm/kgsl.c +1 −6 Original line number Diff line number Diff line Loading @@ -478,8 +478,6 @@ static int kgsl_mem_entry_attach_process(struct kgsl_device *device, /* Detach a memory entry from a process and unmap it from the MMU */ static void kgsl_mem_entry_detach_process(struct kgsl_mem_entry *entry) { unsigned int type; if (entry == NULL) return; Loading @@ -492,9 +490,6 @@ static void kgsl_mem_entry_detach_process(struct kgsl_mem_entry *entry) idr_remove(&entry->priv->mem_idr, entry->id); entry->id = 0; type = kgsl_memdesc_usermem_type(&entry->memdesc); if (type != KGSL_MEM_ENTRY_ION) entry->priv->gpumem_mapped -= entry->memdesc.mapsize; spin_unlock(&entry->priv->mem_lock); Loading Loading
drivers/gpu/msm/kgsl.c +1 −6 Original line number Diff line number Diff line Loading @@ -478,8 +478,6 @@ static int kgsl_mem_entry_attach_process(struct kgsl_device *device, /* Detach a memory entry from a process and unmap it from the MMU */ static void kgsl_mem_entry_detach_process(struct kgsl_mem_entry *entry) { unsigned int type; if (entry == NULL) return; Loading @@ -492,9 +490,6 @@ static void kgsl_mem_entry_detach_process(struct kgsl_mem_entry *entry) idr_remove(&entry->priv->mem_idr, entry->id); entry->id = 0; type = kgsl_memdesc_usermem_type(&entry->memdesc); if (type != KGSL_MEM_ENTRY_ION) entry->priv->gpumem_mapped -= entry->memdesc.mapsize; spin_unlock(&entry->priv->mem_lock); Loading