lkml.org 
[lkml]   [2015]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.14 25/79] drm/radeon: fix interlaced modes on DCE8
    Date
    3.14-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Alex Deucher <alexander.deucher@amd.com>

    commit 77ae5f4b48a0445426c9c1ef7c0f28b717e35d55 upstream.

    Need to double the viewport height.

    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/gpu/drm/radeon/atombios_crtc.c | 3 +++
    1 file changed, 3 insertions(+)

    --- a/drivers/gpu/drm/radeon/atombios_crtc.c
    +++ b/drivers/gpu/drm/radeon/atombios_crtc.c
    @@ -1306,6 +1306,9 @@ static int dce4_crtc_do_set_base(struct
    (x << 16) | y);
    viewport_w = crtc->mode.hdisplay;
    viewport_h = (crtc->mode.vdisplay + 1) & ~1;
    + if ((rdev->family >= CHIP_BONAIRE) &&
    + (crtc->mode.flags & DRM_MODE_FLAG_INTERLACE))
    + viewport_h *= 2;
    WREG32(EVERGREEN_VIEWPORT_SIZE + radeon_crtc->crtc_offset,
    (viewport_w << 16) | viewport_h);




    \
     
     \ /
      Last update: 2015-03-24 18:21    [W:4.107 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site