diff options
| author | Michael Cheng <michael.cheng@intel.com> | 2022-03-21 15:38:18 -0700 |
|---|---|---|
| committer | Matt Roper <matthew.d.roper@intel.com> | 2022-03-22 10:10:52 -0700 |
| commit | 89754df82f1565f2223293c0a0062b779a33d136 (patch) | |
| tree | 7809af657253810e5100d4420debe5d7cde24751 /net/lapb/lapb_in.c | |
| parent | 92b0cba49e80759e4b67757e0eb3499575dc7e06 (diff) | |
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
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
