mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-12 09:10:51 +02:00
radeon: only do the fb read if we are mapping a VRAM object
this makes writing the DMA buffers got a lot better
This commit is contained in:
parent
e8f575d657
commit
c85a3851b6
1 changed files with 1 additions and 1 deletions
|
|
@ -479,7 +479,7 @@ static int bo_map(struct radeon_bo *bo, int write)
|
|||
* framebuffer, but I've found this to be unnecessary.
|
||||
* -- Nicolai Hähnle, June 2008
|
||||
*/
|
||||
{
|
||||
if (!(bo->domains & RADEON_GEM_DOMAIN_GTT)) {
|
||||
int p;
|
||||
volatile int *buf = (int*)boml->screen->driScreen->pFB;
|
||||
p = *buf;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue