From: Haixia Shi Date: Fri, 30 Jan 2015 18:51:14 +0000 (-0800) Subject: drm/udl: optimize udl_compress_hline16 (v2) X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~75^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=865844448ce80ccd714793e9ba4140d7ae214229;p=pandora-kernel.git drm/udl: optimize udl_compress_hline16 (v2) The run-length encoding algorithm should compare 16-bit encoded pixel values instead of comparing raw pixel values. It allows pixels with similar but different colors to be encoded as repeat pixels, and thus potentially save USB bandwidth. Signed-off-by: Haixia Shi Reviewed-by: Daniel Kurtz Tested-by: Haixia Shi Signed-off-by: Dave Airlie --- Reading git-diff-tree failed