diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-11-17 03:31:10 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-11-17 03:31:10 +0100 |
commit | 936f114e0df6c417e8a40d42fa952f5c4a506b56 (patch) | |
tree | 26e167e7cb97faf7ba8f3e56e10b93412270ffbd /drivers | |
parent | 89820d88d77445f2d7d1d0e8cda6ce0c0202c488 (diff) |
mvf_dcu: add 16 bpp support
Add 16 bpp colour mode support.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/mvf_dcu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/mvf_dcu.c b/drivers/video/mvf_dcu.c index 52fc6ab95d9d..68d3b09d19ae 100644 --- a/drivers/video/mvf_dcu.c +++ b/drivers/video/mvf_dcu.c @@ -566,6 +566,9 @@ static int mvf_dcu_set_par(struct fb_info *info) layer_desc->posy = mfbi->y_layer_d; switch (var->bits_per_pixel) { + case 16: + layer_desc->bpp = BPP_16_RGB565; + break; case 24: layer_desc->bpp = BPP_24; break; |