From patchwork Thu Sep 27 10:30:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nayan Deshmukh X-Patchwork-Id: 10617781 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 709A714BD for ; Thu, 27 Sep 2018 10:31:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6144E2B0CF for ; Thu, 27 Sep 2018 10:31:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 536C52B0D9; Thu, 27 Sep 2018 10:31:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1E2062B0CF for ; Thu, 27 Sep 2018 10:31:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 927736E578; Thu, 27 Sep 2018 10:31:37 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id BBBE86E578 for ; Thu, 27 Sep 2018 10:31:35 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id n23-v6so1517097wmc.1 for ; Thu, 27 Sep 2018 03:31:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pw7THr1ZhdhN/1Ytnc7zXEAbS9gWoQtYEF3KFw8CKS8=; b=TQCZqiKtwU1Mep6qX3ZYkn/mcf3QrZLNzInsUMdvPiCXEYmKHpzr4iDcxuRhjUWtT1 rfzS8yNIFFVP2n5RzlFBbp92SaBZp8izLYpJewjBLqiE1khPctQzrg5xnsMArRAld63Y bmCkgXeon5qDZlJX3XsbkPyzhOzxE2FFts6jgSU1w9VJzh0G1WfI7NfsJfFLDFbsisEK udgJ4Wrd6VCoIeVmyUvqAcyOEyVVJPftQtugIr/aEHNYNm3W/B3Oiv+eQ56eIRFq2RRY Mug3/oRvbNy6kdsMCfCPjec2PSJ9znFOiU9MPq+niXxhJtmYGSFWUNsm/muQdSbpnyE9 3Oig== X-Gm-Message-State: ABuFfojs57KderoajvvJpd2duTVlBWZ1cDKfpUQU1BdJcpMyaCVRWY4e 65nkfsJO+Ve6r1F3DhBT7pFP5kK5 X-Google-Smtp-Source: ACcGV62FNbnyOMnQRsbvoret539/MQ80ocL74pAej0vecMYhhGXb4KcUhyPYe/Q+8/cMrK+PjlZsiA== X-Received: by 2002:a1c:ae84:: with SMTP id x126-v6mr5565842wme.73.1538044293784; Thu, 27 Sep 2018 03:31:33 -0700 (PDT) Received: from localhost.localdomain (nat-240.udc.es. [193.144.61.240]) by smtp.gmail.com with ESMTPSA id j133-v6sm3246848wmd.12.2018.09.27.03.31.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 03:31:32 -0700 (PDT) From: Nayan Deshmukh To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/v3d: fix build error due to change in scheduler struct Date: Thu, 27 Sep 2018 12:30:56 +0200 Message-Id: <20180927103056.2159-1-nayan26deshmukh@gmail.com> X-Mailer: git-send-email 2.14.3 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexander.deucher@amd.com, christian.koenig@amd.com, Nayan Deshmukh MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The work_tdr field was moved from drm_sched_job to drm_gpu_scheduler as part of a previous patch. Fixes: 4f07d88d8534 drm/scheduler: remove timeout work_struct from drm_sched_job Signed-off-by: Nayan Deshmukh --- drivers/gpu/drm/v3d/v3d_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/v3d/v3d_sched.c b/drivers/gpu/drm/v3d/v3d_sched.c index a5501581d96b..9243dea6e6ad 100644 --- a/drivers/gpu/drm/v3d/v3d_sched.c +++ b/drivers/gpu/drm/v3d/v3d_sched.c @@ -168,7 +168,7 @@ v3d_job_timedout(struct drm_sched_job *sched_job) job->timedout_ctca = ctca; job->timedout_ctra = ctra; - schedule_delayed_work(&job->base.work_tdr, + schedule_delayed_work(&job->base.sched->work_tdr, job->base.sched->timeout); return; }