1.1 --- a/pkg/devices/lcd/include/lcd-jz4740-device.h Fri Feb 16 23:11:25 2024 +0100
1.2 +++ b/pkg/devices/lcd/include/lcd-jz4740-device.h Sat Feb 17 23:04:12 2024 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * LCD device support for the JZ4740 and related SoCs.
1.6 *
1.7 - * Copyright (C) 2018, 2023 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2018, 2023, 2024 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -38,10 +38,9 @@
1.13
1.14 class Lcd_jz4740_device : public Lcd_device
1.15 {
1.16 - /* DMA descriptor virtual and physical addresses. */
1.17 + /* DMA region providing the DMA descriptor virtual and physical addresses. */
1.18
1.19 - l4_addr_t desc_vaddr;
1.20 - l4re_dma_space_dma_addr_t desc_paddr;
1.21 + struct dma_region _desc_region;
1.22
1.23 protected:
1.24 /* Device-specific memory allocation. */