Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5293681rwi; Mon, 17 Oct 2022 19:02:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7aAtC6LrXF8Oa6H2NVIuhlccikUjk3xSxagnz0yppF54sR/tVdmUE2ecWQ44Pz6GRHuJaZ X-Received: by 2002:a05:6402:2683:b0:45d:3c44:dad4 with SMTP id w3-20020a056402268300b0045d3c44dad4mr509270edd.124.1666058561063; Mon, 17 Oct 2022 19:02:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666058561; cv=none; d=google.com; s=arc-20160816; b=zlnOHzHMA74zJf3kmq60JcOhO8buiC1cXABzR8DRl+aacuNp2Xs0krOcOfPQVPTeuR EoJQRb9kA8EjIogAi0i2kwroCxbxO33e5jl77iBfP4l7m8Bn+zxfP4lL+J9mf6XcZ1W0 qE36xuLb4hFlJNllZP2wNoEnowrT6oxkYzqxMt9i4GUWTsX0eEJe+R6CiC+fwVKgzV8B yfFzt3F8SlzDaXva154ymSZqt5G01fUPvQMOCxOFPaS/a/WbCWHeZ4NlNaYTs1+gB7nQ +xZGfjms87BWoHNDnyPtQcidHhqCEVBwxWxI3pBSheNrljWS5/NJCLFOv/wIU7Jp0qTk PtKw== 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 :message-id:references:in-reply-to:user-agent:subject:cc:to:from :date:ironport-hdrordr:ironport-data; bh=hkgem1Ul3iiq5Wb55+cvTllGoX0iBn40XoaCwfEGYiI=; b=wvR1GH3uH74vU428npEUlbdhzRSVWs7M6l+hIB1fWzCpQRbJMgygheDp/odeq37lIT rK6jS6Ul7JuiLzesuAnft/9d9FTOCUG1WJtgEjxAJM9xJnS5XVq5zvl+7EF8ODbH/Vke hDEbRytS0wi+SRXgAUanBWrZDSs5qgxVM1URS2DrRyLJRTT83sgphFkSXaMRjfNvKep/ TtaTQ8U7rF5O6CoXoZn9o9ZX+8n6oInk0c2o1KRehP94cOQ3j2yO1oo6nM6P+Qn3Pc3r ZXHCnGt0EwXhqcK+WRzcCGTN3uVPxvh8y2jX14Yhz7bdx2aLGa9lTj3s/SpiX8tr4Q+p jSbw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b12-20020a056402278c00b0045b68639617si10944503ede.608.2022.10.17.19.02.15; Mon, 17 Oct 2022 19:02:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230274AbiJRB22 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 17 Oct 2022 21:28:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230037AbiJRB21 (ORCPT ); Mon, 17 Oct 2022 21:28:27 -0400 Received: from ipmail06.adl3.internode.on.net (ipmail06.adl3.internode.on.net [150.101.137.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EA5BF2D1E2 for ; Mon, 17 Oct 2022 18:28:23 -0700 (PDT) X-SMTP-MATCH: 1 IronPort-Data: =?us-ascii?q?A9a23=3AJNuO9KrrVYX6iPdh85D/Cixyz/deBmIBZBIvg?= =?us-ascii?q?KrLsJaIsI4StFCztgarIBmDbqmMZGukLop1Pdjj80JX6JOAyoQwHgQ//CE2F?= =?us-ascii?q?34R9JeY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gPMxbHJSWZuecMbE3t6jH3DU=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DOAQA1AE5jAPXKfQENTR4BAQsSDEA?= =?us-ascii?q?JhkSEToJijjQDgROeBAsBUwQBAYUFAoRtJjgTAQIEFQEBBgEBAQEBBwQQATl?= =?us-ascii?q?SjDgBAQEDI1YQCw0LAgImAgJXBgENBYJ9rg16gTIaZ4gegWWBESyBZooPHYQ?= =?us-ascii?q?hN4FVRIEVJw8NgjA3PoQiAQEgg1c4gi4ElFiCHoNzOAMZKx1AAws7MwMVAxQ?= =?us-ascii?q?DBSEHAxkPIw0NBBYHDAMDBSUDAgIbBwICAwIGEwUCAhc2NAgECAQrJA8FAgc?= =?us-ascii?q?vBQQvAh4EBQYRCAIWAgYEBAQEFQIQCAIIJhcHExgbGQEFWQ4JIRYGDhoNBQY?= =?us-ascii?q?TAyBJJgUKOA8oL2krHBsHgQwqCR8VAwQEAwIGEwMiAg0pMRQEKRMPLQcjcQk?= =?us-ascii?q?CAyJlBQMDBCgsAwlAByUkPAdYEigBBAMCECI8BgMJAwIiWXYJJhEVBQMNFyU?= =?us-ascii?q?IBTcaBAg8AgUGUhICChEDEg8GJ0gPSj45FgYnRQE2Dw4aA50oN4EJL14Kgh0?= =?us-ascii?q?CwU40B4NjgUQGDJ5vIwuDdoxRhksDjASFdpcWIKlNgX4zGi5vAYI8UZ0rYjs?= =?us-ascii?q?CBgEKAQEDCYpXAQE?= Received: from unknown (HELO [127.0.0.1]) ([1.125.202.245]) by ipmail06.adl3.internode.on.net with ESMTP; 18 Oct 2022 11:58:20 +1030 Date: Tue, 18 Oct 2022 11:58:06 +1030 From: Arthur Marsh To: Arunpravin Paneer Selvam , =?ISO-8859-1?Q?Christian_K=F6nig?= , Dave Airlie CC: "Deucher, Alexander" , daniel.vetter@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org Subject: Re: [git pull] drm fixes for 6.1-rc1 User-Agent: K-9 Mail for Android In-Reply-To: References: <20221016080833.5503-1-user@am64> <7c645fa8-bf29-4b30-bdc5-e61e6bb09927@amd.com> <67e2904a-4b80-5173-2d8f-6a3d1f702fbb@amd.com> <50dcf794-e96f-24a3-5d40-6c64941b1bc0@amd.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 Thanks Arunpravin, your patch applied to the 6.1-rc1 code built a kernel that loaded the amdgpu module on my pc with Cape Verde GPU card with no problems. Regards, Arthur. On 18 October 2022 7:10:45 am ACDT, Arunpravin Paneer Selvam wrote: >Hi Christian, > >Looks like we have to exit the loop if there are no blocks to compare. >May be that's why the function returns false. > >@Arthur Marsh Could you please test the attached patch. > >Thanks, >Arun > >On 10/17/2022 1:39 PM, Christian König wrote: >> Am 17.10.22 um 10:01 schrieb Dave Airlie: >>> On Mon, 17 Oct 2022 at 17:07, Christian König wrote: >>>> Hi Arun, >>>> >>>> the hw generation doesn't matter. This error message here: >>>> >>>> amdgpu: Move buffer fallback to memcpy unavailable >>>> >>>> indicates that the detection of linear buffers still doesn't work as >>>> expected or that we have a bug somewhere else. >>>> >>>> Maybe the limiting when SDMA moves are not available isn't working >>>> correctly? >>> It is a CAPE_VERDE, so maybe something with the SI UVD memory limitations? >> >> Yeah, good point. Could be that we try to move something into the UVD memory window and that something isn't allocated linearly. >> >> Arun can you trace the allocation and make sure that all kernel allocations have the CONTIGUOUS flag set? >> >> Thanks, >> Christian. >> >>> >>> Dave. >> -- Sent from my Android device with K-9 Mail. Please excuse my brevity.