From patchwork Wed Jun 19 19:27:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 11005077 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DDFA214B6 for ; Wed, 19 Jun 2019 19:27:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA1011FF2D for ; Wed, 19 Jun 2019 19:27:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BDC13286F1; Wed, 19 Jun 2019 19:27:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 568111FF2D for ; Wed, 19 Jun 2019 19:27:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9BD816E459; Wed, 19 Jun 2019 19:27:48 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9443E6E45B for ; Wed, 19 Jun 2019 19:27:47 +0000 (UTC) Received: by mail-qt1-x844.google.com with SMTP id h21so354274qtn.13 for ; Wed, 19 Jun 2019 12:27:47 -0700 (PDT) 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=VbHxdpO7Q2+DXgJDf4+Ks/YOti0Ci+NtrdzX5AEvrRk=; b=RdwcQVKTsVRgbOqUGl0s6UMuAdUy9XKtD/2Df7JpyiLoPfST1LokiVprxAOW6Rh1IH FzkpvSMm797kmhevywgYY02oXQxclLyQPVXKaPa59j2a+1yDZOD3jO871gCf1voOarCv pVOp9+M0Ox2qDg03NrscDPH+iW0RyiX5ml3441fvmFHcet2AfEqOpAO+ZozIS5t1KXyr hGb2rIAaUwbzE1WQ+Ex6E9m9wVEGNCdwndULUn9Z3+pO41+2ArXp5ofzv1LKuNa8g5T2 gw6UvoDeqNa0LtAM7uCfZUHs3d9OBJDYWYeT9ZV+XC9ZVUs8hhwBaclL3YKf5qdHJtVt +KkQ== X-Gm-Message-State: APjAAAUxBdrmzWPE5XQ3zfmcixLVxCEmJzV1duPjIVz8z1z1l/rqfLgq S77BN0/T7yGgmjx4T9Gjnsxo5w== X-Google-Smtp-Source: APXvYqzxlR8S4IeyW9wtKYragnwYUBbUHU+6TEVShKU/NPOqaizYfIrRsJmOS+94BtC4eVBTr/bGxQ== X-Received: by 2002:ac8:1978:: with SMTP id g53mr18415709qtk.3.1560972466705; Wed, 19 Jun 2019 12:27:46 -0700 (PDT) Received: from localhost ([2620:0:1013:11:89c6:2139:5435:371d]) by smtp.gmail.com with ESMTPSA id p37sm12023430qtc.35.2019.06.19.12.27.46 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 19 Jun 2019 12:27:46 -0700 (PDT) Date: Wed, 19 Jun 2019 15:27:45 -0400 From: Sean Paul To: Dave Airlie , Daniel Vetter Message-ID: <20190619192745.GA145841@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=VbHxdpO7Q2+DXgJDf4+Ks/YOti0Ci+NtrdzX5AEvrRk=; b=O4zy4PcjlXR+Htqe1RlNSKJZqO+2RF5hnBUN/THcnHW7n8qk4GX+xXvyLshfrZHp1Z yQsO6ph0Ri4AFIN2aLPB0kDXCqlI/Nb/0Xy8lyl5uOaU+lJ2u4z1NL0BpOrd6KUEIMHQ t4nGptd4o+AgcwltLzVFL3Q7mJ8r7PKqINvUUJkUD0loQSOOHd79lqvvjzzwqnFWiwSk LAK8gwBKgN8b2amj8dMoZ9dlQl9mcwTvxZ9en5utADdGGO3eH7Avl7F1YVu1LLCZQIti TmbsLWti3xu1KaYv/GBZtNPj1B9utPJfs+yXM8UGbLVgN8muloQOaXMN4IOquVIvWw7o wqqg== Subject: [Intel-gfx] [PULL] drm-misc-fixes X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dim-tools@lists.freedesktop.org, Maxime Ripard , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Dan Carpenter Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Hey team, 2 fixes this week, the 5.2 trickle continues. drm-misc-fixes-2019-06-19: panfrost- Only unmap BO's if they're mapped (Boris) core- Handle buffer desc copy_to_user failure properly (Dan) Cc: Boris Brezillon Cc: Dan Carpenter Cheers, Sean The following changes since commit 48eaeb7664c76139438724d520a1ea4a84a3ed92: drm: add fallback override/firmware EDID modes workaround (2019-06-12 13:26:25 +0300) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2019-06-19 for you to fetch changes up to 74b67efa8d7b4f90137f0ab9a80dd319da050350: drm: return -EFAULT if copy_to_user() fails (2019-06-18 13:08:48 -0400) ---------------------------------------------------------------- panfrost- Only unmap BO's if they're mapped (Boris) core- Handle buffer desc copy_to_user failure properly (Dan) Cc: Boris Brezillon Cc: Dan Carpenter ---------------------------------------------------------------- Boris Brezillon (1): drm/panfrost: Make sure a BO is only unmapped when appropriate Dan Carpenter (1): drm: return -EFAULT if copy_to_user() fails drivers/gpu/drm/drm_bufs.c | 5 ++++- drivers/gpu/drm/drm_ioc32.c | 5 ++++- drivers/gpu/drm/panfrost/panfrost_gem.c | 3 ++- drivers/gpu/drm/panfrost/panfrost_gem.h | 1 + drivers/gpu/drm/panfrost/panfrost_mmu.c | 8 ++++++++ 5 files changed, 19 insertions(+), 3 deletions(-)