Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1532068pxk; Tue, 1 Sep 2020 00:36:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbiLrKFGq+BYLGUSclqaUgICfxdI2IOqr9M0NTBk2Q+CykplVWBThgbNOZhml72Qmor/52 X-Received: by 2002:a50:c8ca:: with SMTP id k10mr583900edh.255.1598945808290; Tue, 01 Sep 2020 00:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598945808; cv=none; d=google.com; s=arc-20160816; b=VcUsoUtjlDkBJWoo2QQXGGqwtCTsF7wqaijjhzYY1ZDAZJPQF0ihEbYXbYdPxaspWc PhFCeePq4m214txwZ236LnDsrApz7vrg07Ev0/pmRAYjkGYUAQvkb7N2IyPDoefdMoM5 /9TJ65HLVy8BaW0PJjavvVAjPOO5wgChDyOCD+y1mc29LD5tCT8MkOyX8/H2g++Qm8pa 8WziJjofVhd31VDIa0sZKHeHlGSqkENMkE0n4eHQLCZ7s2DKFY7dTdVlLiKQXkAqm8PK AbGFboI/1UONX45mLKO8hrPl1qPNIl+HSFfYE2tSYFifWgJXJU4eJ98Rs7Ac0vhGOATd CCvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=uBet/qOZ4arKPd9HG45s6/yizvDfyghb5+cpF1ynNlk=; b=fY5wCRkC2Vf67Cv/d+r8l10GIGqxTqdGxTyiZN5MN8ywe1ymL6j6HGN/1vDqghN7X5 Ca96okoBlqhszLiAptnzBc4pGpPSDMpl3RrMLHNb6b7U/iCB3ZSXSwQQRVCpVb5Sr3Xp NnhD/MAbsOGpnOJxHwxDdpeRzFe7bqz3vZFD0FrzkP17At/Cgf2qhwr6KQpO6s2ViFIa p7hmlYfhV1uDH+aRotksSqgoSfz/YAIpD4Nc20sAmobetVkCTMrUUrn3cLSC00qz5Pc1 Zid5t6MDTWYFcpSAee4XKgUJMwgqenm9xSI4RkM/EMd2jbsc8ue3TMWt5nOlajUZyJoP k5/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=WvVYlLyu; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si229095ejd.578.2020.09.01.00.36.25; Tue, 01 Sep 2020 00:36:48 -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=@ffwll.ch header.s=google header.b=WvVYlLyu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726979AbgIAHej (ORCPT + 99 others); Tue, 1 Sep 2020 03:34:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726050AbgIAHeh (ORCPT ); Tue, 1 Sep 2020 03:34:37 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C748C061244 for ; Tue, 1 Sep 2020 00:34:37 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id f7so334348wrw.1 for ; Tue, 01 Sep 2020 00:34:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=uBet/qOZ4arKPd9HG45s6/yizvDfyghb5+cpF1ynNlk=; b=WvVYlLyur5enfsW0jQmGhW/33TGWeA+s81WiSCZtZGnTGInRKT4lauH7Tv1Ncl35e2 MBX5Tgg7qp8H8HcEG0u+P7InO1kW6IesVw7yOSV3w6hoG7v7YNwh+0elQjnUhzR8dPSM ehQdEWDPud2Aj7A0/V0iRfznqpu4qvj7PURgg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=uBet/qOZ4arKPd9HG45s6/yizvDfyghb5+cpF1ynNlk=; b=c2wPLtQYQ266q35e8umQOtjhrKrTL54Ax2Zesq3e/xG+mi+wxdVkv3P2Zc+rNp/eap 3mM42UCN8qM6AU7stfOhmnd1CPIQMuFKmp9ZdUGoX6cbjCATFYrcDowWndMjeCqeQ1bS k8hb57JZVfPnildlofIkza05xg6YcF/2WkMbYTORJxy/h1WQFFbbTZl0Y3shwKAzQphp /Fwz7uirJMII14YtLnt/WcqUm9mIUR4YUrGC9pVgkBAdnjagzBGtTljH/s5tkvc/c/O5 ewEadu/KXlQK4IDAla52kye+gh6LKOVbPTlK1aNDND8+NX/32nb9l4ckYs3biWG+3i0x i9CQ== X-Gm-Message-State: AOAM5328mIsWgZRSv4QjogAjXkKUYVZH+WyKhRe/7+a/hqe0Nsh1PDbp Qpywoi9j5ozHGaPGwnIxZeX4sk0ygvqxwRQf X-Received: by 2002:adf:e2c7:: with SMTP id d7mr408449wrj.110.1598945675900; Tue, 01 Sep 2020 00:34:35 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id 2sm831925wrs.64.2020.09.01.00.34.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2020 00:34:35 -0700 (PDT) Date: Tue, 1 Sep 2020 09:34:33 +0200 From: Daniel Vetter To: Gerd Hoffmann Cc: Jiri Slaby , David Airlie , 1882851@bugs.launchpad.net, open list , dri-devel@lists.freedesktop.org, "open list:VIRTIO GPU DRIVER" Subject: Re: [PATCH 1/2] drm/virtio: fix unblank Message-ID: <20200901073433.GS2352366@phenom.ffwll.local> Mail-Followup-To: Gerd Hoffmann , Jiri Slaby , David Airlie , 1882851@bugs.launchpad.net, open list , dri-devel@lists.freedesktop.org, "open list:VIRTIO GPU DRIVER" References: <20200818072511.6745-1-kraxel@redhat.com> <20200818072511.6745-2-kraxel@redhat.com> <88ae71c2-c3ed-e0e4-e62c-bdf9d6534f2a@kernel.org> <20200828112759.rmeeh5bonrewiqte@sirius.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200828112759.rmeeh5bonrewiqte@sirius.home.kraxel.org> X-Operating-System: Linux phenom 5.7.0-1-amd64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 28, 2020 at 01:27:59PM +0200, Gerd Hoffmann wrote: > On Mon, Aug 24, 2020 at 09:24:40AM +0200, Jiri Slaby wrote: > > On 18. 08. 20, 9:25, Gerd Hoffmann wrote: > > > When going through a disable/enable cycle without changing the > > > framebuffer the optimization added by commit 3954ff10e06e ("drm/virtio: > > > skip set_scanout if framebuffer didn't change") causes the screen stay > > > blank. Add a bool to force an update to fix that. > > > > > > v2: use drm_atomic_crtc_needs_modeset() (Daniel). > > > > > > Cc: 1882851@bugs.launchpad.net > > > Fixes: 3954ff10e06e ("drm/virtio: skip set_scanout if framebuffer didn't change") > > > Signed-off-by: Gerd Hoffmann > > > > Tested-by: Jiri Slaby > > Ping. Need an ack or an review to merge this. In case you still need that, on both patches: Acked-by: Daniel Vetter > > thanks, > Gerd > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch