rockbox/firmware/target/arm
William Wilgus 1f63604e2c Fuze PLUS Fix lcd_update_rect()
Lcd_update rect was hanging during horizontal screen update x = 238 and width = 2
which was within the bounds of the screen, this seems to be a weird corner case
but more testing needs done.

Update_rect now properly bounded between 0 - screen w/h
--Cleaned up code

Pixels in x are now multiples of 4.

Datasheet states:
-------------------------------------------------------------------------------------------
WORD_LENGTH=0 implies the input frame buffer is RGB 16 bits per pixel.
DATA_FORMAT_16_BIT field indicates if the pixels are in RGB 555 or RGB 565 format.
Limitations:
— BYTE_PACKING_FORMAT [3:0] should be 0x3 or 0xC if there is only one pixel per word.
— If there are two pixels per word, BYTE_PACKING_FORMAT [3:0] should be 0xF and
H_COUNT will be restricted to be a multiple of 2 pixels.

and

WORD_LENGTH=3 indicates that the input frame-buffer is RGB 24 bits per pixel (RGB 888). If
BYTE_PACKING_FORMAT [3:0] is 0x7, it indicates that there is only one pixel per 32-bit word
and there is no restriction on H_COUNT.
Limitations:
— If BYTE_PACKING_FORMAT [3:0] is 0xF, it indicates that the pixels are packed, i.e. there
are 4 pixels in 3 words or 12 bytes. In that case, H_COUNT must be a multiple of 4 pixels.
-------------------------------------------------------------------------------------------

We are using 16 bits per pixel and byte_packing = 0xF but device crashes with multiple of 2 pixels

Behaviour can be verified with plugin - oscilloscope, Horizontal mode device hangs as indicator
reaches right of screen

Change-Id: I1445f5334f4e7fe59304c65c76b47d0daa0614b2
2018-05-25 22:48:01 +02:00
..
archos/av300
as3525 Convert i.MX31 and AMS target to use RTC interrupt 2017-11-21 07:52:02 -05:00
at91sam Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
imx31 Gigabeat S: Remove unwanted partitions on the fly 2018-01-14 08:23:48 -05:00
imx233 Fuze PLUS Fix lcd_update_rect() 2018-05-25 22:48:01 +02:00
ipod nano2g: fix dangerous mutex in hold switch 2017-02-04 16:30:08 +01:00
iriver Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
olympus Fix red/yellow 2015-01-12 12:02:24 +01:00
pbell Fix red/yellow round #2 2015-01-12 13:25:14 +01:00
philips HDD16X0/HDD63X0: Enable power status of charging from USB. 2016-10-02 23:30:30 +02:00
pnx0101 Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
pp Unify storage threads into one 2017-10-26 14:35:41 -04:00
rk27xx Fix a few missed things in 16454efc (and hopefully clear the red). 2017-10-26 16:32:53 -04:00
s3c2440 Implement a much more capable vuprintf() 2017-11-21 05:00:27 -05:00
s5l8700 Unify storage threads into one 2017-10-26 14:35:41 -04:00
s5l8702 Unify storage threads into one 2017-10-26 14:35:41 -04:00
samsung Samsung YH92X: Remove unneeded line. 2016-01-12 21:02:16 +01:00
sandisk Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
tatung Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
tcc77x Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
tcc780x Unify storage threads into one 2017-10-26 14:35:41 -04:00
tms320dm320 Unify storage threads into one 2017-10-26 14:35:41 -04:00
ata-as-arm.S
ata-nand-telechips.c Unify storage threads into one 2017-10-26 14:35:41 -04:00
bits-armv4.S Make atomic bit modification functions return previous value. 2017-10-30 21:43:15 -04:00
bits-armv6.S Make atomic bit modification functions return previous value. 2017-10-30 21:43:15 -04:00
crt0.S Add boot data to MOST AS3525 Devices 2017-10-29 17:52:40 +01:00
i2c-telechips.c Remove bad mutex_* calls in telechips i2c driver 2017-08-10 21:53:55 -04:00
lcd-c200_c200v2.c
lcd-ssd1815.c
mmu-arm.h
mmu-arm.S
mmu-armv6.S
pcm-telechips.c
powermgmt-ascodec.c
system-arm.c Initial commit for the Sony NWZ linux port 2017-09-05 21:42:12 +02:00
system-arm.h Add CPU mode asserts to kernel on blocking functions. 2017-01-21 14:25:52 -05:00
uc870x.c iPod Classic: updates for uc8702 driver 2016-05-13 23:21:42 +02:00
usb-designware.c Introduce new USB driver for Synopsys DesignWare USB OTG core. 2016-08-02 04:57:49 +02:00
usb-drv-arc.c
usb-s3c6400x.c usb-s3c6400x: prevent calling usb_enable(enable) twice on USB insert 2016-03-18 14:55:53 +01:00
usb-tcc.c
wmcodec-telechips.c