drm/i915/gt: Re-work intel_write_status_page
authorMichael Cheng <michael.cheng@intel.com>
Mon, 21 Mar 2022 22:38:15 +0000 (15:38 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 22 Mar 2022 17:10:51 +0000 (10:10 -0700)
commit055f15e7be2e03634b54bae53feb134ff1240d13
tree615278fa49fa1a8b926752f1717b8f842c4d9847
parent6f30158f4014d346552cf3b999fd060e856e66d3
drm/i915/gt: Re-work intel_write_status_page

Re-work intel_write_status_page to use drm_clflush_virt_range. This
will prevent compiler errors when building for non-x86 architectures.

Signed-off-by: Michael Cheng <michael.cheng@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220321223819.72833-2-michael.cheng@intel.com
drivers/gpu/drm/i915/gt/intel_engine.h