Skip to content

Commit

Permalink
display: Drop the 8890 specific hacks
Browse files Browse the repository at this point in the history
Now that the stride is calculated properly, we don't need any of
this anymore.

Change-Id: I8ce792ae456bded150166dfebee57b7e2f2ba3e7
  • Loading branch information
raymanfx committed Jul 11, 2017
1 parent 51076bb commit ddbbbb5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions libdisplay/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ ifneq ($(filter exynos7420 exynos7580 exynos8890, $(TARGET_SOC)),)
LOCAL_CFLAGS += -DDECON_FB
endif

# Exynos 8890 Uses IDMA_G1 instead of the standard IDMA_G0
# and needs forced parameters.
ifneq ($(filter exynos8890, $(TARGET_SOC)),)
LOCAL_CFLAGS += -DDECON_8890
endif

LOCAL_CFLAGS += -DLOG_TAG=\"display\"
LOCAL_C_INCLUDES := \
$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
Expand Down
5 changes: 0 additions & 5 deletions libdisplay/ExynosOverlayDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,6 @@ void ExynosOverlayDisplay::configureHandle(private_handle_t *handle,
// check MPP isRotated() val?
ALOGE("%s: overlay is VPP type, but we cannot handle this!", __func__);
}
#ifdef DECON_8890
cfg.src = {0, 0, 1440, 2560, 1440, 2560};
cfg.dst = {0, 0, 1440, 2560, 1440, 2560};
#else
cfg.dst.x = x;
cfg.dst.y = y;
cfg.dst.w = w;
Expand All @@ -234,7 +230,6 @@ void ExynosOverlayDisplay::configureHandle(private_handle_t *handle,
// Framebuffer linelength
cfg.src.f_w = handle->stride;
cfg.src.f_h = h;
#endif
#else
cfg.state = cfg.S3C_FB_WIN_STATE_BUFFER;
cfg.fd = handle->fd;
Expand Down

0 comments on commit ddbbbb5

Please sign in to comment.