From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A280C433B4 for ; Wed, 12 May 2021 09:41:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 01964613AA for ; Wed, 12 May 2021 09:41:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230145AbhELJmc (ORCPT ); Wed, 12 May 2021 05:42:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:39862 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230115AbhELJma (ORCPT ); Wed, 12 May 2021 05:42:30 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 207F46108D; Wed, 12 May 2021 09:41:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620812479; bh=u286lNUk3x/9tGhtxahuUZmtJnO4ftN8zsF2mhOOpLw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=y6o3y9uwUTaJggB1zEq5ViFDM3ICbOZwLA5CsypZ2sTNr80wlrPwvYA+tJCfJXQPf 8nxs1588QlH0wz/+m9K8EzbyGrA+XuItrH/9emv5+yOLQ1FLSZ31lyEwaEor8t0KRt YJwt6i0XZAPWhZ1Zay2l2wwSa8WTcQWbIw7Ea1Hg= Date: Wed, 12 May 2021 11:41:17 +0200 From: Greg KH To: Gerd Hoffmann Cc: stable@vger.kernel.org Subject: Re: [[PATCH for 5.10]] drm/qxl: use ttm bo priorities Message-ID: References: <20210510123140.2200366-1-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210510123140.2200366-1-kraxel@redhat.com> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Mon, May 10, 2021 at 02:31:40PM +0200, Gerd Hoffmann wrote: > Allow to set priorities for buffer objects. Use priority 1 for surface > and cursor command releases. Use priority 0 for drawing command > releases. That way the short-living drawing commands are first in line > when it comes to eviction, making it *much* less likely that > ttm_bo_mem_force_space() picks something which can't be evicted and > throws an error after waiting a while without success. > > Signed-off-by: Gerd Hoffmann > Acked-by: Thomas Zimmermann > Link: http://patchwork.freedesktop.org/patch/msgid/20210217123213.2199186-4-kraxel@redhat.com > (cherry-picked from 4fff19ae427548d8c37260c975a4b20d3c040ec6) > --- What about 5.11 and 5.12? We can't just backport to a single stable tree and miss newer ones. thanks, greg k-h