Skip to content

Commit

Permalink
drm/exynos: remove color bar pattern operation.
Browse files Browse the repository at this point in the history
This patch removes color bar pattern register because we don't use the register anymore.
because it doesn't support color bar feature for writeback operation.
camera driver only supports color bar feature. but IPP doesn't support camera driver.

Signed-off-by: JoongMock Shin <jmock.shin@samsung.com>
Signed-off-by: Eunchul Kim <chulspro.kim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
  • Loading branch information
JoongMock Shin authored and Inki Dae committed Jan 4, 2013
1 parent 6fe891f commit b5c0b55
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions 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 b5c0b55

Please sign in to comment.