aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arc
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-03-10 11:55:18 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-03-10 13:02:34 +0000
commit504ae4024131c5a01c3ce8382d49b801375e039c (patch)
tree7d79d1adcac7c7e74d6f3d91a691273f605fb5c9 /drivers/gpu/drm/arc
parentb8473050805f35add97f3ff57570d55a01808df5 (diff)
downloadkernel_replicant_linux-504ae4024131c5a01c3ce8382d49b801375e039c.tar.gz
kernel_replicant_linux-504ae4024131c5a01c3ce8382d49b801375e039c.tar.bz2
kernel_replicant_linux-504ae4024131c5a01c3ce8382d49b801375e039c.zip
drm/i915/cmdparser: Limit clflush to active cachelines
We only need to clflush those cachelines that we have validated to be read by the GPU. Userspace typically fills the batch length in correctly, the exceptions tend to be explicit tests within igt. v2: Use ptr_mask_bits() to make Mika happy v3: cmd is not advanced on MI_BBE, so make sure to include an extra dword in the clflush. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170310115518.13832-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/arc')
0 files changed, 0 insertions, 0 deletions