From patchwork Wed Nov 20 20:49:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 11254777 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6361C14DB for ; Wed, 20 Nov 2019 20:50:10 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 4B22520855 for ; Wed, 20 Nov 2019 20:50:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B22520855 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=poorly.run Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5813C6E7C6; Wed, 20 Nov 2019 20:50:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw1-xc41.google.com (mail-yw1-xc41.google.com [IPv6:2607:f8b0:4864:20::c41]) by gabe.freedesktop.org (Postfix) with ESMTPS id E6F196E7D3 for ; Wed, 20 Nov 2019 20:49:47 +0000 (UTC) Received: by mail-yw1-xc41.google.com with SMTP id q140so506911ywg.0 for ; Wed, 20 Nov 2019 12:49:47 -0800 (PST) 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:mime-version :content-disposition:user-agent; bh=WNeLavihiY35/Bti+M2/ppnGXPlLgOgcLTijhR7e7j4=; b=chlgImUZA1TZ3n2/ADf7U6AtAG7rcLoSrEU8B/QLZz4ueFb8d/+C8hc8EZLmcRkCNx cXnoxTi1IB7Hu3ElX/tDtGk3OUZnT3zO/YFqXQTRAQSfXQfM5yjIEe3otQOvwKEBZTpO LrOELlp7nE5nmCCpTk2uW9iMTr0uA5UpJQG0AcSHJpOm5kEta1M51448vWFHtTW/cD9R pejFUDg38kXHFCkBlZq5YXhzd0PPibo62NfmLFw4qRyTwER+r6oBzTtrUZ5+J08jLNA/ 3OvjE/KN45zMwRMMi1s+33HgcVhS5B4Emx/HBhCcSPelaH1QHYFrKaQa5WrQLy8HlH5V l/1w== X-Gm-Message-State: APjAAAUiQoVDNUfe+BTgpS0GAvVtkygSdJ2oMB7z8attnp0ZyCuDqrnH b6lDp4ncDRV7hAUTEZjSey1Lo7NfQ3o= X-Google-Smtp-Source: APXvYqxJULa4u9zVjW13ZdKYjGU/GhRFefUGq/5gFIO5deiHXNLTrJDR3ETezg+m+f+K/yhG7xUWIw== X-Received: by 2002:a81:3dd5:: with SMTP id k204mr3135454ywa.454.1574282987098; Wed, 20 Nov 2019 12:49:47 -0800 (PST) Received: from localhost ([2620:0:1013:11:89c6:2139:5435:371d]) by smtp.gmail.com with ESMTPSA id 197sm264538ywf.42.2019.11.20.12.49.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2019 12:49:46 -0800 (PST) Date: Wed, 20 Nov 2019 15:49:46 -0500 From: Sean Paul To: Dave Airlie , Daniel Vetter Subject: [PULL] drm-misc-next-fixes Message-ID: <20191120204946.GA120328@art_vandelay> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poorly.run; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=WNeLavihiY35/Bti+M2/ppnGXPlLgOgcLTijhR7e7j4=; b=R/+NiXNhs2jyeuM/anmN8G+Fs9BhzkwBj95eNQiMM5w+jadzDNWWUlFjGEQJfomVkw WS/fVR95eryT64qjLHJ1KEz0JPjOGbxYEZ0feAy7xmxNYkR8uilfPsDVHjMlQTbyKs0x DjGUjcbXDsgPJ+1HCvFQkEllBPb4AXtSJzZpC6QTvnI2Yt0imy9IzYtsRZpFQ45C5pEA QdoEPD7HJIrCL8tYwxZIbRI/nPoDBtnuiSqlKn7VR5MXlCx4Tc6DIgwEeUt8ltwh/REF 23Vatzce9F0jww+UomVJ4VXderGpgoKdc5NtIslfDcPcf4MejPPPmjG4xk4PxzwaXb34 VfgQ== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dim-tools@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Rodrigo Vivi , Sean Paul , intel-gfx@lists.freedesktop.org, Gerd Hoffmann Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Dave & Daniel, Just one patch this week which fixes the bo refcounts when mmap'ing ttm buffers using the new ->mmap() hook. drm-misc-next-fixes-2019-11-20: - Fix ttm bo refcnt when using the new gem obj mmap hook (Thomas) Cc: Gerd Hoffmann Cheers, Sean The following changes since commit a64fc11b9a520c55ca34d82e5ca32274f49b6b15: drm/msm: fix memleak on release (2019-11-13 15:34:15 -0500) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2019-11-20 for you to fetch changes up to 9786b65bc61acec63f923978c75e707afbb74bc7: drm/ttm: fix mmap refcounting (2019-11-15 08:00:08 +0100) ---------------------------------------------------------------- - Fix ttm bo refcnt when using the new gem obj mmap hook (Thomas) Cc: Gerd Hoffmann ---------------------------------------------------------------- Gerd Hoffmann (1): drm/ttm: fix mmap refcounting drivers/gpu/drm/drm_gem.c | 24 ++++++++++++++---------- drivers/gpu/drm/drm_gem_ttm_helper.c | 13 ++++++++++++- 2 files changed, 26 insertions(+), 11 deletions(-)