From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0206C43381 for ; Mon, 18 Mar 2019 18:05:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7DBB820863 for ; Mon, 18 Mar 2019 18:05:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IK0eyq7/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7DBB820863 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sntech.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y30rhxI6lK/v+OIEyB1SyKTDWjayLUST4WzGELAm/aM=; b=IK0eyq7/yRIndW YVweamtp59XgFKSyZ33Z3hsdu8zUP4CB1FPdfl9c/W6mWygvoIdXibrS/SYmTvU9DDgkvgg88Jdv1 9Ry5RDQPMhKnOKcdGcavmnRBIw/gsPryOqP8a9d8VQ5nieH0M3enRC+OWSoctzZf5plg6zFOiAtqW RXmkG9u7OSsVhE8+kO6UD4unvBukM8N8JdV/1MPI3BrIxW6qCcAsmpmG04xjgGjPF9B6iQrvb/FCv Uh4bzV+25ajnoyKe9Ds6sqjx3vUfOJyJEVads38fzxeLPgQ5avJOZbnN0fPqYVUHqbnoAkzMcqrVv zPqO/bs9WhgWpakoZ2aQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5wdF-0000aM-8F; Mon, 18 Mar 2019 18:05:05 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5wd9-0000HM-SW; Mon, 18 Mar 2019 18:05:01 +0000 Received: from ip5f5a6320.dynamic.kabel-deutschland.de ([95.90.99.32] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1h5wcy-0001dE-6D; Mon, 18 Mar 2019 19:04:48 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Jonas Karlman Subject: Re: [PATCH] drm/rockchip: vop: reset scale mode when win is disabled Date: Mon, 18 Mar 2019 19:04:47 +0100 Message-ID: <3050762.S3h3RRttz1@diego> In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_110500_076118_C4156C04 X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Sandy Huang , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "linux-rockchip@lists.infradead.org" , Daniel Vetter , Ezequiel Garcia , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Jonas, Am Mittwoch, 20. Februar 2019, 23:40:06 CET schrieb Jonas Karlman: > NV12 framebuffers produced by the VPU shows distorted on RK3288 > after win has been disabled when scaling is active. > > This issue can be reproduced using a 1080p modeset by: > - Scale a 1280x720 NV12 framebuffer to 1920x1080 on win0 > - Disable win0 > - Display a 1920x1080 NV12 framebuffer without scaling on win0 > - Output will now show the framebuffer distorted > > And by: > - Scale a 1280x720 NV12 framebuffer to 1920x1080 > - Change to a 720p modeset (win gets disabled and scaling reset to none) > - Output will now show the framebuffer distorted > > Fix this by setting scale mode to none when win is disabled. > > Fixes: 4c156c21c794 ("drm/rockchip: vop: support plane scale") > Signed-off-by: Jonas Karlman applied to drm-misc-fixes - sorry it took so long to test and apply. Thanks Heiko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel