drm/i915: Don't warn if the workaround list is empty.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 7 Oct 2015 11:44:01 +0000 (14:44 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 7 Oct 2015 14:37:03 +0000 (16:37 +0200)
commit02235808b61cd9382d224b0df263193006dd9913
tree56bf6ce029c9f442010e593a93140f790b0a23b8
parent6a8aadc43974729349cb6b823d774c091afd78cd
drm/i915: Don't warn if the workaround list is empty.

It's not an error for the workaround list to be empty if no
workarounds are needed.  This will avoid spamming the logs
unnecessarily on Gen6 after the workaround list is hooked up on
pre-Gen8 hardware by the following commits.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c