Commit fc237ec
drm/panfrost: Don't rework job IRQ enable mask in the enable path
Up until now, panfrost_job_enable_interrupts() would always recalculate the
same job IRQ enablement mask, which is effectively a constant.
Replace it with a compile-time constant value, and also in another couple
places where an equivalent expression was being used.
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Link: https://lore.kernel.org/r/20251019145225.3621989-8-adrian.larumbe@collabora.com
Signed-off-by: Steven Price <steven.price@arm.com>1 parent 4da352c commit fc237ec
2 files changed
Lines changed: 8 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | 435 | | |
439 | 436 | | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
| 437 | + | |
| 438 | + | |
446 | 439 | | |
447 | 440 | | |
448 | 441 | | |
| |||
761 | 754 | | |
762 | 755 | | |
763 | 756 | | |
764 | | - | |
765 | | - | |
766 | | - | |
| 757 | + | |
767 | 758 | | |
768 | 759 | | |
769 | 760 | | |
| |||
836 | 827 | | |
837 | 828 | | |
838 | 829 | | |
839 | | - | |
840 | | - | |
841 | | - | |
| 830 | + | |
842 | 831 | | |
843 | 832 | | |
844 | 833 | | |
| |||
0 commit comments