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: 11005079 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 A367D14B6 for ; Wed, 19 Jun 2019 19:27:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9074F285C4 for ; Wed, 19 Jun 2019 19:27:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83D17286C8; Wed, 19 Jun 2019 19:27:51 +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=unavailable 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 4F2EA20564 for ; Wed, 19 Jun 2019 19:27:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 337A36E45C; Wed, 19 Jun 2019 19:27:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) by gabe.freedesktop.org (Postfix) with ESMTPS id 92E166E457 for ; Wed, 19 Jun 2019 19:27:47 +0000 (UTC) Received: by mail-qt1-x843.google.com with SMTP id a15so401412qtn.7 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=O2/sYUctHt8dIacyjWLhyC5FgEH0Xycsr5lgFLMz6UqA7NFubfp+ZhnqIP9IscKdjf RM5pZZoh6bh2sIygm2Vm9e3rfWdOMANdqXT+yrBiCie3P3akgp49l5tTD0mcX0x5XL8y lzy99Zd7bPiTJIayymF0lGGG7RcuHYJ8WGd7Elus5I5QcAAacMSXEsJE4zGOmxuFTsKw ZdFOhTRds6saUYeonAABpznmaN26OtApqqnM0VIR2rVVR3T9QOXXViVNAtAk893p9cIP Gu/Suz3oVgJTBORfpBuU1zBtG9p6ceAdykEJnRtAFUf3X4Sl4cL4qeIaQ7HZbx+5BYjf lQ1g== X-Gm-Message-State: APjAAAUdhnxPIodZQNwj/rSOqcfMUKFuTv74/aNmYT/sdSS07wEhJzaz QAlF9Qrmcz5ep8fR1D4aaDv0aA== 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 Subject: [PULL] drm-misc-fixes 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== 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, Maxime Ripard , intel-gfx@lists.freedesktop.org, Boris Brezillon , dri-devel@lists.freedesktop.org, Rodrigo Vivi , Sean Paul , Dan Carpenter Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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(-)