From patchwork Fri Feb 4 06:09:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dave Airlie X-Patchwork-Id: 12734812 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 8C0F4C433F5 for ; Fri, 4 Feb 2022 06:09:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6B93C10E4CE; Fri, 4 Feb 2022 06:09:28 +0000 (UTC) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by gabe.freedesktop.org (Postfix) with ESMTPS id 94ECE10E1C1 for ; Fri, 4 Feb 2022 06:09:27 +0000 (UTC) Received: by mail-ej1-x632.google.com with SMTP id ka4so16024902ejc.11 for ; Thu, 03 Feb 2022 22:09:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=irPohvkYW/vu/tINGbfcT0yMRUasDFKKmSa2izf+JcI=; b=aMddKGsuPh3qd0rOIqO9k1JKKZm+feThOV211oA6JRocAiR2gvwuNmWPG7WMMn8H+0 /tck16Ek/Gn7YK7VKTIjp9hYhtj/Lnw1heeEC87jEPNa9j+/TRegIRzlQxqUTQ8D3HL7 o+NDyAr1GMBStMksD8DY+k/KjdR7fLYAay2Xt74ZK2LbwpN04L/en7FuqeX1P1mytxLu RD1hWrY91feOm+kKcQebg6/y2nE5NK8vjJ1/fQ8M7iHG0tcsJojj2BzXy7/cxXLcpbxq mye80raZc81lFJrxl2OXYoeXYPvjr8VUbTgx4tVRRINo24HYDs4MdraqVbWjGjd11dJ2 jooQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=irPohvkYW/vu/tINGbfcT0yMRUasDFKKmSa2izf+JcI=; b=2BouTad/3i1nu89y9gY4Rd3ZSBieLaPxy3RHQTmpvcdiM5FStm1xtgpV887S+07LMs oMWDm2OQoiDG7KebETMx/kx8Pgtn3iiG7LL+q0Z8m1Lu3G5lTkhZb2XmAZmwqeUAPyxi 9ctgPAUT+dEgD7iBsToGWdH8q+pwIDWlgLLFVy0cUgKRRVpXkC+YpcWMQFQbr18gJcbC E6fLBpW+28q5SLF1iCEZeJdg28VZrMh24v+illXKxikDND6TpFAxnysIAmHmDGek+832 1ab4JK+UyNYDYzDVKrdjTafsmws7U1gjXbcAw0d1zSiCbGxATkuP59JtC+viMHl7CXPW Wd9Q== X-Gm-Message-State: AOAM5316rrmTfFXFhEH23G7gdF2iZnu+Xi0HJ+MW3CI8FmfUnm0OKbSp Uv6kNfdet0Q90Tyn6mLZADjdFlt33Mr5zey3m2A= X-Google-Smtp-Source: ABdhPJwP1bbXEMt9wd6t0qLBiZSaPI0z98GUTDdpDr/7g/UE+k5Y0mloWJXKjqLzgwgpFLmRr9nv8jOPBrQy3TOG5PI= X-Received: by 2002:a17:907:948c:: with SMTP id dm12mr1205388ejc.770.1643954965956; Thu, 03 Feb 2022 22:09:25 -0800 (PST) MIME-Version: 1.0 From: Dave Airlie Date: Fri, 4 Feb 2022 16:09:15 +1000 Message-ID: Subject: [git pull] drm fixes for 5.17-rc3 To: Linus Torvalds , Daniel Vetter X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: LKML , dri-devel Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Linus, Regular fixes for the week. Daniel has agreed to bring back the fbcon hw acceleration under a CONFIG option for the non-drm fbdev users, we don't advise turning this on unless you are in the niche that is old fbdev drivers, Since it's essentially a revert and shouldn't be high impact seemed like a good time to do it now. Otherwise, i915 and amdgpu fixes are most of it, along with some minor fixes elsewhere. Dave. drm-fixes-2022-02-04: drm fixes for 5.17-rc3 fbdev: - readd fbcon acceleration i915: - fix DP monitor via type-c dock - fix for engine busyness and read timeout with GuC - use ALLOW_FAIL for error capture buffer allocs - don't use interruptible lock on error paths - smatch fix to reject zero sized overlays. amdgpu: - mGPU fan boost fix for beige goby - S0ix fixes - Cyan skillfish hang fix - DCN fixes for DCN 3.1 - DCN fixes for DCN 3.01 - Apple retina panel fix - ttm logic inversion fix dma-buf: - heaps: fix potential spectre v1 gadget kmb: - fix potential oob access mxsfb: - fix NULL ptr deref nouveau: - fix potential oob access during BIOS decode The following changes since commit 26291c54e111ff6ba87a164d85d4a4e134b7315c: Linux 5.17-rc2 (2022-01-30 15:37:07 +0200) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-02-04 for you to fetch changes up to 9ca3d3cd0857523c95ab8cdbb6cfe47b8f90e309: Merge tag 'drm-intel-fixes-2022-02-03' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes (2022-02-04 15:48:27 +1000) ---------------------------------------------------------------- drm fixes for 5.17-rc3 fbdev: - readd fbcon acceleration i915: - fix DP monitor via type-c dock - fix for engine busyness and read timeout with GuC - use ALLOW_FAIL for error capture buffer allocs - don't use interruptible lock on error paths - smatch fix to reject zero sized overlays. amdgpu: - mGPU fan boost fix for beige goby - S0ix fixes - Cyan skillfish hang fix - DCN fixes for DCN 3.1 - DCN fixes for DCN 3.01 - Apple retina panel fix - ttm logic inversion fix dma-buf: - heaps: fix potential spectre v1 gadget kmb: - fix potential oob access mxsfb: - fix NULL ptr deref nouveau: - fix potential oob access during BIOS decode ---------------------------------------------------------------- Agustin Gutierrez (1): drm/amd/display: Update watermark values for DCN301 Alexander Stein (1): drm: mxsfb: Fix NULL pointer dereference Anitha Chrisanthus (1): drm/kmb: Fix for build errors with Warray-bounds Aun-Ali Zaidi (1): drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels Christian König (1): drm/amdgpu: fix logic inversion in check Dan Carpenter (1): drm/i915/overlay: Prevent divide by zero bugs in scaling Dave Airlie (3): Merge tag 'amd-drm-fixes-5.17-2022-02-02' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Merge tag 'drm-misc-fixes-2022-02-03' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge tag 'drm-intel-fixes-2022-02-03' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes Evan Quan (1): drm/amd/pm: correct the MGpuFanBoost support for Beige Goby Helge Deller (3): Revert "fbdev: Garbage collect fbdev scrolling acceleration, part 1 (from TODO list)" Revert "fbcon: Disable accelerated scrolling" fbcon: Add option to enable legacy hardware acceleration Imre Deak (1): drm/i915/adlp: Fix TypeC PHY-ready status readout Jordy Zomer (1): dma-buf: heaps: Fix potential spectre v1 gadget Lang Yu (1): drm/amdgpu: fix a potential GPU hang on cyan skillfish Mario Limonciello (4): drm/amd: Warn users about potential s0ix problems drm/amd: add support to check whether the system is set to s3 drm/amd: Only run s3 or s0ix if system is configured properly drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled Matthew Brost (2): drm/i915: Allocate intel_engine_coredump_alloc with ALLOW_FAIL drm/i915: Lock timeline mutex directly in error path of eb_pin_timeline Nick Lopez (1): drm/nouveau: fix off by one in BIOS boundary checking Paul Hsieh (1): drm/amd/display: watermark latencies is not enough on DCN31 Umesh Nerlige Ramappa (2): drm/i915/pmu: Use PM timestamp instead of RING TIMESTAMP for reference drm/i915/pmu: Fix KMD and GuC race on accessing busyness Zhan Liu (1): drm/amd/display: revert "Reset fifo after enable otg" Documentation/gpu/todo.rst | 24 - drivers/dma-buf/dma-heap.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu.h | 10 +- drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 37 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 11 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 3 + .../drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c | 16 +- .../amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c | 20 +- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 20 + .../amd/display/dc/dce110/dce110_hw_sequencer.c | 5 - .../amd/display/dc/dcn10/dcn10_stream_encoder.c | 15 - .../amd/display/dc/dcn10/dcn10_stream_encoder.h | 3 - .../amd/display/dc/dcn20/dcn20_stream_encoder.c | 2 - .../display/dc/dcn30/dcn30_dio_stream_encoder.c | 2 - .../gpu/drm/amd/display/dc/inc/hw/stream_encoder.h | 4 - .../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 6 +- drivers/gpu/drm/i915/display/intel_overlay.c | 3 + drivers/gpu/drm/i915/display/intel_tc.c | 3 +- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 9 +- drivers/gpu/drm/i915/gt/uc/intel_guc.h | 5 + drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 114 ++++- drivers/gpu/drm/i915/i915_gpu_error.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 3 +- drivers/gpu/drm/kmb/kmb_plane.c | 6 - drivers/gpu/drm/mxsfb/mxsfb_kms.c | 6 +- drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c | 2 +- drivers/video/console/Kconfig | 20 + drivers/video/fbdev/core/bitblit.c | 16 + drivers/video/fbdev/core/fbcon.c | 557 ++++++++++++++++++++- drivers/video/fbdev/core/fbcon.h | 72 +++ drivers/video/fbdev/core/fbcon_ccw.c | 28 +- drivers/video/fbdev/core/fbcon_cw.c | 28 +- drivers/video/fbdev/core/fbcon_rotate.h | 9 + drivers/video/fbdev/core/fbcon_ud.c | 37 +- drivers/video/fbdev/core/tileblit.c | 16 + drivers/video/fbdev/skeletonfb.c | 12 +- include/linux/fb.h | 2 +- 38 files changed, 972 insertions(+), 160 deletions(-)