Message ID | 1539888261-331-2-git-send-email-andrey.grodzovsky@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 B411D13B0 for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 18 Oct 2018 18:44:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5FBA29064 for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 18 Oct 2018 18:44:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 965312905F; Thu, 18 Oct 2018 18:44:48 +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=BAD_ENC_HEADER,BAYES_00, 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 811AA2905F for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 18 Oct 2018 18:44:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 94B9B6E0C4; Thu, 18 Oct 2018 18:44:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0057.outbound.protection.outlook.com [104.47.40.57]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8F57A6E0C4; Thu, 18 Oct 2018 18:44:44 +0000 (UTC) Received: from CY4PR1201CA0009.namprd12.prod.outlook.com (2603:10b6:910:16::19) by SN1PR12MB0431.namprd12.prod.outlook.com (2a01:111:e400:5865::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.23; Thu, 18 Oct 2018 18:44:43 +0000 Received: from BY2NAM03FT064.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e4a::201) by CY4PR1201CA0009.outlook.office365.com (2603:10b6:910:16::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.24 via Frontend Transport; Thu, 18 Oct 2018 18:44:42 +0000 Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV01.amd.com (165.204.84.17) by BY2NAM03FT064.mail.protection.outlook.com (10.152.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1250.12 via Frontend Transport; Thu, 18 Oct 2018 18:44:42 +0000 Received: from agrodzovsky-All-Series.amd.com (10.34.1.3) by SATLEXCHOV01.amd.com (10.181.40.71) with Microsoft SMTP Server id 14.3.389.1; Thu, 18 Oct 2018 13:44:40 -0500 From: Andrey Grodzovsky <andrey.grodzovsky@amd.com> To: <amd-gfx@lists.freedesktop.org>, <dri-devel@lists.freedesktop.org> Subject: [PATCH 2/3] drm/sched: Expose drm_sched_entity_select_rq to use in drivers. Date: Thu, 18 Oct 2018 14:44:20 -0400 Message-ID: <1539888261-331-2-git-send-email-andrey.grodzovsky@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1539888261-331-1-git-send-email-andrey.grodzovsky@amd.com> References: <1539888261-331-1-git-send-email-andrey.grodzovsky@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:165.204.84.17; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(376002)(136003)(346002)(39860400002)(396003)(2980300002)(428003)(199004)(189003)(486006)(186003)(47776003)(8936002)(68736007)(53936002)(446003)(54906003)(14444005)(110136005)(77096007)(11346002)(51416003)(16586007)(7696005)(53416004)(86362001)(5660300001)(2616005)(76176011)(44832011)(26005)(316002)(8676002)(97736004)(105586002)(476003)(4326008)(81156014)(126002)(36756003)(50226002)(305945005)(50466002)(478600001)(356004)(6666004)(450100002)(81166006)(104016004)(48376002)(106466001)(426003)(336012)(72206003)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB0431; H:SATLEXCHOV01.amd.com; FPR:; SPF:None; LANG:en; PTR:InfoDomainNonexistent; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; BY2NAM03FT064; 1:gAWKmAcv2J5CwKnE4dMdh/uUCrJorDzpl66NuHIAQtUVkNK7UHU9yVxAdJEgWYujtQRNa8auB1mI566WVoQlRFZupEsLywmcGOIy2oDZiXZs2N5reJyViZLApQwxzCIZ X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8858799e-3dc2-49b2-0bb8-08d63529c463 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060); SRVR:SN1PR12MB0431; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0431; 3:IZeDZmNseT/1Wc556RHlivPvezARTd0/z407eUws6TtycDjbvvMIyvAdh/RcBBvqbYcYeZBv65kVv0PYhrPHeL/EE33nXl364OewQVk5M3cyp1NPxbjtS1zm00WSLGSddvOJoHqrmpLEpFbRDb8TAJYAocdUeAUIQ4rp0WFKLJEIZKheZIF/O9He1QAE3exOqSw0xsfJ9dIoOt5rb6qOV/s5r6VWXUk5Ygvwv6SS0AtAdLB94yvNJvItcZtJnTeGgzCGY+SmixueyesQz0rID3LxWZ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dU6b34FgoZtSZHb2T+oUXiYYg98Ana+CuBMKvO2v2eP4sBDn7SeFF5Kzx0HAlXXJbBfngNryDStA6gskjcBQk+YxIxGN92e7gsIUzT4ArSKgIVNgGQgk/VrsBwHpTDnAlyx3AjUB4x7bZXoag5Kd5opmqg5hNH8oSigzcPwHNA5heWKp X-Microsoft-Antispam-PRVS: <SN1PR12MB04313FF7EDC5EBD9FACFCDCCEAF80@SN1PR12MB0431.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93003095)(6055026)(149066)(150057)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:SN1PR12MB0431; BCL:0; PCL:0; RULEID:; SRVR:SN1PR12MB0431; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0431; 4:wAUIiVDs7Q6nhqZWdKSi+ExweENZwBJF5MvFXbVbQJrf0Mgh0nBl+0iW7egLgP8PegLUJgscOfTWyT7HSe14hlsCc7Cencb0R5nAPkVZw0tHxG00SF4L2JXr7v3CYRzcpHVNrWZiLEuuFAf3vlxLWFcwNrnhEmjNfWk4OyCWhClkOrLktWejCPqZnWfETog2yGqcbkXBxrLn6UWiEA8sqPMUgN+wd7l7N+ywA883UjBK5i1QDUvqgEjVstoEg/FWncV/Afgh2rNqCGmAoaF+bKxtzMRAgxmxcIHzMmM9UtFTpAAuTVz7/jPumf6fUrDk X-Forefront-PRVS: 08296C9B35 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR12MB0431; 23:UqNUL2JDiNg+k9tREhv758oDcQ98a3WhD/hlrhqto?= 3RUaj9FLGK271tZKuA4E8utoDDeKhiNZVrG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5IUKS9qpoX8JViQ3xWL6Wx4PwILoU2inwFaYp6Otp4uTQrgD+PqwRJ0IsGDi/T+sk=; 7:a9b4RT9FZKa7PkWFK5u2FjDrqRQ6Hz6tT8BD0nqUS5mZZpXLDZPnVC5Jgsazu6SZZF+Yf2YHR68n/XukUGPkJ/Kc4vw/QMik7T61nEhb88eVBQJafNGg9UfUAday6myjG+TU9LoSkd+5TUckv/QwEiMenuwM+HxeLICHQ61IET5eGeHdVrcSUgP93oQJdewYVGGxN6cyf1a9osbbkiewdFOHxBFRc0Z+EYM691RIU89+uCiI6ppDJmlSD/UoZfsz SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0431; 20:z3ic/JOXXt8f/zAEVA6X7XHsSb0gRmCN8YnByqIBHD15dqLLLFB0nqxFTKADc346yEzK3BRApvxDASnQe+TaMdUSR3bByjZmMpX3PUl7eYHHgTyk1eVrkXSuC7G4YxY9Qj5DEWmP+9D3R4bTWEeTMoDUZIVjC97fYRalYgO6NotyPqUrobV3mQETp4OA/J+1OhI4Uhl1f/GADidyyDZq4hvFZwj409meOmAMsFGjXNfUYpDKYMisN9bu97eLntow X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2018 18:44:42.2385 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8858799e-3dc2-49b2-0bb8-08d63529c463 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXCHOV01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0431 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: Alexander.Deucher@amd.com, christian.koenig@amd.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[1/3] drm/sched: Add callback to mark if sched is ready to work.
|
expand
|
diff --git a/drivers/gpu/drm/scheduler/sched_entity.c b/drivers/gpu/drm/scheduler/sched_entity.c index 320c77a..426606c 100644 --- a/drivers/gpu/drm/scheduler/sched_entity.c +++ b/drivers/gpu/drm/scheduler/sched_entity.c @@ -492,6 +492,7 @@ void drm_sched_entity_select_rq(struct drm_sched_entity *entity) entity->rq = rq; spin_unlock(&entity->rq_lock); } +EXPORT_SYMBOL(drm_sched_entity_select_rq); /** * drm_sched_entity_push_job - Submit a job to the entity's job queue
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> --- drivers/gpu/drm/scheduler/sched_entity.c | 1 + 1 file changed, 1 insertion(+)