From patchwork Wed Jun 24 09:54:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Melissa Wen X-Patchwork-Id: 11622753 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4BBA0138C for ; Wed, 24 Jun 2020 09:54:51 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2924E20B1F for ; Wed, 24 Jun 2020 09:54:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M33u7agy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2924E20B1F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A8436EAC2; Wed, 24 Jun 2020 09:54:50 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 68E586EAC2 for ; Wed, 24 Jun 2020 09:54:49 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id q5so1630336wru.6 for ; Wed, 24 Jun 2020 02:54:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5QNg4iOXparqC+X/m65Y/FTp1iDasuSKv8BLAHgm/AI=; b=M33u7agyQKkUwiDTiApc5+FOi0Dvj8vtLn2IN49y2UrnE4KCQoXvkePfGM5/4n6d15 /erW0nrSuOIJqAqIZ6mZaRtTZvFIR0CVVE9sRIR/MVdq5ef6a6kl6Da1HdzjXAp6Ri2e tLZdD/n2MRL9NZASm56WZq2doEFBk6TM2ztTnYYF30BnxPfBwMidfpbUL759djTgqP+u HTDWuaIauTTMRWFvTORV9JKVZmQ2RgMeU1IM4BDYL/1WwIbMuRofF8RIXYbmh6xUnnKu +eDVANjqk4Z4pfonLoxopyEM60yofgiEIeTum7BqGOU9jGRJSQAqodGanPebHv9x16gV OH2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5QNg4iOXparqC+X/m65Y/FTp1iDasuSKv8BLAHgm/AI=; b=mUHlEhL3cRUQ1lBFBAojuHizktLy9dnkJ8V5YOpuO/pWmeMgLljhCdh6XozI2ibZcA M6K77tgm1cAVbub5pAJtErNo3igYgBbKrW2QBXFNS/RrbzaB9LntdX5H9tFSlYOLmZsu DSDZ+8L26CnS57Z5AYEbWH65fofzC/DF9xe2vQOdxlRpgK2X4bER+VMpc/eMfgGCO9yX OFQbGdzgaI8e0oSN3WBy4Ul4j+wCWXwr9vP1wh/1wIz+L50h/amhwgxGRb1xzwvabMiz FVaddIratuWEgFoTlpBHSyGbv0/CZIFbdaK4hy0JYZfWunkyz5qTj46hos+dzPngXtNZ XSlA== X-Gm-Message-State: AOAM5334ofmtgHpbEOfhKOEmoN+3FET7nI30zePD2bQxw3XcmZqiGjLG lU3tsHKw4eWbxwsKJzGGpCvKJGfp X-Google-Smtp-Source: ABdhPJx8RBaOaYccHUiy8J06bUR7oLOf69DDXs51Fdr7q+cjoJiOovbzFuXcq7l+8q7j0brd389pWw== X-Received: by 2002:a5d:4a42:: with SMTP id v2mr20887846wrs.33.1592992487964; Wed, 24 Jun 2020 02:54:47 -0700 (PDT) Received: from smtp.gmail.com ([2001:818:e238:a000:a4ba:2182:c4c1:3b20]) by smtp.gmail.com with ESMTPSA id 67sm27433547wrk.49.2020.06.24.02.54.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 02:54:47 -0700 (PDT) Date: Wed, 24 Jun 2020 06:54:41 -0300 From: Melissa Wen To: intel-gfx@lists.freedesktop.org Message-ID: <3c0e76d37030f0d08fff3d8b424be8b8efa40955.1592991729.git.melissa.srw@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: [Intel-gfx] [PATCH i-g-t 1/2] lib/igt_fb: change comments with fd description X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: rodrigosiqueiramelo@gmail.com, Rodrigo.Siqueira@amd.com, kernel-usp@googlegroups.com, aurabindo.pillai@amd.com, nicholas.kazlauskas@amd.com, twoerner@gmail.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Generalize description of fd so as not restrict it to i915 driver Signed-off-by: Melissa Wen --- lib/igt_fb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/igt_fb.c b/lib/igt_fb.c index 5ed586e7..5a219c57 100644 --- a/lib/igt_fb.c +++ b/lib/igt_fb.c @@ -3548,7 +3548,7 @@ cairo_surface_t *igt_get_cairo_surface(int fd, struct igt_fb *fb) /** * igt_get_cairo_ctx: - * @fd: open i915 drm file descriptor + * @fd: open drm file descriptor * @fb: pointer to an #igt_fb structure * * This initializes a cairo surface for @fb and then allocates a drawing context @@ -3578,7 +3578,7 @@ cairo_t *igt_get_cairo_ctx(int fd, struct igt_fb *fb) /** * igt_put_cairo_ctx: - * @fd: open i915 drm file descriptor + * @fd: open drm file descriptor * @fb: pointer to an #igt_fb structure * @cr: the cairo context returned by igt_get_cairo_ctx. * @@ -3596,7 +3596,7 @@ void igt_put_cairo_ctx(int fd, struct igt_fb *fb, cairo_t *cr) /** * igt_remove_fb: - * @fd: open i915 drm file descriptor + * @fd: open drm file descriptor * @fb: pointer to an #igt_fb structure * * This function releases all resources allocated in igt_create_fb() for @fb.