commit 5b2d6c6abef2680e367fc315fb32f9b51fe5de8f Author: Sylvain Munaut Date: Sat Oct 19 23:23:57 2013 +0200 [hack] Make display kernel 8x8 diff --git a/fosphor/cl.c b/fosphor/cl.c index 3160dc4..530d3a2 100644 --- a/fosphor/cl.c +++ b/fosphor/cl.c @@ -679,9 +679,9 @@ fosphor_cl_process(struct fosphor *self, /* Execute display kernel */ global[0] = FOSPHOR_FFT_LEN; - global[1] = 16; - local[0] = 16; - local[1] = 16; + global[1] = 8; + local[0] = 8; + local[1] = 8; err = clEnqueueNDRangeKernel(cl->cq, cl->kern_display, 2, NULL, global, local, 0, NULL, NULL); CL_ERR_CHECK(err, "Unable to queue display kernel execution"); diff --git a/fosphor/display.cl b/fosphor/display.cl index dd19bba..82d210f 100644 --- a/fosphor/display.cl +++ b/fosphor/display.cl @@ -42,6 +42,9 @@ //#define MAX_HOLD_NORMAL #define MAX_HOLD_DECAY +#define QS_LOG 3 +#define QS (1<