]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: add a reset work handler
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2013 13:13:52 +0000 (09:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jun 2013 21:50:21 +0000 (17:50 -0400)
commit61b847b2a26db4752766b378646d6dbf3f05232a
tree637c1a1ddb2c2df308418d8dd8b2ad7f64477099
parente4ac640a9441c6331bd0ab90f8ada578bd26bc56
drm/radeon: add a reset work handler

New asics support non-privileged IBs.  This allows us
to skip IB checking in the driver since the hardware
will check the command buffers for us.  When using
non-privileged IBs, if the CP encounters an illegal
register in the command stream, it will halt and generate
an interrupt.  The CP needs to be reset to continue.  For now
just do a full GPU reset when this happens.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_irq_kms.c