diff options
author | 2013-01-18 16:31:14 +0000 | |
---|---|---|
committer | 2013-02-08 11:52:00 +1000 | |
commit | e90a4ea534b110a43df87a05587c53cd78569467 (patch) | |
tree | 0959edcc69f8e333ddc61ad6cd64d99dfeaa07e3 /drivers/gpu/drm/i2c | |
parent | drm/udl: make usage as a console safer (diff) | |
download | wireguard-linux-e90a4ea534b110a43df87a05587c53cd78569467.tar.xz wireguard-linux-e90a4ea534b110a43df87a05587c53cd78569467.zip |
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 'drivers/gpu/drm/i2c')
0 files changed, 0 insertions, 0 deletions