This patch fixes the occasional kernel oops when programing logo layer.
Issue was because of accessing/programing wrong memory.
Following fixes corrected this calculation :
- using the currect buffer b_buf instead of r_buf
- correcting the register address calculation by one offset
- corrected pixel_alpha selection based on color format logic