From cd8da3f65d6d6956b50e4629cb43d3a8d55faab3 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 5 Apr 2016 14:13:53 +0100 Subject: lib: kms: move framebuffer scanout offset/size to plane MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes potential crashes when the framebuffer is unset from a given plane. v2: s/with/within/ typo in header Signed-off-by: Lionel Landwerlin Cc: Maarten Lankhorst Cc: Marius Vlad Cc: Ville Syrjälä Reviewed-by: Ville Syrjälä Signed-off-by: Marius Vlad --- lib/igt_fb.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/igt_fb.h') diff --git a/lib/igt_fb.h b/lib/igt_fb.h index e8fe3ac4..0a06899e 100644 --- a/lib/igt_fb.h +++ b/lib/igt_fb.h @@ -55,10 +55,6 @@ struct igt_fb { unsigned size; cairo_surface_t *cairo_surface; unsigned domain; - uint32_t src_x; - uint32_t src_y; - uint32_t src_w; - uint32_t src_h; }; enum igt_text_align { -- cgit v1.2.3