author | pengcheng chen <pengcheng.chen@amlogic.com> | 2017-12-12 06:01:32 (GMT) |
---|---|---|
committer | pengcheng chen <pengcheng.chen@amlogic.com> | 2017-12-12 06:10:19 (GMT) |
commit | f8dfd7c4097c5c3586a9cf62f26861c400c6a2cc (patch) | |
tree | ddb261820b8dc9ec3694bd1e7441e971d30bdbd8 | |
parent | c01fd6a29b4ac31c5484440809d0726a9651fde2 (diff) | |
download | hwcomposer-f8dfd7c4097c5c3586a9cf62f26861c400c6a2cc.zip hwcomposer-f8dfd7c4097c5c3586a9cf62f26861c400c6a2cc.tar.gz hwcomposer-f8dfd7c4097c5c3586a9cf62f26861c400c6a2cc.tar.bz2 |
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 <pengcheng.chen@amlogic.com>
-rw-r--r-- | hwc2/common/devices/PhysicalDevice.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 <tvp/OmxUtil.h> #include <framebuffer.h> #include <AmVideo.h> -#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 { |