Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5271414rwi; Mon, 17 Oct 2022 18:35:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4elfOogic/iaD5BZaYR4dvDKJJwEtJmX9TFivLlyMe8D/kzHiTeZUaZ4LCYPLGF2lKZtU3 X-Received: by 2002:a17:906:9c82:b0:781:5752:4f2b with SMTP id fj2-20020a1709069c8200b0078157524f2bmr384853ejc.561.1666056942326; Mon, 17 Oct 2022 18:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666056942; cv=none; d=google.com; s=arc-20160816; b=uB6sWt6ws5jGEW9hFGrIYF9b2TcdelPs1l2gPWGvzqdn9HsXanG2Z5Wjh5gDisURvy EqneyLlRQTdLZoukuYaFap7TezJ2rqGJ++mOpl0twHR3pr73jlGnvFVmARxe5bivN0G5 /pP1wgvpcN9agwWzuRYMbR85HICspOLeCaPyC9zrKNznL/uNRPlNb4qXfmOv8j05b/mH Ovig99zylzjoPSkO6EV3y/RFWRE42RfnVtxmlrC/gUgeFcwXwWx1JyrF00mNjL+4Aa2h aw6idLcf3tHO5xRSzyWzWjKnmFjjTJe6NmzhNrPxV3q49FmT7FYwbzRAWl+9V3dLSq5x ZhJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=axgOJD7gUJLWncY0SkfScMfFy0OM1pSvja+Frnrc+5E=; b=sMXVoE0Rq93ULmJnOjEyrlj16APaDeHGy1mo/QwsStIDg+2lTwJ0vO0WYRLedaCwTd zR/JB26PlNLEfubePow3kI+W5w1i5irTc8xdSwqUF37z/gZV0c43EDp+W4Fsn/6VP8V8 Cx0OgErn+HMrO7fH6p4cKdwiXI/cCAgU2m3xnnNDHXrlH7X4IInEl8LKIfv7e1CpMN7j mBNrI0Hgma25hhS8VQwnXs6/fbHIX3KXGpmb2AbWrMEex6zqihj9G44Zi8QNNeZXvnM7 2c5rnPVlUaaP8o/0VUocwdid5firjzhqVWa+Z1qTOuj7yEu/8rSeLhB3QG7TX11x0Xe2 TAKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=GFftaHMM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ay1-20020a170906d28100b007833c7cf1dcsi9313394ejb.387.2022.10.17.18.35.16; Mon, 17 Oct 2022 18:35:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=GFftaHMM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231143AbiJRBH6 (ORCPT + 99 others); Mon, 17 Oct 2022 21:07:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbiJRBHz (ORCPT ); Mon, 17 Oct 2022 21:07:55 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 581663057B for ; Mon, 17 Oct 2022 18:07:54 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id h203so10617782iof.1 for ; Mon, 17 Oct 2022 18:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=axgOJD7gUJLWncY0SkfScMfFy0OM1pSvja+Frnrc+5E=; b=GFftaHMMmUxj3xkXKrCfhWdqb+oQdlnJjW7CU7cV94sLQccmKbI5FARHyT8b8JoJaI DmAoQ29tJ2IHFOWuFcimgsZqKpZVwb3QEdxq4AjUl9Iv2L2nLRjHWVtW+7+Pau35Q+oE xqa1nryIolqgjeuNCdo6RPEottpP7qcxul8x4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=axgOJD7gUJLWncY0SkfScMfFy0OM1pSvja+Frnrc+5E=; b=nwg2oKqdbdsOgql1IQK/XrOy/NN6c+FAY/WZXyPZTrewBEiN7Mlcat/xL/k+/dVfRP gQrPRqRv3rv09I6HSamIkTokTYDCTURCWQgbINQutszoZwDV3XfCYooFjbKRU9PlX5pO /jOyaHKfh0xlieRrvPLe9GwsHZXc6XxcaZElK35DVkV5UL4D02z+Nk4A8p1f+CqCI/0y /cSvhQrABfqlb1sSa2mxs8ogg57xqh76tzszhaSYIgLPnHZpH36Hnz2Ir1fFXqMcaRzF Kp6cSZubPdPTOaTNemwcOFXOCCz1KyA0ccH3QmSawXmE04uEMFRSrQkhp5hkTfsRtgHP nupw== X-Gm-Message-State: ACrzQf0x8N+js/qmqSIruk+tV0ZQGQcaMLSJ8855nQztKOfz/0QuZjPX eKsqEz2cOBVwByHS2WA9LSy8cQ== X-Received: by 2002:a05:6638:14cb:b0:363:ed95:ce4c with SMTP id l11-20020a05663814cb00b00363ed95ce4cmr559798jak.308.1666055273505; Mon, 17 Oct 2022 18:07:53 -0700 (PDT) Received: from localhost.localdomain ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id e6-20020a022106000000b0036377aa5a35sm529499jaa.100.2022.10.17.18.07.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 18:07:53 -0700 (PDT) From: Shuah Khan To: gregkh@linuxfoundation.org, sashal@kernel.org Cc: Shuah Khan , alexander.deucher@amd.com, hamza.mahfooz@amd.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH] Revert "drm/amdgpu: use dirty framebuffer helper" Date: Mon, 17 Oct 2022 19:07:46 -0600 Message-Id: <20221018010746.603662-2-skhan@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221018010746.603662-1-skhan@linuxfoundation.org> References: <20221018010746.603662-1-skhan@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 867b2b2b6802fb3995a0065fc39e0e7e20d8004d. With this commit, dmesg fills up with the following messages and drm initialization takes a very long time. This commit has bee reverted from 5.4 [drm] Fence fallback timer expired on ring sdma0 [drm] Fence fallback timer expired on ring gfx [drm] Fence fallback timer expired on ring sdma0 [drm] Fence fallback timer expired on ring gfx [drm] Fence fallback timer expired on ring sdma0 [drm] Fence fallback timer expired on ring sdma0 [drm] Fence fallback timer expired on ring sdma0 [drm] Fence fallback timer expired on ring gfx Cc: # 5.10 Signed-off-by: Shuah Khan --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index 947f50e402ba..7cc7af2a6822 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c @@ -35,7 +35,6 @@ #include #include #include -#include #include #include #include @@ -499,7 +498,6 @@ bool amdgpu_display_ddc_probe(struct amdgpu_connector *amdgpu_connector, static const struct drm_framebuffer_funcs amdgpu_fb_funcs = { .destroy = drm_gem_fb_destroy, .create_handle = drm_gem_fb_create_handle, - .dirty = drm_atomic_helper_dirtyfb, }; uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev, -- 2.34.1