mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 09:18:04 +02:00
radeon: fix GTT writing space check
Noticed by vehemens on irc. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
d74c67fb13
commit
1d465178fb
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ static inline int radeon_cs_setup_bo(struct radeon_cs_space_check *sc, struct ra
|
|||
if (write_domain == RADEON_GEM_DOMAIN_VRAM) {
|
||||
sizes->op_read -= bo->size;
|
||||
sizes->op_vram_write += bo->size;
|
||||
} else if (write_domain == RADEON_GEM_DOMAIN_VRAM) {
|
||||
} else if (write_domain == RADEON_GEM_DOMAIN_GTT) {
|
||||
sizes->op_read -= bo->size;
|
||||
sizes->op_gart_write += bo->size;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue