From patchwork Mon Oct 24 22:34:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 618206 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E099C38A2D for ; Tue, 25 Oct 2022 00:15:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229967AbiJYAPh (ORCPT ); Mon, 24 Oct 2022 20:15:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230026AbiJYAPW (ORCPT ); Mon, 24 Oct 2022 20:15:22 -0400 Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BF7D2C4CBB for ; Mon, 24 Oct 2022 15:34:08 -0700 (PDT) Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-1322d768ba7so13554742fac.5 for ; Mon, 24 Oct 2022 15:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=WEZlKPYChGQr1+VGAAt6W/HLpia5/ZeW0QQ5/N5bwR0=; b=dW6LySjisQk//shmQcl7lUzXTj1nVF9WlPTS7i6LkISArKQSeQKwK18PPNx2JEsCfV +0yr+7G+kJTwA1c8lqdkn4biKDpZWTsH1+8WQw4HrV71awfl0H+O070JALvJGK0v2xh2 dCOii3AQ2ysH6VDzv5WUnka79Lz1loNtqyUj+J2wms+7sNnFHH+mZBibFQM2+hSzWgpa /ACraTdetdXfCX69CNC908LLgqrfob60Ont5WC197a0DL06uO2xU8sHdqYnbs6BVs4Ci +puZO9qBYGB3JwSHjLMWyrjX52p3H7U5Z88ICz0d5HEeHWpPLTT6qvgCWcV3yiKn882z 5M3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WEZlKPYChGQr1+VGAAt6W/HLpia5/ZeW0QQ5/N5bwR0=; b=afqswji+S5B+GCHjZoUkZuYBRajBROQFu6MbozAW/hfjEr2l2irqQKxYOO9dw0XpYh 5wa5WH2xV7IrhZpT3AF2/thkB8S29vvOgfzPpTBXEOuR9MIaGbimyd3A06qknbUML3yQ RlD3LMe+wtbUqF4YIzSDHgeCqQefYTUKeMSdwDQCwAm/DkaESWcQP1PUWFSUF+vQ8QuT igVJMXLZ4RyuibIKkqFeUcqLJrhprWC3xXm/tfsUHx8XT9dokPuRJHVUZHjrdgC9/zpq TICFwRxTREORQnMZ0GS3UkeeSbmrrEsBtPaGeLIyOhc9JLD/sK1eqKlBp8i+99aPRQr3 itbg== X-Gm-Message-State: ACrzQf1i5HmzmPSEnf2N5a26jov7fNpX8+DseJkexbZgxwk6Fso2o8v+ ZIIuSE7hCgTtYQQzFD/xJzyQfRwoq4zE5SdomCQ= X-Google-Smtp-Source: AMsMyM5S3puKmXs+dNgDJ9sW/bgFwo+QT8mbJCuoqMrSpTojL+qxBiFfkuQW2TTs9sYvjk5HkEJjbAHOIqpfjY9AVG4= X-Received: by 2002:a05:6871:6a4:b0:13b:a056:f97f with SMTP id l36-20020a05687106a400b0013ba056f97fmr5103622oao.38.1666650846113; Mon, 24 Oct 2022 15:34:06 -0700 (PDT) MIME-Version: 1.0 From: Rob Clark Date: Mon, 24 Oct 2022 15:34:15 -0700 Message-ID: Subject: [pull] drm/msm: drm-msm-fixes-2022-10-24 for v6.1-rc3 To: Dave Airlie , Daniel Vetter , dri-devel , freedreno , linux-arm-msm , Dmitry Baryshkov , Abhinav Kumar Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi Dave, A few fixes for the v6.1 cycle. Summary below. The following changes since commit e8b595f7b058c7909e410f3e0736d95e8f909d01: drm/msm/hdmi: make hdmi_phy_8996 OF clk provider (2022-09-18 09:38:07 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/msm.git tags/drm-msm-fixes-2022-10-24 for you to fetch changes up to e0e86f25fd469ca76c1b50091372aed1ff99ca1a: drm/msm: Kconfig: Fix spelling mistake "throught" -> "through" (2022-10-14 09:33:12 -0700) ---------------------------------------------------------------- msm-fixes for v6.1 - Fix shrinker deadlock - Fix crash during suspend after unbind - Fix IRQ lifetime issues - Fix potential memory corruption with too many bridges - Fix memory corruption on GPU state capture ---------------------------------------------------------------- Aashish Sharma (1): drm/msm: Remove redundant check for 'submit' Akhil P Oommen (2): drm/msm/a6xx: Replace kcalloc() with kvzalloc() drm/msm/gpu: Fix crash during system suspend after unbind Colin Ian King (1): drm/msm: Kconfig: Fix spelling mistake "throught" -> "through" Johan Hovold (8): drm/msm: fix use-after-free on probe deferral drm/msm/dp: fix memory corruption with too many bridges drm/msm/dsi: fix memory corruption with too many bridges drm/msm/hdmi: fix memory corruption with too many bridges drm/msm/dp: fix IRQ lifetime drm/msm/dp: fix aux-bus EP lifetime drm/msm/dp: fix bridge lifetime drm/msm/hdmi: fix IRQ lifetime Kuogee Hsieh (2): drm/msm/dp: add atomic_check to bridge ops drm/msm/dp: cleared DP_DOWNSPREAD_CTRL register before start link training Nathan Huckleberry (1): drm/msm: Fix return type of mdp4_lvds_connector_mode_valid Rob Clark (4): drm/msm/gem: Unpin objects slightly later drm/msm/a6xx: Fix kvzalloc vs state_kcalloc usage drm/msm/a6xx: Skip snapshotting unused GMU buffers drm/msm/a6xx: Remove state objects from list before freeing drivers/gpu/drm/msm/Kconfig | 2 +- drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 14 +++++++-- drivers/gpu/drm/msm/adreno/adreno_device.c | 10 ++++++- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 7 ++++- .../gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c | 5 ++-- drivers/gpu/drm/msm/dp/dp_ctrl.c | 13 ++++----- drivers/gpu/drm/msm/dp/dp_display.c | 23 +++++++++++++-- drivers/gpu/drm/msm/dp/dp_drm.c | 34 ++++++++++++++++++++++ drivers/gpu/drm/msm/dp/dp_parser.c | 6 ++-- drivers/gpu/drm/msm/dp/dp_parser.h | 5 ++-- drivers/gpu/drm/msm/dsi/dsi.c | 6 ++++ drivers/gpu/drm/msm/hdmi/hdmi.c | 7 ++++- drivers/gpu/drm/msm/msm_drv.c | 1 + drivers/gpu/drm/msm/msm_gem_submit.c | 9 +++--- drivers/gpu/drm/msm/msm_gpu.c | 2 ++ drivers/gpu/drm/msm/msm_gpu.h | 4 +++ drivers/gpu/drm/msm/msm_ringbuffer.c | 3 +- 17 files changed, 120 insertions(+), 31 deletions(-)