Hi Arun, > > Hi all, > > I am trying to implement vrfb based rotation for the git omapfb > driver. > > It requires change of fb_fix_screeninfo ( Physical address of fb and > such things) > and fb_info (virtual address of buffer) because different rotation > angles require > different physical addresses for VRFB based rotation. Moreover this > changes > has to be done dynamically. > > In the current implementation it assumes the framebuffer position > (address) is > not changed and passes the control to DSS (dispc.c) to rotate the > framebuffer. > This will work nicely for controllers (eg blizzard) which changes some > register > bits for rotation. > > Can anybody suggest me some hints how to implement this dynamic changes?? > When the angle changes FB applications will update the var structure and call the fb_<api>, here you can check if the rotation angle is changed and do the necessary calls to DSS library to change the DMA settings. By default you can configure it to -1 (means no VRFB based rotation) or if there is a bootargs parameter then use that value. I am sorry, I was bit busy with other work was not able to reply you quickly. You also have to look at offset computation and the contiguous memory requirement (2048 x pixel size x height x number of such buffers) Regards, Khasim -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html