Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp297144ybg; Wed, 3 Jun 2020 00:45:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5nrcAnKQsR7OfF+O/TKYhUetMrJxDGB10qh4Bg2uNjk8q/WwY7156pMmYWJB/MRr6n8cN X-Received: by 2002:a17:906:704c:: with SMTP id r12mr26058038ejj.308.1591170342117; Wed, 03 Jun 2020 00:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591170342; cv=none; d=google.com; s=arc-20160816; b=phm6XA7Dhvb90FmlF8ZIGNAA/P26YvrerXkXxnw4LdsOK6Gxo9o5HCSLluH0YeBJ9R 6DiQHYhLeM2M8SB9sX229FG3htHThH09qc+OPGW+mwwB9/YhxFQWxPwdu5xmLjVtHpsJ 0VYs/O2CGL7Ipsvcps/RmcOxT0jLAFjujldklRTNmWkAxPjF5z/OhGuBleLFxT7EiSLS XsYPsAAX7JN3Hi9g5ZNbG1nmX7bweSqgjrMso9zgfxOTcB+1CFVxrV535OwMhUNEXKzf aDpZI3Ep7ktQ2nqdKqEu4hzKGlTp4B2a+6gT7/PHcUT6w0gNUjnXAmPEsIYX+IPp6WmJ BvWA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=vY4y0JhXv/D29rjsVD+kS4QfopuULHMmvhUHPgT7K/Y=; b=rCCpaqK9fjQHwQBYhVWPk46Wr429POvFOfBAw5omgv2tPLKngvBDzzS7UiXMclSe9r p0qGS3PZcPBSBnYMvmB716CZtO4lp6VpnvcWA/hj3+FZMUakruVFCnIZ5Z8as1UUpWFY mGz6bkEoWnXtopb+ACJFzsj9d86w0qQhH3bMp8wyF1dZd0qPhdz6BNX+ppnwfBMIoVoS puAK3mQl40QxtOoi45Qeg/DnrjM71lsZDKCTr35LquBLpXbrqDRhtlBNuyoAaVsDT7dA HeGmj+7Lx4Biyfhjx86WgWivRtm53yQ5zuT0vDv8YST6uEH1OBZlTpsMQB579NyZTJ7r X3yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=ctkqnrn9; 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 g15si742060ejo.321.2020.06.03.00.45.19; Wed, 03 Jun 2020 00:45:42 -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=ctkqnrn9; 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 S1726011AbgFCHnY (ORCPT + 99 others); Wed, 3 Jun 2020 03:43:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725275AbgFCHnX (ORCPT ); Wed, 3 Jun 2020 03:43:23 -0400 Received: from mail-oi1-x241.google.com (mail-oi1-x241.google.com [IPv6:2607:f8b0:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85BF3C05BD43 for ; Wed, 3 Jun 2020 00:43:23 -0700 (PDT) Received: by mail-oi1-x241.google.com with SMTP id x202so973884oix.11 for ; Wed, 03 Jun 2020 00:43:23 -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:content-transfer-encoding; bh=vY4y0JhXv/D29rjsVD+kS4QfopuULHMmvhUHPgT7K/Y=; b=ctkqnrn9huKuehDcyS1rw+N1T+nGQivzy3aseSSjf3Q/z44MJenzC9MdrLVrtPMI3L vtt+M7DcGGUIk6YuhV9NYsQ4FE9UkoDgUYvN1jEgxrDqW55kj70makupwI3s5LGhDbDM IHUD++GPvKUGLvbVb7pNoyvRQLJpNm3Sj2bpE= 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:content-transfer-encoding; bh=vY4y0JhXv/D29rjsVD+kS4QfopuULHMmvhUHPgT7K/Y=; b=dGirSNf37H6y2KMoYlkdQvU3dDtWC1pNfKGN/BL4p697m3HJzN3y/vSbyqvoodakBU Zdm9Tx7NanV/CkcEgOGjexnOapRejnpHeD2FZ+O2OquFmXX+yV/SjPn0WJjkX1nWLqT0 LW1vq9BvgmLXxQRkxU0delou8XKj9OjVoYzJwsTe+yVfxpNZuDrYhIZ5EF12/jjfCzs3 vgB3tdhrtlZiN2bVjyuqSTaoa1GiM4ONmIYB8MaKIJfLR0/neWE4B2PpaEwYx65ZqNTt BHZQvhA2C1Buwoq5l2XJ39CtU81IheFbAav+qrUlWO5OLhP/tHqVZyuBeMBRECy8iVCO ikxw== X-Gm-Message-State: AOAM531WY20fLqal5dsCq6PkbpnuX9IzqefCRf9TKrpUnPTnYLsIc/UU /xQ3XxkDXcMXiEcRp1D8pEUNujuv6n9mOQ5eftdMrwRQ X-Received: by 2002:aca:4b91:: with SMTP id y139mr5374242oia.128.1591170202838; Wed, 03 Jun 2020 00:43:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Daniel Vetter Date: Wed, 3 Jun 2020 09:43:11 +0200 Message-ID: Subject: Re: [git pull] drm for 5.8-rc1 To: Thomas Zimmermann Cc: Linus Torvalds , Dave Airlie , Tomi Valkeinen , Laurent Pinchart , Jyri Sarha , LKML , dri-devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 3, 2020 at 9:18 AM Thomas Zimmermann wrot= e: > > Hi > > Am 02.06.20 um 23:56 schrieb Linus Torvalds: > > On Tue, Jun 2, 2020 at 2:21 PM Linus Torvalds > > wrote: > >> > >> I'm still working through the rest of the merge, so far that was the > >> only one that made me go "Whaa?". > > > > Hmm. I'm also ending up effectively reverting the drm commit > > b28ad7deb2f2 ("drm/tidss: Use simple encoder") because commit > > 9da67433f64e ("drm/tidss: fix crash related to accessing freed > > memory") made the premise of that simply encoder commit no longer be > > true. > > That's OK. The simple encoder is just for consolidating these > almost-empty encoders at a single place. > > > If there is a better way to sort that out (ie something like "use > > simple encoder but make it free things at destroy time"), I don't know > > of it. > > There's now drmm_kmalloc() to auto-free the memory when DRM releases a > device. Yeah I think we discussed that tidss patch on dri-devel when it showed up, right fix is to essentially undo it, replace with a s/devm_kzalloc/drmm_kmalloc/ and then re-apply the simple encoder conversion. We had (and I think still have) some details to sort out in all this, so some back&forth is entirely expected here. Also it's just driver unload, which at least for integrated gpu no user ever cares about, only developers. -Daniel > > Best regards > Thomas > > > > > I'll let you guys fight it out (added people involved with those > > commits to the participants, > > > > Linus > > _______________________________________________ > > dri-devel mailing list > > dri-devel@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/dri-devel > > > > -- > Thomas Zimmermann > Graphics Driver Developer > SUSE Software Solutions Germany GmbH > Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany > (HRB 36809, AG N=C3=BCrnberg) > Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6rffer > --=20 Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch