Michael Cheng 89754df82f drm/i915/: Re-work clflush_write32
Use drm_clflush_virt_range instead of clflushopt and remove the memory
barrier, since drm_clflush_virt_range takes care of that.

v2(Michael Cheng): Use sizeof(*addr) instead of sizeof(addr) to get the
		   actual size of the page. Thanks to Matt Roper for
		   pointing this out.

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-5-michael.cheng@intel.com
2022-03-22 10:10:52 -07:00
..
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-07 16:35:35 -08:00
2022-02-25 05:50:18 +10:00
2021-08-10 20:14:01 +02:00
2022-03-22 10:10:52 -07:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2021-10-28 14:59:38 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-07 16:35:35 -08:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2021-08-10 20:14:01 +02:00
2022-02-25 05:50:18 +10:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2022-02-25 05:50:18 +10:00
2022-02-07 16:35:35 -08:00
2021-08-02 10:19:43 +02:00
2022-02-25 05:50:18 +10:00
2021-08-02 10:19:43 +02:00
2022-02-25 05:50:18 +10:00
2021-11-30 09:41:28 +01:00
2021-08-02 10:19:43 +02:00
2021-10-01 15:55:47 +02:00
2021-11-30 09:41:28 +01:00
2021-08-02 10:19:43 +02:00
2021-05-17 21:19:48 +02:00
2022-02-07 16:35:35 -08:00
2021-08-19 09:02:55 +09:00
2022-02-25 05:50:18 +10:00
2021-08-02 10:19:43 +02:00
2021-08-10 20:14:01 +02:00
2021-08-02 10:19:43 +02:00