Ignore:
Timestamp:
2015-05-23T04:09:11Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
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.
Message:

Mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c

    ra25d893 r94e46c9  
    282282                return ret;
    283283        }
     284        if (dispc->fb_data)
     285                dmamem_unmap_anonymous(dispc->fb_data);
    284286       
     287        dispc->fb_data = buffer;
    285288        amdm37x_dispc_setup_fb(dispc->regs, x, y, bpp *8, (uint32_t)pa);
    286289        dispc->active_fb.idx = mode.index;
     
    290293        dispc->active_fb.bpp = bpp;
    291294        dispc->active_fb.pixel2visual = p2v;
    292         dispc->fb_data = buffer;
    293295        dispc->size = size;
    294296        assert(mode.index < 1);
    295297
    296         if (dispc->fb_data)
    297                 dmamem_unmap_anonymous(dispc->fb_data);
    298298        return EOK;
    299299}
Note: See TracChangeset for help on using the changeset viewer.