summaryrefslogtreecommitdiff
path: root/linux-core/drm_compat.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-07-09 17:49:46 -0700
committerEric Anholt <eric@anholt.net>2009-07-09 20:17:53 -0700
commit3f3c5be6f908272199ccf53f108b1124bfe0a00e (patch)
tree757799c548970a7b263c2113f27723c4e671b61c /linux-core/drm_compat.c
parent80179df5f85a2fd39b2544f1b7aae61102800f0f (diff)
intel: Free buffers in the BO cache that haven't been reused in a while.
The goal of the BO cache is to keep buffers on hand for fast continuous use, as in every frame of a game or every batchbuffer of the X Server. Keeping older buffers on hand not only doesn't serve this purpose, it may hurt performance by resulting in disk cache getting kicked out, or even driving the system to swap. Bug #20766.
Diffstat (limited to 'linux-core/drm_compat.c')
0 files changed, 0 insertions, 0 deletions