diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-01-22 15:19:00 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-01 11:33:11 +1000 |
commit | ff82f052d2a187dd0fa0e431ba70eb457c71a40e (patch) | |
tree | 65bf2788445c3087cdb6c05fe2d40e81629ffd3b /drivers/gpu/drm/Kconfig | |
parent | 5ffdb658f605cbc420944e7c7eeec9fbb8a73772 (diff) |
drm/radeon/kms: Bailout of blit if error happen & protect with mutex V3
If an error happen in r600_blit_prepare_copy report it rather
than WARNING and keeping execution. For instance if ib allocation
failed we did just warn about but then latter tried to access
NULL ib ptr causing oops. This patch also protect r600_copy_blit
with a mutex as otherwise one process might overwrite blit temporary
data with new one possibly leading to GPU lockup.
Should partialy or totaly fix:
https://bugzilla.redhat.com/show_bug.cgi?id=553279
V2 failing blit initialization is not fatal, fallback to memcpy when
this happen
V3 init blit before startup as we pin in startup, remove duplicate
code (this one was actualy tested unlike V2)
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/Kconfig')
0 files changed, 0 insertions, 0 deletions