lkml.org 
[lkml]   [2018]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.14 287/496] drm/ast: Fixed 1280x800 Display Issue
    Date
    4.14-stable review patch.  If anyone has any objections, please let me know.

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

    From: "Y.C. Chen" <yc_chen@aspeedtech.com>

    [ Upstream commit 5a9f698feb11b198f17b2acebbfe0e2716a3beed ]

    The original ast driver cannot display properly if the resolution is 1280x800 and the pixel clock is 83.5MHz.
    Here is the update to fix it.

    Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/gpu/drm/ast/ast_tables.h | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    --- a/drivers/gpu/drm/ast/ast_tables.h
    +++ b/drivers/gpu/drm/ast/ast_tables.h
    @@ -97,7 +97,7 @@ static const struct ast_vbios_dclk_info
    {0x67, 0x22, 0x00}, /* 0E: VCLK157_5 */
    {0x6A, 0x22, 0x00}, /* 0F: VCLK162 */
    {0x4d, 0x4c, 0x80}, /* 10: VCLK154 */
    - {0xa7, 0x78, 0x80}, /* 11: VCLK83.5 */
    + {0x68, 0x6f, 0x80}, /* 11: VCLK83.5 */
    {0x28, 0x49, 0x80}, /* 12: VCLK106.5 */
    {0x37, 0x49, 0x80}, /* 13: VCLK146.25 */
    {0x1f, 0x45, 0x80}, /* 14: VCLK148.5 */
    @@ -127,7 +127,7 @@ static const struct ast_vbios_dclk_info
    {0x67, 0x22, 0x00}, /* 0E: VCLK157_5 */
    {0x6A, 0x22, 0x00}, /* 0F: VCLK162 */
    {0x4d, 0x4c, 0x80}, /* 10: VCLK154 */
    - {0xa7, 0x78, 0x80}, /* 11: VCLK83.5 */
    + {0x68, 0x6f, 0x80}, /* 11: VCLK83.5 */
    {0x28, 0x49, 0x80}, /* 12: VCLK106.5 */
    {0x37, 0x49, 0x80}, /* 13: VCLK146.25 */
    {0x1f, 0x45, 0x80}, /* 14: VCLK148.5 */

    \
     
     \ /
      Last update: 2018-05-28 12:56    [W:2.289 / U:1.204 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site