OSDN Git Service

radeon_cs_setup_bo: Fix accounting if caller specified write and read domains.
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 8 Feb 2012 09:49:08 +0000 (10:49 +0100)
committerMichel Dänzer <michel@daenzer.net>
Wed, 8 Feb 2012 09:50:55 +0000 (10:50 +0100)
commit2cfac57d364d0166ed9472b086c16aea376f495a
treeae87e704134c068af013b41573c35215e859a6c1
parent230ec7d7bbf1e8a7e263d471b21afb08c28eba0c
radeon_cs_setup_bo: Fix accounting if caller specified write and read domains.

Only account for the write domain in that case.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=43893 .

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
radeon/radeon_cs_space.c