yf13 commented on code in PR #12238:
URL: https://github.com/apache/nuttx/pull/12238#discussion_r1588744223


##########
drivers/video/fb.c:
##########
@@ -1032,7 +1032,13 @@ static int fb_mmap(FAR struct file *filep, FAR struct 
mm_map_entry_s *map)
   if (map->offset >= 0 && map->offset < panelinfo.fblen &&
       map->length && map->offset + map->length <= panelinfo.fblen)
     {
+#ifdef CONFIG_BUILD_KERNEL
+      map->vaddr = vm_map_region((uintptr_t)panelinfo.fbmem,
+                                            panelinfo.fblen);
+      map->vaddr += map->offset;

Review Comment:
   rolled back to confirm  CI status...  just pushed an update supporting 
unaligned paddr mapping and moved `vm_map_xxx()` into ` vm_region.c`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to