Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2288552pxa; Mon, 17 Aug 2020 06:11:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3921AXu8hEpM5LEjzkNUGVophjYRfH8JmIdS8M/T7BuSIKnbM+KMTGIrtik1uv/IcvKNQ X-Received: by 2002:a50:f311:: with SMTP id p17mr15426332edm.37.1597669886725; Mon, 17 Aug 2020 06:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597669886; cv=none; d=google.com; s=arc-20160816; b=WRYjKsEtz+7UoybL/svRiOqUzDWiXfdBrVfTZMsAVbgQNwwrRRhz9YWe/Hx5xY6noo +WPzPac19U7Aw+xGGAIgkA/zTKWdvWymJA5n0OXT3d4lE/urBs9Ka988od+czwJqorAr pPqCkywrzm0A4bdt8NsD56/V1mdWitnxob6qXEI/XMc1zeSUpCRB0kKF091wrTVHPnlb fIGZPwbXJ/xAmrJ09ZkcmcaOn0pmJ86j0Kv2kRP7Df5tTPlsNh3THY9UPNDtxIQeBB9P xzc57RhilW+oIWS7dJHH0zCZbCJ+Fw5gn1bR66zmjSeXDNlEWSb59KhKWdAXih5r6iWH 2bmQ== 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=Kc2wbQ5/5ctPeZ+MBcGEqqORVXhdRTfyC3iZHOQDq5c=; b=mW/5IWCEa8m+X7x3aSRShzL5e1X/Q/wE+3fwgVJ6jld/Jb0aZu4RtySRUNUNlSjm+O Oo3l7FBQfXmkSolSiH8EGUbVWV+W6Ie/VEp7T4uVRmYL2yTfGIBlkgZXrLxkAULVq3ht BRb8IkMF25Frbc1JbqWfsoBTu7laz66tTtt5Ng4zX6AKRUxRG1JsfCw7DYCJCOcJwXub sa3H8YwRQYUZf5icnJVXaZjTt7hnRULZYswzMaxPGMJLL8Ot1+1xGFcz++D+cs9I/Lx9 198X2OP5vW9nA0+LYapHl8gAjnsx/WqadHII/+jMt0gcXGOi4Nuc5ofCT9Ze4R8wSDon LrIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ja8TmubB; 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 bz27si11167745ejc.415.2020.08.17.06.11.02; Mon, 17 Aug 2020 06:11:26 -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=ja8TmubB; 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 S1728573AbgHQNHj (ORCPT + 99 others); Mon, 17 Aug 2020 09:07:39 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:9462 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728537AbgHQNHH (ORCPT ); Mon, 17 Aug 2020 09:07:07 -0400 X-UUID: cc3a7c998d4e41beb86266ca4ca0c93f-20200817 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=Kc2wbQ5/5ctPeZ+MBcGEqqORVXhdRTfyC3iZHOQDq5c=; b=ja8TmubBv78/qB7FOeuvo3C9/tBdX+EV2uq7cuJQ58QN9JBAue9/G6c44JFV5RF0z6Ido+6i4SoKC0/GiDsGql08SsZ39U+1kAL58NXVp+9yt8NXU5RT+/bfXvHePAEhlR8NQ5Rq6UWPYlSMRiuNE2FD601f//1hTUIjCXEEkLU=; X-UUID: cc3a7c998d4e41beb86266ca4ca0c93f-20200817 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1227788580; Mon, 17 Aug 2020 21:06:38 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N1.mediatek.inc (172.27.4.75) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 17 Aug 2020 21:06:36 +0800 Received: from mszsdaap41.gcn.mediatek.inc (10.16.6.141) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 17 Aug 2020 21:06:35 +0800 From: Jitao Shi To: Rob Herring , Mark Rutland , Matthias Brugger , Daniel Vetter , David Airlie , , CC: , , , , , , , , , , , Jitao Shi Subject: [PATCH v2] drm/mediatek: dsi: fix scrolling of panel with small hfp or hbp Date: Mon, 17 Aug 2020 21:06:40 +0800 Message-ID: <20200817130640.18021-1-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.12.5 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 4BE646BE1621BC9DA9C810CAA548159897D201F4DC13F4A0D86FCF88B04C65B62000: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 aG9yaXpvbnRhbF9iYWNrcG9yY2hfYnl0ZSBzaG91bGQgYmUgaGJwICogYnBwIC0gaGJwIGV4dHJh IGJ5dGVzLg0KU28gcmVtb3ZlIHRoZSB3cm9uZyBzdWJ0cmFjdGlvbiAxMC4NCg0KU2lnbmVkLW9m Zi1ieTogSml0YW8gU2h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