Loading drivers/gpu/msm/adreno_a3xx.c +3 −1 Original line number Diff line number Diff line Loading @@ -680,8 +680,10 @@ int a3xx_rb_init(struct adreno_device *adreno_dev, { unsigned int *cmds; cmds = adreno_ringbuffer_allocspace(rb, NULL, 18); if (IS_ERR(cmds)) return PTR_ERR(cmds); if (cmds == NULL) return -ENOMEM; return -ENOSPC; *cmds++ = cp_type3_packet(CP_ME_INIT, 17); Loading drivers/gpu/msm/adreno_ringbuffer.c +3 −2 Original line number Diff line number Diff line Loading @@ -387,8 +387,10 @@ static int _ringbuffer_bootstrap_ucode(struct adreno_ringbuffer *rb, adreno_writereg(adreno_dev, ADRENO_REG_CP_ME_CNTL, 0); cmds = adreno_ringbuffer_allocspace(rb, NULL, bootstrap_size); if (IS_ERR(cmds)) return PTR_ERR(cmds); if (cmds == NULL) return -ENOMEM; return -ENOSPC; /* Construct the packet that bootsraps the ucode */ *cmds++ = cp_type3_packet(CP_BOOTSTRAP_UCODE, (bootstrap_size - 1)); Loading Loading @@ -781,7 +783,6 @@ adreno_ringbuffer_addcmds(struct adreno_ringbuffer *rb, total_sizedwords += 9; ringcmds = adreno_ringbuffer_allocspace(rb, drawctxt, total_sizedwords); if (IS_ERR(ringcmds)) return PTR_ERR(ringcmds); if (ringcmds == NULL) Loading Loading
drivers/gpu/msm/adreno_a3xx.c +3 −1 Original line number Diff line number Diff line Loading @@ -680,8 +680,10 @@ int a3xx_rb_init(struct adreno_device *adreno_dev, { unsigned int *cmds; cmds = adreno_ringbuffer_allocspace(rb, NULL, 18); if (IS_ERR(cmds)) return PTR_ERR(cmds); if (cmds == NULL) return -ENOMEM; return -ENOSPC; *cmds++ = cp_type3_packet(CP_ME_INIT, 17); Loading
drivers/gpu/msm/adreno_ringbuffer.c +3 −2 Original line number Diff line number Diff line Loading @@ -387,8 +387,10 @@ static int _ringbuffer_bootstrap_ucode(struct adreno_ringbuffer *rb, adreno_writereg(adreno_dev, ADRENO_REG_CP_ME_CNTL, 0); cmds = adreno_ringbuffer_allocspace(rb, NULL, bootstrap_size); if (IS_ERR(cmds)) return PTR_ERR(cmds); if (cmds == NULL) return -ENOMEM; return -ENOSPC; /* Construct the packet that bootsraps the ucode */ *cmds++ = cp_type3_packet(CP_BOOTSTRAP_UCODE, (bootstrap_size - 1)); Loading Loading @@ -781,7 +783,6 @@ adreno_ringbuffer_addcmds(struct adreno_ringbuffer *rb, total_sizedwords += 9; ringcmds = adreno_ringbuffer_allocspace(rb, drawctxt, total_sizedwords); if (IS_ERR(ringcmds)) return PTR_ERR(ringcmds); if (ringcmds == NULL) Loading