search for: pxval

Displaying 2 results from an estimated 2 matches for "pxval".

Did you mean: pval
2009 Aug 17
2
[PATCH] kms: Fix <nv11 hardware cursor.
...ic void -nv_cursor_convert_cursor(int px, uint32_t *src, uint16_t *dst, int bpp, uint32_t fg, uint32_t bg) +void +nv_cursor_convert_cursor(uint32_t *src, void *dst, int src_stride, int dst_stride, + int bpp, uint32_t fg, uint32_t bg) { + int width = min(src_stride, dst_stride); uint32_t b, m, pxval; - int i, j; + int i, j, k; + + for (i = 0; i < width; i++) { + for (j = 0; j < width / SOURCE_MASK_INTERLEAVE; j++) { + int src_off = i*src_stride/SOURCE_MASK_INTERLEAVE + j; + int dst_off = i*dst_stride + j*SOURCE_MASK_INTERLEAVE; + + b = src[2*src_off]; + m = src[2*src_off + 1];...
2010 Jan 06
3
Removal of Non-KMS support
I did a very quick pass at removing all the non-KMS support from the DDX. It's tested on G80 but nowhere else currently, I thought some discussion would be a good idea rather than just ripping it out :) The non-KMS paths are messy, and lets face it, rotting badly. IMO the KMS code is stable enough now that we can continue without the UMS crutch, and indeed, the KMS code supports a lot more