Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp146712ybr; Fri, 22 May 2020 03:14:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzifPhnA1/giytcg2Tgc62r1PoTpjsupOFZTR2r/MLtgo7sXZv5QEqCIVB+PYRX4Vn7ndoR X-Received: by 2002:a17:907:4066:: with SMTP id nl6mr7450229ejb.129.1590142481797; Fri, 22 May 2020 03:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590142481; cv=none; d=google.com; s=arc-20160816; b=Q+Ir94A6E3sZdeMGsR8vyYgpnvx+t3FEgaPxLI2H5UT2kioTknu5LWkbaVMATF8UC+ nvgfOxKLCb1H3F+iPmmI0QNgza1hSJenbql4j+WPU+XCa9CJdzlkWX7qROymFlsClmi2 1exwf7eC+blJrrjIFu17iNCWyXg+mOf7XkUjWKwHNAFgT9E4H1eL+kCqI8pyQPJY2B27 xCKTRiVVL9y3QRYldDdKL2HPl7nAnYhf4f+ToF05/8to6Y09eO0Hx1vJQrG1oc6XxPaB N30DWYcQycJnbZGpk4cpjgco1s75hu5NEoin83gxVWGzIlX3TYOfsicK2g+YyhhO0Wxs NCFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6VbmeS/yrB1shYHBD+b0ArTurRXYrmNDPa81/IwQ/tI=; b=E/IY4tEx8EOY/p0OjdHqreB4q94vFC09hImVvz6Y5mknCtHysncBGCDEF2rkdJx6o4 6ATYevPoevKrfqW7NR+1EfI/NLT4jTqYXHEyKSLB8ndEBoIQl6CP7Za9saMb9i6d3H/s Ol3RAWOP+uF05Nv4CA9m+fxIiLQymQzYBsDm8wxJrx8be1KfGspOJiUcIGIwI5ZSJXNW MfYz1W5KvP8cAl35qQfIJINPTdOFBJ7yM2VKMCeO9TosmASGjr+UDm5Xpex5xIKU5T1W vCAyhQAK7MWR84fitis0OpmmlRGGdLvOxmFgUOAUyfynkQqE5hDX3VQzNOgRxiujXcOh 5/DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=rORpKnmy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 93si4259531edg.247.2020.05.22.03.14.17; Fri, 22 May 2020 03:14:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=rORpKnmy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728512AbgEVKMe (ORCPT + 99 others); Fri, 22 May 2020 06:12:34 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:25166 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728281AbgEVKMd (ORCPT ); Fri, 22 May 2020 06:12:33 -0400 X-UUID: aa7538676fed4a19805128da08b1b442-20200522 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=6VbmeS/yrB1shYHBD+b0ArTurRXYrmNDPa81/IwQ/tI=; b=rORpKnmyumfflCfytKRhmTVJuOy37KS2lD8cDOBpUqY+wnPY2vyfA2ykKfT5mf2A+X1gqZnpTFpVToJy2FBBiKVq2Zo71jMj/70kcdFcwmol6zDWei2libtTVIoeHsKl3/oiu96t94bSBQVHcgHCQU2Xcm9n3I3Tzx7Ep5jP0lw=; X-UUID: aa7538676fed4a19805128da08b1b442-20200522 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1393466909; Fri, 22 May 2020 18:12:27 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33DR.mediatek.inc (172.27.6.106) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 22 May 2020 18:12:25 +0800 Received: from mszsdclx1018.gcn.mediatek.inc (10.16.6.18) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 22 May 2020 18:12:24 +0800 From: Jitao Shi To: Rob Herring , Mark Rutland , Matthias Brugger , Daniel Vetter , David Airlie , , CC: , , , , , , , , , , , Jitao Shi Subject: [PATCH] drm/mediatek: dsi: fix scrolling of panel with small hfp or hbp Date: Fri, 22 May 2020 18:12:25 +0800 Message-ID: <20200522101225.62571-1-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 9EFD99E22082E0674480556A643F1BD34B12751A45F5F49297FAC1342418AC822000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SWYgcGFuZWwgaGFzIHRvbyBzbWFsbCBoZnAgb3IgaGJwLCBob3Jpem9udGFsX2Zyb250cG9yY2hf Ynl0ZSBvcg0KaG9yaXpvbnRhbF9iYWNrcG9yY2hfYnl0ZSBtYXkgYmVjb21lIHZlcnkgc21hbGwg dmFsdWUgb3IgbmVnYXRpdmUNCnZhbHVlLiBUaGlzIHBhdGNoIGFkanVzdHMgdGhlaXIgdmFsdWVz IH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