]> Gentwo Git Trees - linux/.git/commit
drm/panfrost: Don't rework job IRQ enable mask in the enable path
authorAdrián Larumbe <adrian.larumbe@collabora.com>
Sun, 19 Oct 2025 14:52:12 +0000 (15:52 +0100)
committerSteven Price <steven.price@arm.com>
Mon, 20 Oct 2025 15:05:17 +0000 (16:05 +0100)
commitfc237ec882fc062e4587790f0cd6af997d679bf0
tree5271793fc8313860f90113c5a22174a6faebd4d1
parent4da352cf8fb1be00fcbc85575bbb2e653e35f428
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>
drivers/gpu/drm/panfrost/panfrost_device.h
drivers/gpu/drm/panfrost/panfrost_job.c