diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-04-07 15:59:38 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2015-04-13 11:39:41 +0900 |
commit | cb8a3db29f8fa8186185ba716f3f485a7f3fabe7 (patch) | |
tree | c5b5e88c568f92c83b02dd9bc3d9bec214b06e2a /drivers/gpu/drm/exynos/exynos7_drm_decon.c | |
parent | 2611015c7511106719bae904cac459383c55ffef (diff) | |
download | op-kernel-dev-cb8a3db29f8fa8186185ba716f3f485a7f3fabe7.zip op-kernel-dev-cb8a3db29f8fa8186185ba716f3f485a7f3fabe7.tar.gz |
drm/exynos: use src_x and src_y instead of fb_x and fb_y
It's more reasonable to use src_x and src_y to represent source as
counterpart of destination(crtc). Already we are using src_width and
src_height for width and height of source.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos7_drm_decon.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos7_drm_decon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos7_drm_decon.c b/drivers/gpu/drm/exynos/exynos7_drm_decon.c index 84a3638..1f7e33f 100644 --- a/drivers/gpu/drm/exynos/exynos7_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos7_drm_decon.c @@ -440,8 +440,8 @@ static void decon_win_commit(struct exynos_drm_crtc *crtc, unsigned int win) writel(plane->fb_height, ctx->regs + VIDW_WHOLE_Y(win)); /* offset from the start of the buffer to read */ - writel(plane->fb_x, ctx->regs + VIDW_OFFSET_X(win)); - writel(plane->fb_y, ctx->regs + VIDW_OFFSET_Y(win)); + writel(plane->src_x, ctx->regs + VIDW_OFFSET_X(win)); + writel(plane->src_y, ctx->regs + VIDW_OFFSET_Y(win)); DRM_DEBUG_KMS("start addr = 0x%lx\n", (unsigned long)val); |