Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4774055yba; Mon, 20 May 2019 03:36:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwy+by40IkKN2L3EDsc+K09wYYDmadqYf64da5Cxi+6UXCjmYyrGPVanqe7Y4BWP6u5UzUe X-Received: by 2002:a63:5659:: with SMTP id g25mr75429015pgm.59.1558348582874; Mon, 20 May 2019 03:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558348582; cv=none; d=google.com; s=arc-20160816; b=AEVrfp9uFDB2VFIQBd6XUlknf7qhaeG8lWyPi1+d7fqH2DSiNZY/kbJ7Ga2d6N0k04 sysVGTGEOJ77J2f98Ch0HI+CQfIetu+dk7uRRxhxnzpmCyAv3N7hkEXdV4mNofTQ6a4R 8B/KgiILcV1BUQA8ieN5X6eS2VDC3GNEFOFwEPMiYjmTShn9Pp99KqMoUGIcI6d+4Lbw WOJ8E2Kv/4bpYFEh7hY4O58XoJoRP46senCPy7dQA1faRgei4fPNmJaSruTRbb3c8JoZ 3TubSl588ZngcspnRcGJLwWdKUS420HIXzuxv/7TSzzjnBgCDS6jl3PBwevi4+52/kdc S/7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=26qzizuvow48Xzf0mvcO4dXWRF3h0YYiGVUKw+vGork=; b=r6GofrbDabBiRRJz1ELZahrkN/PN2zxlFNFXipV0i4EJVGHWXPeEJdH8Ph6avX6gvj Ghg6eldN3QLHbuZcdnZwygA/Rgt4+K4kCDkqiy/vXnkDSuy8M8dP2n3As3NKN2zKt3hy /73tiuCNW4HN0TptQSWisr0BvcCQiazHigOI2F6OdUXgRZrzSE7PdOWXyFErz2cgZrmY K2EmrcAyBLqZC1IyNE1AtsSFpt3Hn6fcvJ7Gb50QbvDcub78Zb5yFhOSPi8kaNakSfIo 2w7ByUSVglnVqpEr40EOnQrrI9nc1LBbRnKjIo62bnle8Cx747d7lCBnFvKHIOkXrsaE +utw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=XhAgVCfp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m24si16910143pgj.127.2019.05.20.03.36.03; Mon, 20 May 2019 03:36:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=XhAgVCfp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732015AbfETJTw (ORCPT + 99 others); Mon, 20 May 2019 05:19:52 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:47072 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729598AbfETJTw (ORCPT ); Mon, 20 May 2019 05:19:52 -0400 Received: by mail-oi1-f193.google.com with SMTP id 203so9416739oid.13 for ; Mon, 20 May 2019 02:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=26qzizuvow48Xzf0mvcO4dXWRF3h0YYiGVUKw+vGork=; b=XhAgVCfpg+LZqqWAlefw8B8o6jjpLKy77SAcw6yz9yOGQoo6GMWeQXdEEuC6mdzOpL JzhAeLd9MeT3gv7/FzSuX3V+WAgIt9F4AP4WlebIP2ILHibj5k0J+t7YNwSdmo3vDK1X 2bytoUhFRNUaRJVhvusj7XOgXC5DsVMB0h2tw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=26qzizuvow48Xzf0mvcO4dXWRF3h0YYiGVUKw+vGork=; b=RA+ICm4WAxTOfLnXHKXLig8qajuVYzQauhgGoI2j6G3o+JSKl3OXQmzaAryKHJCl4O Ov7qzBCeAwAVz9OJTrrb8PMaC0jLW6FTdDfWbaAcma5OvhO71s1p2IxUzOim59FnYvr5 Ec4XjpJkjc2hUXMWYmtTGQ7QCs2My1XqaLEkJ+eXbLfDh9fipOMUH7Vpj6bCdFbIvvfW TC+4txuqD09LWGb5JuLJEMqXsdmblg2UexCObr/aUtXSJ2ohNkrLP1IhJblob02ATwSz 6exYGFNHZe5uo6DQGQgGT/tOaWaIGtql6J720wT5mbxUHYTyJgRccPVXBs5suFlkWoSf n0AA== X-Gm-Message-State: APjAAAX8fPMLVJxJCJOyBlC7dH9QpyUOiU3IzZGYEKyuTIS7K69RDDKi AWdrausPLWy0Z1ABo0txY80vgXEeQCYbyOBmDhe+zA== X-Received: by 2002:aca:31cf:: with SMTP id x198mr2881468oix.132.1558343991215; Mon, 20 May 2019 02:19:51 -0700 (PDT) MIME-Version: 1.0 References: <20190520082216.26273-1-daniel.vetter@ffwll.ch> <20190520082216.26273-21-daniel.vetter@ffwll.ch> In-Reply-To: From: Daniel Vetter Date: Mon, 20 May 2019 11:19:39 +0200 Message-ID: Subject: Re: [PATCH 20/33] fbdev/sh_mob: Remove fb notifier callback To: Geert Uytterhoeven Cc: DRI Development , Intel Graphics Development , LKML , Daniel Vetter , Bartlomiej Zolnierkiewicz , Markus Elfring , Geert Uytterhoeven , Wolfram Sang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 20, 2019 at 11:06 AM Geert Uytterhoeven wrote: > > On Mon, May 20, 2019 at 10:22 AM Daniel Vetter wrote: > > This seems to be entirely defunct: > > > > - The FB_EVEN_SUSPEND/RESUME events are only sent out by > > fb_set_suspend. Which is supposed to be called by drivers in their > > suspend/resume hooks, and not itself call into drivers. Luckily > > sh_mob doesn't call fb_set_suspend, so this seems to do nothing > > useful. > > > > - The notify hook calls sh_mobile_fb_reconfig() which in turn can > > call into the fb notifier. Or attempt too, since that would > > deadlock. > > > > So looks like leftover hacks from when this was originally introduced > > in > > > > commit 6011bdeaa6089d49c02de69f05980da7bad314ab > > Author: Guennadi Liakhovetski > > Date: Wed Jul 21 10:13:21 2010 +0000 > > > > fbdev: sh-mobile: HDMI support for SH-Mobile SoCs > > > > So let's just remove it. > > > > Signed-off-by: Daniel Vetter > > Reviewed-by: Geert Uytterhoeven > > Display still works fine on Armadillo800-EVA, before and after system > suspend/resume, so: > > Tested-by: Geert Uytterhoeven I'm impressed, I honestly think I do not fully understand what the shmob driver is doing here, so thank you very much for giving this a spin! Cheers, Daniel > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch