diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-09-15 09:41:57 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-09-17 10:12:57 +0200 |
commit | 7e81a42e341a4f15d76624b7c02ffb21b085b56f (patch) | |
tree | a02e1d4ecb6636513109d9a6d7500b45b45d6f35 /drivers/gpu/drm/i915/intel_hdmi.c | |
parent | 5b5896e4e1f353ef3dbc4e4e9ee44d53ccf105d7 (diff) |
drm/i915: Reduce a pin-leak BUG into a WARN
Pin-leaks persist and we get the perennial bug reports of machine
lockups to the BUG_ON(pin_count==MAX). If we instead loudly report that
the object cannot be pinned at that time it should prevent the driver from
locking up, and hopefully restore a semblance of working whilst still
leaving us a OOPS to debug.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_hdmi.c')
0 files changed, 0 insertions, 0 deletions