From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 20C366E595 for ; Wed, 12 Feb 2020 04:00:13 +0000 (UTC) Date: Tue, 11 Feb 2020 19:48:41 -0800 Message-ID: <87sgjgv52e.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <20200211023108.25369-7-imre.deak@intel.com> References: <20200211023108.25369-1-imre.deak@intel.com> <20200211023108.25369-7-imre.deak@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Subject: Re: [igt-dev] [PATCH v2 7/8] lib/igt_draw: Fix igt_draw_fill_fb() on platforms w/o aperture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Imre Deak Cc: igt-dev@lists.freedesktop.org List-ID: On Mon, 10 Feb 2020 18:31:07 -0800, Imre Deak wrote: > > Draw through a CPU mapping on platforms w/o a GTT aperture. > > Cc: Matt Roper > Signed-off-by: Imre Deak > Reviewed-by: Matt Roper > --- > lib/igt_draw.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/igt_draw.c b/lib/igt_draw.c > index fa8ab562..b9c3ae26 100644 > --- a/lib/igt_draw.c > +++ b/lib/igt_draw.c > @@ -728,6 +728,6 @@ void igt_draw_rect_fb(int fd, drm_intel_bufmgr *bufmgr, > */ > void igt_draw_fill_fb(int fd, struct igt_fb *fb, uint32_t color) > { > - igt_draw_rect_fb(fd, NULL, NULL, fb, IGT_DRAW_MMAP_GTT, > + igt_draw_rect_fb(fd, NULL, NULL, fb, IGT_DRAW_MMAP_CPU, > 0, 0, fb->width, fb->height, color); Should also be WC. _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev