]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Fix arg to pci_iomap()
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 6 Sep 2024 03:25:07 +0000 (20:25 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 9 Sep 2024 17:32:32 +0000 (10:32 -0700)
commitceb29504dd80ebdfc09adb942c9ef8d12d4612ca
treee65433e2a82bd3e8cf527bc223997c5bb4163639
parent0c841e47d8d94bd0f5444a25052d86c0b1f2c2e8
drm/xe: Fix arg to pci_iomap()

Commit 2d8865b27724 ("drm/xe: Move BAR definitions to dedicated file")
moved the BAR definition to the header, but replaced the wrong arg in
the pci_iomap() function - the last arg is actuall the length, not the
BAR. Luckily GTTMMADR_BAR == 0, so it still works. Fix the argument
to avoid confusion.

Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240906032507.2952859-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_mmio.c