[igt-dev] [PATCH i-g-t 7/8] lib/igt_draw: Fix igt_draw_fill_fb() on platforms w/o aperture
Matt Roper
matthew.d.roper at intel.com
Mon Feb 10 23:22:48 UTC 2020
On Fri, Feb 07, 2020 at 09:15:23PM +0200, Imre Deak wrote:
> Draw through a CPU mapping on platforms w/o a GTT aperture.
Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
>
> Signed-off-by: Imre Deak <imre.deak at intel.com>
> ---
> 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 d227a53a..c720a4c2 100644
> --- a/lib/igt_draw.c
> +++ b/lib/igt_draw.c
> @@ -731,6 +731,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);
> }
> --
> 2.23.1
>
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
--
Matt Roper
Graphics Software Engineer
VTT-OSGC Platform Enablement
Intel Corporation
(916) 356-2795
More information about the igt-dev
mailing list