[PATCH 1/2] drm/udl: optimize udl_compress_hline16

2015-01-30 Thread Dave Airlie
On 29 January 2015 at 07:41, Haixia Shi wrote: > 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. Th

[PATCH 1/2] drm/udl: optimize udl_compress_hline16 (v2)

2015-01-30 Thread Haixia Shi
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 Test

[PATCH 1/2] drm/udl: optimize udl_compress_hline16

2015-01-30 Thread Haixia Shi
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 Test

[PATCH 1/2] drm/udl: optimize udl_compress_hline16

2015-01-30 Thread Haixia Shi
Dave Sorry it seems that my patch was rebased on top of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git I'm going to re-send the patch on top of the drm-next branch of your tree (git://people.freedesktop.org/~airlied/linux) On Thu, Jan 29, 2015 at 7:45 PM, Dave Airlie wrote: >

[PATCH 1/2] drm/udl: optimize udl_compress_hline16

2015-01-28 Thread Chris Wilson
On Wed, Jan 28, 2015 at 10:15:29AM -0800, Haixia Shi wrote: > 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 ba

[PATCH 1/2] drm/udl: optimize udl_compress_hline16

2015-01-28 Thread Haixia Shi
Sorry about that; I have just re-sent the patches based on upstream code. On Wed, Jan 28, 2015 at 1:12 PM, Chris Wilson wrote: > On Wed, Jan 28, 2015 at 10:15:29AM -0800, Haixia Shi wrote: >> The run-length encoding algorithm should compare 16-bit encoded pixel >> values instead of comparing raw

[PATCH 1/2] drm/udl: optimize udl_compress_hline16

2015-01-28 Thread Haixia Shi
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 Test

[PATCH 1/2] drm/udl: optimize udl_compress_hline16

2015-01-28 Thread Haixia Shi
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 Test