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 BB89EC369C2 for ; Thu, 17 Apr 2025 10:21:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 62B2610E1AC; Thu, 17 Apr 2025 10:21:47 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.b="dfQKQB43"; dkim-atps=neutral Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2644610E1AC; Thu, 17 Apr 2025 10:21:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4gAAAy4MiWKbvXuC03x5Dl8ITPPu7sxbi1HdD0YXLjQ=; b=dfQKQB43YA4WzWMoVonPkfeL0N rcWOvhYoPhPT3sCp+1sWpcNnTpM96rng26y53jKJyNILNYycmzkUtoMtp7Mm53jeq2YxCbiymNwZH rSsKhYQYgUpqi0UOXIkTGrenKu/Qs+yzVU37I6iB/37csghjeuFxT/I411vK9FN28UFcr9JtHJYJq V6kYbdPusHk7KQVvsOSL3KSUEADl4Pk/JP2wq/aCIMlZWzxd2AkoNBGvlz/12YNllv+fvSTNKgaYF Ddnj2wrlZb5aN/DwaHBfW+MZ3gz6a+Mr9RDtxqAvlRFJSVhKYM7j2OeiTdklgdZpYKWgBsiYXYysO /IGOWzvw==; Received: from [90.241.98.187] (helo=[192.168.0.101]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1u5MNK-000lXj-Cw; Thu, 17 Apr 2025 12:21:42 +0200 Message-ID: Date: Thu, 17 Apr 2025 11:21:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] drm/sched: fix the warning in drm_sched_job_done To: Sunil Khatri , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org Cc: Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , Pierre-Eric Pelloux-Prayer References: <20250417100139.2814393-1-sunil.khatri@amd.com> Content-Language: en-GB From: Tvrtko Ursulin In-Reply-To: <20250417100139.2814393-1-sunil.khatri@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" On 17/04/2025 11:01, Sunil Khatri wrote: > Fix the below warning. > scheduler/sched_main.c:397: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done' > > Reviewed-by: Tvrtko Ursulin > Signed-off-by: Sunil Khatri > --- > drivers/gpu/drm/scheduler/sched_main.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c > index bfea608a7106..3c03dfdda966 100644 > --- a/drivers/gpu/drm/scheduler/sched_main.c > +++ b/drivers/gpu/drm/scheduler/sched_main.c > @@ -390,6 +390,7 @@ static void drm_sched_run_free_queue(struct drm_gpu_scheduler *sched) > /** > * drm_sched_job_done - complete a job > * @s_job: pointer to the job which is done > + * @result: error code for dma fence for schedular SchedulEr ;) Regards, Tvrtko > * > * Finish the job's fence and wake up the worker thread. > */