diff options
Diffstat (limited to 'sys/arch/loongson/dev/radeonfb.c')
-rw-r--r-- | sys/arch/loongson/dev/radeonfb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/loongson/dev/radeonfb.c b/sys/arch/loongson/dev/radeonfb.c index 96fe82e8d9e..63054969f7b 100644 --- a/sys/arch/loongson/dev/radeonfb.c +++ b/sys/arch/loongson/dev/radeonfb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radeonfb.c,v 1.4 2020/05/25 09:55:48 jsg Exp $ */ +/* $OpenBSD: radeonfb.c,v 1.5 2022/07/15 17:57:26 kettenis Exp $ */ /* * Copyright (c) 2009 Mark Kettenis. @@ -306,6 +306,8 @@ radeonfb_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p) wdf->width = ri->ri_width; wdf->height = ri->ri_height; wdf->depth = ri->ri_depth; + wdf->stride = ri->ri_stride; + wdf->offset = 0; wdf->cmsize = 0; break; case WSDISPLAYIO_LINEBYTES: |