Changeset 94e46c9 in mainline for uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c
- Timestamp:
- 2015-05-23T04:09:11Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b5143bd
- Parents:
- a25d893 (diff), 0683992 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c
ra25d893 r94e46c9 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.