Date: Sat, 17 May 2014 21:26:33 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r266358 - stable/10/sys/arm/samsung/exynos Message-ID: <201405172126.s4HLQXfG009550@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Sat May 17 21:26:33 2014 New Revision: 266358 URL: http://svnweb.freebsd.org/changeset/base/266358 Log: MFC 264150: Exynos: Correct the end address of the video frame buffer. Modified: stable/10/sys/arm/samsung/exynos/exynos5_fimd.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/arm/samsung/exynos/exynos5_fimd.c ============================================================================== --- stable/10/sys/arm/samsung/exynos/exynos5_fimd.c Sat May 17 21:23:46 2014 (r266357) +++ stable/10/sys/arm/samsung/exynos/exynos5_fimd.c Sat May 17 21:26:33 2014 (r266358) @@ -278,9 +278,11 @@ fimd_init(struct fimd_softc *sc) reg |= ((panel->height - 1) << LINEVAL_OFFSET); DWRITE4(sc,VIDTCON2,reg); - WRITE4(sc,VIDW00ADD0B0, sc->sc_info.fb_pbase); - WRITE4(sc,VIDW00ADD1B0, sc->sc_info.fb_pbase + sc->sc_info.fb_size); - WRITE4(sc,VIDW00ADD2, panel->width * 2); + reg = sc->sc_info.fb_pbase; + WRITE4(sc, VIDW00ADD0B0, reg); + reg += (sc->sc_info.fb_stride * (sc->sc_info.fb_height + 1)); + WRITE4(sc, VIDW00ADD1B0, reg); + WRITE4(sc, VIDW00ADD2, sc->sc_info.fb_stride); reg = ((panel->width - 1) << OSD_RIGHTBOTX_F_OFFSET); reg |= ((panel->height - 1) << OSD_RIGHTBOTY_F_OFFSET);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405172126.s4HLQXfG009550>