]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/irq: Convert register access to use xe_mmio
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 10 Sep 2024 23:47:30 +0000 (16:47 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 11 Sep 2024 22:17:42 +0000 (15:17 -0700)
commita7945ef770dbabea7bac270872391907174c17a9
treeffa414ff493b8e30c5a0e1ac6d46d4eb5a4edae1
parenta84590c5ceb354d2e9f7f6812cfb3a9709e14afa
drm/xe/irq: Convert register access to use xe_mmio

Stop using GT pointers for register access.  This misusage has been
especially confusing in interrupt code because even though some of the
interrupts are related to GTs (or engines within GTs), the interrupt
registers themselves live outside the GT, in the sgunit.

Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240910234719.3335472-55-matthew.d.roper@intel.com
drivers/gpu/drm/xe/xe_irq.c