summaryrefslogtreecommitdiff
path: root/include/linux/workqueue_api.h
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2023-06-02 00:52:36 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:34:19 +0300
commit80d6e5874af2bb4a2fdc59029be64aa1d89a196b (patch)
tree3e5315d05aef6cbe983d0f2bba10776d201a6fa4 /include/linux/workqueue_api.h
parent8e758225e52ec1acb5a0645b3750ea85cad82bbc (diff)
downloadlinux-80d6e5874af2bb4a2fdc59029be64aa1d89a196b.tar.xz
drm/xe/irq: Ensure primary GuC won't clobber media GuC's interrupt mask
Although primary and media GuC share a single interrupt enable bit, they each have distinct bits in the mask register. Although we always enable interrupts for the primary GuC before the media GuC today (and never disable either of them), this might not always be the case in the future, so use a RMW when updating the mask register to ensure the other GuC's mask doesn't get clobbered. Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://lore.kernel.org/r/20230601215244.678611-24-matthew.d.roper@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions