Skip to content

Commit

Permalink
Update overlay when yc/uv pitches change
Browse files Browse the repository at this point in the history
When YC and UV pitches change in the overlay, update the hardware registers with the new settings

Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
  • Loading branch information
rabeeh committed Nov 15, 2012
1 parent cb7b08e commit ffa170d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/video/dovefb/dovefb_ovly.c
Expand Up @@ -284,7 +284,9 @@ static int check_surface(struct fb_info *fi,
(dfli->surface.viewPortInfo.srcWidth != new_info->srcWidth ||
dfli->surface.viewPortInfo.srcHeight != new_info->srcHeight ||
dfli->surface.viewPortInfo.zoomXSize != new_info->zoomXSize ||
dfli->surface.viewPortInfo.zoomYSize != new_info->zoomYSize)) {
dfli->surface.viewPortInfo.zoomYSize != new_info->zoomYSize ||
dfli->surface.viewPortInfo.ycPitch != new_info->ycPitch ||
dfli->surface.viewPortInfo.uvPitch != new_info->uvPitch)) {
var->xres = new_info->srcWidth;
var->yres = new_info->srcHeight;
var->xres_virtual = new_info->srcWidth;
Expand Down

0 comments on commit ffa170d

Please sign in to comment.