diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-27 14:14:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-27 15:03:53 +0100 |
commit | ed1501d45136da125a89b1a5728a783564e6491f (patch) | |
tree | 4d74e719a8f9103c73c27fafcc197dd7ceb6f0f1 /drivers/ata/pata_sch.c | |
parent | a91fdf1293044535a13fb9a434101f363dbe7e3c (diff) | |
download | op-kernel-dev-ed1501d45136da125a89b1a5728a783564e6491f.zip op-kernel-dev-ed1501d45136da125a89b1a5728a783564e6491f.tar.gz |
drm/i915: Refactor tests for validity of RING_TAIL
Whilst I like having the assertions clearly visible in the code, they
are quite repetitious! As we find new limits we want to incorporate into
the set of assertions, it make sense to refactor them to a common
routine.
v2: Add a guc holdout.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170327131412.20293-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'drivers/ata/pata_sch.c')
0 files changed, 0 insertions, 0 deletions