Loading drivers/gpu/msm/adreno_a6xx_preempt.c +3 −3 Original line number Original line Diff line number Diff line /* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -383,6 +383,8 @@ void a6xx_preemption_trigger(struct adreno_device *adreno_dev) jiffies + msecs_to_jiffies(ADRENO_PREEMPT_TIMEOUT)); jiffies + msecs_to_jiffies(ADRENO_PREEMPT_TIMEOUT)); adreno_set_preempt_state(adreno_dev, ADRENO_PREEMPT_TRIGGERED); adreno_set_preempt_state(adreno_dev, ADRENO_PREEMPT_TRIGGERED); trace_adreno_preempt_trigger(adreno_dev->cur_rb, adreno_dev->next_rb, cntl); /* Trigger the preemption */ /* Trigger the preemption */ if (adreno_gmu_fenced_write(adreno_dev, ADRENO_REG_CP_PREEMPT, cntl, if (adreno_gmu_fenced_write(adreno_dev, ADRENO_REG_CP_PREEMPT, cntl, Loading @@ -392,8 +394,6 @@ void a6xx_preemption_trigger(struct adreno_device *adreno_dev) goto err; goto err; } } trace_adreno_preempt_trigger(adreno_dev->cur_rb, adreno_dev->next_rb, cntl); return; return; err: err: Loading Loading
drivers/gpu/msm/adreno_a6xx_preempt.c +3 −3 Original line number Original line Diff line number Diff line /* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -383,6 +383,8 @@ void a6xx_preemption_trigger(struct adreno_device *adreno_dev) jiffies + msecs_to_jiffies(ADRENO_PREEMPT_TIMEOUT)); jiffies + msecs_to_jiffies(ADRENO_PREEMPT_TIMEOUT)); adreno_set_preempt_state(adreno_dev, ADRENO_PREEMPT_TRIGGERED); adreno_set_preempt_state(adreno_dev, ADRENO_PREEMPT_TRIGGERED); trace_adreno_preempt_trigger(adreno_dev->cur_rb, adreno_dev->next_rb, cntl); /* Trigger the preemption */ /* Trigger the preemption */ if (adreno_gmu_fenced_write(adreno_dev, ADRENO_REG_CP_PREEMPT, cntl, if (adreno_gmu_fenced_write(adreno_dev, ADRENO_REG_CP_PREEMPT, cntl, Loading @@ -392,8 +394,6 @@ void a6xx_preemption_trigger(struct adreno_device *adreno_dev) goto err; goto err; } } trace_adreno_preempt_trigger(adreno_dev->cur_rb, adreno_dev->next_rb, cntl); return; return; err: err: Loading