linux/drivers/gpu/drm/udl
David Herrmann 2b932d8ef0 drm/udl: fix Bpp calculation in dumb_create()
Probably a typo.. we obviously need "(bpp + 7) / 8" instead of
"(bpp + 1) / 8". Unlikely to be hit in any sane code, but lets be safe.
Use DIV_ROUND_UP() to avoid the problem entirely and make the core more
readable.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-03-16 12:11:01 +01:00
..
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile
udl_connector.c udl: handle EDID failure properly. 2013-04-12 14:20:38 +10:00
udl_drv.c drm: kill ->gem_init_object() and friends 2013-10-09 14:38:02 +10:00
udl_drv.h drm: kill ->gem_init_object() and friends 2013-10-09 14:38:02 +10:00
udl_encoder.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2012-10-03 23:29:23 -07:00
udl_fb.c drm/udl: fix error-path when damage-req fails 2014-03-16 12:11:01 +01:00
udl_gem.c drm/udl: fix Bpp calculation in dumb_create() 2014-03-16 12:11:01 +01:00
udl_main.c drm: don't push static constants on stack for %*ph 2013-08-07 10:10:58 +10:00
udl_modeset.c drm: Drop all the stub gamma_get, gamma_set, load_lut functions from drivers 2013-06-17 19:42:47 +10:00
udl_transfer.c drm/udl: Inline memcmp() for RLE compression of xfer 2013-02-08 11:52:00 +10:00