summaryrefslogtreecommitdiff
path: root/include/linux/buffer_head.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-01-26 15:18:46 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2018-01-26 16:03:07 +0300
commit1d2a19c2567c74ff3c50fa1a0823052adee9c49f (patch)
tree40ed86f6bb72240681358bdf3cd230202e5df6ec /include/linux/buffer_head.h
parent09b1a4e4b583b4c54c819563717949807fdbb640 (diff)
downloadlinux-1d2a19c2567c74ff3c50fa1a0823052adee9c49f.tar.xz
drm/i915/lrc: Remove superfluous WARN_ON
Remove the WARN_ON(ce->state) inside the static function only called when ce->state == NULL and downgrade the w/a batch setup warning into a developer only mode (GEM_WARN_ON). v2: Move the deferred alloc guard into the callee, eliminating the need for the WARN_ON: add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-1 (-1) Function old new delta execlists_context_pin 1819 1818 -1 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180126121846.12007-1-chris@chris-wilson.co.uk
Diffstat (limited to 'include/linux/buffer_head.h')
0 files changed, 0 insertions, 0 deletions