Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348426
b: refs/heads/master
c: e39d5ce
h: refs/heads/master
v: v3
  • Loading branch information
Jinyoung Jeon authored and Inki Dae committed Jan 4, 2013
1 parent 97983c5 commit 4df8813
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5c0b5526a97ff5d9e72d1c5d460ca20257987ae
refs/heads/master: e39d5ce13201b18a3ae458c023fc7b4cb33263e8
13 changes: 13 additions & 0 deletions trunk/drivers/gpu/drm/exynos/exynos_drm_fimc.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,23 @@ static void fimc_sw_reset(struct fimc_context *ctx)

DRM_DEBUG_KMS("%s\n", __func__);

/* stop dma operation */
cfg = fimc_read(EXYNOS_CISTATUS);
if (EXYNOS_CISTATUS_GET_ENVID_STATUS(cfg)) {
cfg = fimc_read(EXYNOS_MSCTRL);
cfg &= ~EXYNOS_MSCTRL_ENVID;
fimc_write(cfg, EXYNOS_MSCTRL);
}

cfg = fimc_read(EXYNOS_CISRCFMT);
cfg |= EXYNOS_CISRCFMT_ITU601_8BIT;
fimc_write(cfg, EXYNOS_CISRCFMT);

/* disable image capture */
cfg = fimc_read(EXYNOS_CIIMGCPT);
cfg &= ~(EXYNOS_CIIMGCPT_IMGCPTEN_SC | EXYNOS_CIIMGCPT_IMGCPTEN);
fimc_write(cfg, EXYNOS_CIIMGCPT);

/* s/w reset */
cfg = fimc_read(EXYNOS_CIGCTRL);
cfg |= (EXYNOS_CIGCTRL_SWRST);
Expand Down

0 comments on commit 4df8813

Please sign in to comment.