Re: [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 08, 2021 at 09:42:15AM +0530, Mullati Siva wrote:
From: Siva Mullati <siva.mullati@xxxxxxxxx>

Only hw that supports mappable aperture would hit this path
vm_fault_gtt/vm_fault_tmm, So we never hit this function
remap_io_mapping() in discrete, So skip this code for non-x86
architectures.

v2: use IS_ENABLED () instead of #if defined

v3: move function prototypes from i915_drv.h to i915_mm.h

v4: added kernel error message in stub function

v5: fixed compilation warnings

v6: checkpatch style

Signed-off-by: Siva Mullati <siva.mullati@xxxxxxxxx>

the change in gem/ is just adding the additional include - looking at
the other changes, drm-intel-next seems a better place to merge this
since it can be considered as part of the i915_drv.h cleanup going on.

Reviewed-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>

and applied, thanks.

Lucas De Marchi



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux