1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-25 22:56:14 +00:00

drm/draw: fix color truncation in drm_draw_fill24

From Francesco Valla
33fee60d39b7bdea7167220d49e799701b2f4897 in linux-6.12.y/6.12.55
095232711f23179053ca26bcf046ca121a91a465 in mainline linux
This commit is contained in:
jsg
2025-10-24 02:12:09 +00:00
parent c5d3e7d5ef
commit f7635e2c04
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ EXPORT_SYMBOL(drm_draw_fill16);
void drm_draw_fill24(struct iosys_map *dmap, unsigned int dpitch,
unsigned int height, unsigned int width,
u16 color)
u32 color)
{
unsigned int y, x;

View File

@@ -47,7 +47,7 @@ void drm_draw_fill16(struct iosys_map *dmap, unsigned int dpitch,
void drm_draw_fill24(struct iosys_map *dmap, unsigned int dpitch,
unsigned int height, unsigned int width,
u16 color);
u32 color);
void drm_draw_fill32(struct iosys_map *dmap, unsigned int dpitch,
unsigned int height, unsigned int width,