Loading drivers/gpu/msm/kgsl_snapshot.c +6 −1 Original line number Diff line number Diff line /* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1296,6 +1296,11 @@ static void kgsl_snapshot_save_frozen_objs(struct work_struct *work) if (size == 0) goto done; if (size > device->snapshot_memory.size) { SNAPSHOT_ERR_NOMEM(device, "OBJS"); goto done; } snapshot->mempool = vmalloc(size); ptr = snapshot->mempool; Loading Loading
drivers/gpu/msm/kgsl_snapshot.c +6 −1 Original line number Diff line number Diff line /* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1296,6 +1296,11 @@ static void kgsl_snapshot_save_frozen_objs(struct work_struct *work) if (size == 0) goto done; if (size > device->snapshot_memory.size) { SNAPSHOT_ERR_NOMEM(device, "OBJS"); goto done; } snapshot->mempool = vmalloc(size); ptr = snapshot->mempool; Loading