From patchwork Thu Jul 20 07:58:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13319973 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 15BF6EB64DA for ; Thu, 20 Jul 2023 07:58:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0407810E574; Thu, 20 Jul 2023 07:58:30 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 91E5C10E576 for ; Thu, 20 Jul 2023 07:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689839907; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=rBsqY2ARWfqTa1dHwVMnq2zequY3dOjM13Ekx3jcS5Y=; b=KzFMeiYnAOxBuNZyg/aStbNvm22kOYBzUv93Gh6jwCpdWNZpt7tvIwC7lDAcaDKUJOAXNg RLxIsP08qOsz274DzDEs7kB96Hd5vysOn60e1f2+jX/23fcaIDs2a92/+yGkCgzMBIvwdZ FH9nHmJvHsY4gBdw/BGffX4QnVarLeM= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-3-kJJoQwqJOVmtJn5NGahIkw-1; Thu, 20 Jul 2023 03:58:25 -0400 X-MC-Unique: kJJoQwqJOVmtJn5NGahIkw-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-3113da8b778so310529f8f.3 for ; Thu, 20 Jul 2023 00:58:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689839905; x=1690444705; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rBsqY2ARWfqTa1dHwVMnq2zequY3dOjM13Ekx3jcS5Y=; b=FKq8kqqkq/I+U0L5oV/zsRXk5HdmsOTPoYCUzAnCXASJI8DN3pEbZ8pX9UcGAzH62f IZkVwrZxRAL9+glRBmstS/IXgNrZt49HgqOVquck9gJy68bObGT+bGYKet/e9GoZTcX3 y6llnh1AD7vDhGgqACc6NHLsYp1H8YbnhNFtolPnZ5aozRtxdrP7wUlFNKW9fkfxbN60 C2RZEj2wIr5A6inkdJaaIxneVkjR1GQSxdNmJt2gCtaif3SgnibanF4sL1ZlmNGVEQao KA0RtPdMmw3QZRBSVI4Lq0OyCYFRf08K6OXmmkAt7Sr1hN8EJc+3PgWP2RoNa/yx77cU 3N9A== X-Gm-Message-State: ABy/qLbK9WRfnteyx8DdHooudDPyGz+bEPp93sHs20yUrEojjTXWtKQm XoRQItDPX+79ZJhi0c8W871tIC7+3ahDihUbxGTWDxmhHVWwVl4YlZkIJXcnz/LdLGEzx2VMpZe 2fR9HLrxMo61i7TR4OiwEui/ruXGd X-Received: by 2002:a5d:4902:0:b0:313:e6fa:fae4 with SMTP id x2-20020a5d4902000000b00313e6fafae4mr1581779wrq.38.1689839904699; Thu, 20 Jul 2023 00:58:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlFKY9K36OMmmTRHeqT/hY4MtBLJ5HwtGaAPFPVDaWTc0bd4nxmxiFwWmGRYfffQNx6RmOVACw== X-Received: by 2002:a5d:4902:0:b0:313:e6fa:fae4 with SMTP id x2-20020a5d4902000000b00313e6fafae4mr1581761wrq.38.1689839904400; Thu, 20 Jul 2023 00:58:24 -0700 (PDT) Received: from localhost ([2a01:e0a:b25:f902::ff]) by smtp.gmail.com with ESMTPSA id j16-20020adfea50000000b0031424f4ef1dsm534302wrn.19.2023.07.20.00.58.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jul 2023 00:58:23 -0700 (PDT) Date: Thu, 20 Jul 2023 09:58:23 +0200 From: Maxime Ripard To: Dave Airlie , Daniel Vetter Message-ID: MIME-Version: 1.0 Content-Disposition: inline Subject: [Intel-gfx] [PULL] drm-misc-fixes X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 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, dri-devel@lists.freedesktop.org, Maxime Ripard , Thomas Zimmermann , Rodrigo Vivi , intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi, Here's this week drm-misc-fixes PR Maxime drm-misc-fixes-2023-07-20: Memory leak fixes in drm/client, memory access/leak fixes for accel/qaic, another leak fix in dma-buf and three nouveau fixes around hotplugging. The following changes since commit 835a65f51790e1f72b1ab106ec89db9ac15b47d6: drm/nouveau: bring back blit subchannel for pre nv50 GPUs (2023-07-12 22:38:41 +0200) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-07-20 for you to fetch changes up to ea293f823a8805735d9e00124df81a8f448ed1ae: drm/nouveau/kms/nv50-: init hpd_irq_lock for PIOR DP (2023-07-19 11:08:47 +0200) ---------------------------------------------------------------- Memory leak fixes in drm/client, memory access/leak fixes for accel/qaic, another leak fix in dma-buf and three nouveau fixes around hotplugging. ---------------------------------------------------------------- Ben Skeggs (3): drm/nouveau/i2c: fix number of aux event slots drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts drm/nouveau/kms/nv50-: init hpd_irq_lock for PIOR DP Dan Carpenter (4): accel/qaic: tighten bounds checking in encode_message() accel/qaic: tighten bounds checking in decode_message() accel/qaic: Add consistent integer overflow checks accel/qaic: Fix a leak in map_user_pages() Jocelyn Falempe (2): drm/client: Fix memory leak in drm_client_target_cloned drm/client: Fix memory leak in drm_client_modeset_probe Ville Syrjälä (1): dma-buf/dma-resv: Stop leaking on krealloc() failure drivers/accel/qaic/qaic_control.c | 39 +++++++++++++++-------- drivers/dma-buf/dma-resv.c | 13 +++++--- drivers/gpu/drm/drm_client_modeset.c | 6 ++++ drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 +++ drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h | 4 +-- drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c | 27 ++++++++++------ drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c | 11 +++++-- 7 files changed, 73 insertions(+), 31 deletions(-)