From patchwork Mon Oct 29 11:46:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 149655 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4025976ljp; Mon, 29 Oct 2018 04:47:23 -0700 (PDT) X-Google-Smtp-Source: AJdET5eLypDhKJ6ddMBfx+l33F15abFSSn61PK1oxzKVnFYJh0ggN5MzbMkD7w6cIdz+xXeVjgyD X-Received: by 2002:a17:902:aa45:: with SMTP id c5-v6mr14312281plr.100.1540813643291; Mon, 29 Oct 2018 04:47:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540813643; cv=none; d=google.com; s=arc-20160816; b=WKjCVLhNbY4p5IO06KhCBsNhfLBH/XhQyqEwtBzR+v/GXmjbjCqTZnliE4gAdM17OD hZpBI9XVCfwAOwowM6l0XgW+kQLB3MLZ8KVMsn4haiMR+F7nMLnUnRyzRq+AKPhW7UpP MGGsF4CQ2yjcE4uMegPHfcJzLnps7HAxhrfrISUp1Y6qg1wPU9+5z7IqTsfKb3KOsgng ELCcG2gpjYvIsDcPH+Eq/zfH/616oSOG1XT/ynzk0bkjVd4R6GJDvvuzFXtIKWTpyKxf 8l0Uk7sVrbbxRu5RD81D9JXj6aT6GhZiw3XlJsG1XK83QlFyBcuGI9n7rzkw0Kf94eyU XzBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :delivered-to; bh=yqRkAUR65YCGryjfzNXf9UpysJkT8afsR1+nNrX+/VE=; b=jtD3e+0pAqI/fkIb/c4/ORK+bve2SfB655fXdioWmKfhz6wZaPeXyK/fxh9C0wrnlb H0AYk33ELe5QpivTWfJeyR/R6XUI1aaA2yU/b8c+NBYn3qlTfWVhPUUDIl7wE18wCBm7 EvIfn8yKHkgrih01vba+1lQHMmjaJBh+AiiaYPcLYMY27wTGpWfTPAedkvPSnmuVbKe5 E7hy7hwDBOcKrHBr0r/ahc0Krgt0E8me53Z2I1bP7e8sK4WznEbC5qO05r6P1cKT1hL3 zg21eUDDiZ6GDjy0/Y6ZZ7ExEz+mVoNYBSnk49QdQa1pr8byT4XnKWvA7L+zh/lAanv1 7+Bg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id s13-v6si19585327pgp.382.2018.10.29.04.47.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Oct 2018 04:47:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A3DDA8996F; Mon, 29 Oct 2018 11:47:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by gabe.freedesktop.org (Postfix) with ESMTPS id 51C268997C for ; Mon, 29 Oct 2018 11:47:18 +0000 (UTC) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9TBl9HG091930; Mon, 29 Oct 2018 06:47:09 -0500 Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id w9TBl9xC013722 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 29 Oct 2018 06:47:09 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 29 Oct 2018 06:47:09 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 29 Oct 2018 06:47:09 -0500 Received: from deskari.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9TBl70D007729; Mon, 29 Oct 2018 06:47:07 -0500 From: Tomi Valkeinen To: Archit Taneja , Andrzej Hajda , , Andrey Gusakov Subject: [PATCH 0/7] drm/bridge: tc358767: small fixes Date: Mon, 29 Oct 2018 13:46:54 +0200 Message-ID: <20181029114701.26409-1-tomi.valkeinen@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tomi Valkeinen , Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, We have TC358867 on our board, which I believe is almost identical to TC358767. We're using it with a DP connector instead of eDP with a fixed panel. I have tested these patches only on TI's 4.14 based kernel, as unfortunately we don't have all the necessary support in mainline yet. These patches fix various bugs, but I'm still seeing at least two issues: * Sync with some videomodes is not correct, resulting in a jumping and skewed display * Link training fails sometimes I would appreciate if someone is able to verify these patches with TC358767. Tomi Tomi Valkeinen (7): drm/bridge: tc358767: add bus flags drm/bridge: tc358767: add defines for DP1_SRCCTRL & PHY_2LANE drm/bridge: tc358767: fix single lane configuration drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value drm/bridge: tc358767: reject modes which require too much BW drm/bridge: tc358767: fix output H/V syncs drm/bridge: tc358767: use DP connector if no panel set drivers/gpu/drm/bridge/tc358767.c | 46 ++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 10 deletions(-)