summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_edid.c
diff options
context:
space:
mode:
authorDave Airlie2009-09-23 08:56:27 +0200
committerDave Airlie2009-09-25 05:08:18 +0200
commit513bcb4655e68706594e45dfa1d4b181500110ba (patch)
treeed457db4cfb202015866a131ad4e742503728fad /drivers/gpu/drm/drm_edid.c
parentdrm/radeon/kms: enable dac load detection by default. (diff)
downloadkernel-qcow2-linux-513bcb4655e68706594e45dfa1d4b181500110ba.tar.gz
kernel-qcow2-linux-513bcb4655e68706594e45dfa1d4b181500110ba.tar.xz
kernel-qcow2-linux-513bcb4655e68706594e45dfa1d4b181500110ba.zip
drm/radeon/kms: don't require up to 64k allocations. (v2)
This avoids needing to do a kmalloc > PAGE_SIZE for the main indirect buffer chunk, it adds an accessor for all reads from the chunk and caches a single page at a time for subsequent reads. changes since v1: Use a two page pool which should be the most common case a single packet spanning > PAGE_SIZE will be hit, but I'm having trouble seeing anywhere we currently generate anything like that. hopefully proper short page copying at end added parser_error flag to set deep errors instead of having to test every ib value fetch. fixed bug in patch that went to list. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
0 files changed, 0 insertions, 0 deletions