]> 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)
commit6b57dcce2c76c190b4f76038be0beb3eb3096126
tree637c1a1ddb2c2df308418d8dd8b2ad7f64477099
parent3950df9153007c29a3e73a98465978859a0d51c8
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