Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348425
b: refs/heads/master
c: b5c0b55
h: refs/heads/master
i:
  348423: 087d946
v: v3
  • Loading branch information
JoongMock Shin authored and Inki Dae committed Jan 4, 2013
1 parent 8dacb47 commit 97983c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6fe891f669e3e065a99423d322edc4ea7593f248
refs/heads/master: b5c0b5526a97ff5d9e72d1c5d460ca20257987ae
9 changes: 3 additions & 6 deletions trunk/drivers/gpu/drm/exynos/exynos_drm_fimc.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,14 @@ struct fimc_context {
bool suspended;
};

static void fimc_sw_reset(struct fimc_context *ctx, bool pattern)
static void fimc_sw_reset(struct fimc_context *ctx)
{
u32 cfg;

DRM_DEBUG_KMS("%s:pattern[%d]\n", __func__, pattern);
DRM_DEBUG_KMS("%s\n", __func__);

cfg = fimc_read(EXYNOS_CISRCFMT);
cfg |= EXYNOS_CISRCFMT_ITU601_8BIT;
if (pattern)
cfg |= EXYNOS_CIGCTRL_TESTPATTERN_COLOR_BAR;

fimc_write(cfg, EXYNOS_CISRCFMT);

/* s/w reset */
Expand Down Expand Up @@ -1536,7 +1533,7 @@ static int fimc_ippdrv_reset(struct device *dev)
DRM_DEBUG_KMS("%s\n", __func__);

/* reset h/w block */
fimc_sw_reset(ctx, false);
fimc_sw_reset(ctx);

/* reset scaler capability */
memset(&ctx->sc, 0x0, sizeof(ctx->sc));
Expand Down

0 comments on commit 97983c5

Please sign in to comment.