diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-04-25 13:37:18 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-04-25 15:27:38 +0100 |
| commit | 1f177a131b2c106dd15ab51dda5c50f80b70cc72 (patch) | |
| tree | 1ab57c0eb8497508b0b36c3c829ee0ef749d7511 /tools/perf/scripts/python | |
| parent | drm/atomic: Print debug message on atomic check failure (diff) | |
| download | linux-1f177a131b2c106dd15ab51dda5c50f80b70cc72.tar.gz linux-1f177a131b2c106dd15ab51dda5c50f80b70cc72.zip | |
drm/i915: Use memset64() to align the ring with MI_NOOP
When filling the ring to align the emit pointer to the next cacheline,
use memset64() rather than open-coding it. As we know that we always
have an even number of dwords, we can replace the dword loop with the
qword equivalent.
v2: s/0/MI_NOOP<<32 | MI_NOOP/
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180425123718.16366-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
