From f8dfd7c4097c5c3586a9cf62f26861c400c6a2cc Mon Sep 17 00:00:00 2001 From: pengcheng chen Date: Tue, 12 Dec 2017 06:01:32 +0000 Subject: hwc2: fix cursor support with 32bit app [2/2] PD#156057: fix cursor support with 32bit app Change-Id: I7310501136173089bef6266a2b5c6260192b088e Signed-off-by: pengcheng chen --- diff --git a/hwc2/common/devices/PhysicalDevice.cpp b/hwc2/common/devices/PhysicalDevice.cpp index 338b83a..c00a46c 100644 --- a/hwc2/common/devices/PhysicalDevice.cpp +++ b/hwc2/common/devices/PhysicalDevice.cpp @@ -29,7 +29,9 @@ #include #include #include -#define FBIOPUT_OSD_CURSOR 0x451a + +#define FB_IOC_MAGIC 'O' +#define FBIOPUT_OSD_CURSOR _IOWR(FB_IOC_MAGIC, 0x0, struct fb_cursor) namespace android { namespace amlogic { -- cgit