Changeset 0683992 in mainline
- Timestamp:
- 2015-05-23T03:50:49Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5c0e012, 94e46c9
- Parents:
- 7edfde9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c
r7edfde9 r0683992 282 282 return ret; 283 283 } 284 if (dispc->fb_data) 285 dmamem_unmap_anonymous(dispc->fb_data); 284 286 287 dispc->fb_data = buffer; 285 288 amdm37x_dispc_setup_fb(dispc->regs, x, y, bpp *8, (uint32_t)pa); 286 289 dispc->active_fb.idx = mode.index; … … 290 293 dispc->active_fb.bpp = bpp; 291 294 dispc->active_fb.pixel2visual = p2v; 292 dispc->fb_data = buffer;293 295 dispc->size = size; 294 296 assert(mode.index < 1); 295 297 296 if (dispc->fb_data)297 dmamem_unmap_anonymous(dispc->fb_data);298 298 return EOK; 299 299 }
Note:
See TracChangeset
for help on using the changeset viewer.