Created
January 22, 2015 23:34
-
-
Save wolfgar/6568c717efc76bedbb6a to your computer and use it in GitHub Desktop.
double rate kernel patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/drivers/mxc/ipu3/ipu_device.c | |
+++ b/drivers/mxc/ipu3/ipu_device.c | |
@@ -2090,6 +2090,7 @@ static int init_ic(struct ipu_soc *ipu, struct ipu_task_entry *t) | |
inbuf = t->input.paddr + t->set.istride + t->set.i_off; | |
params.mem_prp_vf_mem.field_fmt = | |
IPU_DEINTERLACE_FIELD_BOTTOM; | |
+ outbuf += t->set.ostride; | |
} else | |
inbuf = t->input.paddr + t->set.i_off; | |
} else { | |
@@ -2097,8 +2098,10 @@ static int init_ic(struct ipu_soc *ipu, struct ipu_task_entry *t) | |
inbuf = t->input.paddr + t->set.i_off; | |
params.mem_prp_vf_mem.field_fmt = | |
IPU_DEINTERLACE_FIELD_TOP; | |
- } else | |
+ } else { | |
inbuf = t->input.paddr + t->set.istride + t->set.i_off; | |
+ outbuf += t->set.ostride; | |
+ } | |
} | |
} else | |
inbuf = t->input.paddr + t->set.i_off; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment