summaryrefslogtreecommitdiff
path: root/docs/intro.html
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2007-12-16 22:25:33 -0800
committerEric Anholt <eric@anholt.net>2008-01-02 09:47:06 -0800
commita3c435b342e467020e349061ce656c68258a8576 (patch)
treee2c926a6706fe9a08e378a9c7ada53a83ef9647b /docs/intro.html
parent4cc02fb9387dbeeea56de3a34854f6739dc97a80 (diff)
Set correct flags mask when validating buffers.
The 'mask' value used in the validation operation specifies which of the 'flags' bits are being modified. Buffer validation wants to pass the memory type and access mode (rwx) to the kernel so that the buffer will be placed correctly, and so that the right kind of fence will be created (read vs write). That means we actually want a constant mask for these operations, and not something computed from the bits coming in. The constant we want is DRM_BO_MASK_MEM | DRM_BO_FLAG_READ | DRM_BO_FLAG_WRITE | DRM_BO_FLAG_EXE.
Diffstat (limited to 'docs/intro.html')
0 files changed, 0 insertions, 0 deletions