DJAG should not be enabled for the purpose of down-scaling, even for vertical direction.
Change-Id: I6167aa6a5e976358d694810ea7f98369edc703e2
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
}
}
- if (param->input.width > out_width) {
- sdbg_hw(2, "DJAG is not applied still.(input : %d > output : %d)\n", hw_ip,
- param->input.width,
- out_width);
+ if (param->input.width > out_width || param->input.height > out_height) {
+ sdbg_hw(2, "DJAG is not applied still.(input : %dx%d > output : %dx%d)\n", hw_ip,
+ param->input.width, param->input.height,
+ out_width, out_height);
fimc_is_scaler_set_djag_enable(hw_ip->regs, 0);
return ret;
}