summaryrefslogtreecommitdiffstats
path: root/include/video/platform_lcd.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-11-22 03:49:37 +0100
committerEric Anholt <eric@anholt.net>2009-11-25 15:36:21 +0100
commitc8e0f93a381d1d76135e567f13a4418fce66fd95 (patch)
treeefa286f2e381d60b514c897cd148e5a824cce667 /include/video/platform_lcd.h
parentMerge remote branch 'airlied/drm-next' into drm-intel-next (diff)
downloadlinux-c8e0f93a381d1d76135e567f13a4418fce66fd95.tar.xz
linux-c8e0f93a381d1d76135e567f13a4418fce66fd95.zip
drm/i915: Replace a calloc followed by copying data over it with malloc.
Execbufs involve quite a bit of payload, to the extent that cache misses show up in the profiles here, and a suspicion that some of those cachelines may get evicted and then reloaded in the subsequent copy. This is still abstracted like drm_calloc_large since we want to check for size overflow, and because we want to choose between kmalloc and vmalloc on the fly. cairo's interface for malloc-with-calloc's-args was used as the model. Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'include/video/platform_lcd.h')
0 files changed, 0 insertions, 0 deletions