diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-18 16:31:14 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-02-08 11:52:00 +1000 |
commit | e90a4ea534b110a43df87a05587c53cd78569467 (patch) | |
tree | 0959edcc69f8e333ddc61ad6cd64d99dfeaa07e3 /Kbuild | |
parent | bcb39af4486be07e896fc374a2336bad3104ae0a (diff) |
drm/udl: Inline memcmp() for RLE compression of xfer
As we use a variable length the compiler does not realise that it is a
fixed value of either 2 or 4 bytes. Instead of performing the inline
comparison itself, the compiler inserts a function call to the generic
memcmp routine which is optimised for long comparisons of variable
length. That turns out to be quite expensive...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions