Chinaunix首页 | 论坛 | 博客
  • 博客访问: 551299
  • 博文数量: 116
  • 博客积分: 2063
  • 博客等级: 大尉
  • 技术积分: 1174
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-26 16:44
个人简介

none

文章分类

全部博文(116)

文章存档

2023年(2)

2020年(3)

2019年(4)

2018年(7)

2017年(6)

2016年(17)

2015年(13)

2014年(19)

2013年(6)

2012年(13)

2011年(5)

2010年(11)

2008年(10)

分类: LINUX

2015-08-20 15:44:51

HISI_FB_DEBUG.rar

/*********************************************************************************  *      Copyright:  (C) 2015 KEWELL  *  *       Filename:  HISI_FB_DEBUG.c  *    Description:  This file   *   *        Version:  1.0.0(08/20/2015~)  *         Author:  KEWELL <EMBLINUXEDU@163.COM>  *      ChangeLog:  1, Release initial version on "08/20/2015 03:29:33 PM"  *                  2,  *   * This program is free software; you can redistribute it and/or modify  * it under the terms of the GNU General Public License version 2 as  * published by the Free Software Foundation.  *  ********************************************************************************/ #
#
# lsmod | grep "hifb" hifb 72646 3 vcmp 3832 1 hifb
hi3521_vou 372149 14 hifb
hi3521_tde 184381 3 jpeg,hifb,hi3521_dsu
hi3521_base 43276 27 hi3521_adec,hi3521_aenc,hi3521_ao,hi3521_ai,hi3521_sio,hi3521_hdmi,hi3521_vfmw,hi3521_vdec,hifb,vcmp,hi3521_region,hi3521_vda,hi3521_ive,hi3521_vpss,hi3521_vou,hi3521_viu,hi3521_jpege,hi3521_rc,hi3521_h264e,hi3521_chnl,hi3521_group,hi3521_venc,hi3521_dsu,hi3521_tde,hi3521_sys
mmz 19485 7 hi3521_aenc,hi3521_vdec,hifb,hi3521_h264e,hi3521_tde,hi3521_base
#
#
# cat /ko/load3521 |grep "hifb" #insmod hifb.ko video="hifb:vram0_size:8100,vram1_size:8100,vram2_size:1620,vram3_size:32" softcursor="off" u32VcmpBufNum=2 insmod hifb.ko video="hifb:vram0_size:8100,vram1_size:8100,vram2_size:8100,vram3_size:32" softcursor="off" u32VcmpBufNum=2 rmmod hifb
#
#
# cd /proc/umap/
#
# head vo

[VOU] Version: [Hi3521_MPP_V1.0.6.2 ], Build Time[May 4 2014, 19:31:48]

-----MODULE PARAM--------------------------------------------------------------
detectCycle
-----DEV CONFIG----------------------------------------------------------------
 DevId   DevEn    Mux1    Mux2    Mux3       InfSync   BkClr  DevFrt DispFrt DoubFrm Toleration  Vtth 0 Y     VGA    HDMI          1280x1024@60 0 60 25 N 1000000 240 1 Y    CVBS                           PAL 0 25 25 N 1000000 100 2 Y    CVBS                           PAL 0 25 25 N 1000000 100 #
# tail -21 vo
-----GRAPHICS LAYER------------------------------------------------------------
 Layer BindDev
   HC0 0 -----LAYER CSC PARAM-----------------------------------------------------------------
 LAYERID  Matrix    Luma    Cont     Hue    Satu 0 5 50 50 50 50 1 5 50 50 50 50 2 5 50 50 50 50 3 5 50 50 50 50 -----VGA PARAM-----------------------------------------------------------------
 DevId  Matrix    Luma    Cont     Hue    Satu    Gain 0 3 50 50 50 59 10 -----DEV Int Status----------------------------------------------------------------
 DevId IntRate IntTime MaxIntT TimePrM  IntGapT  MaxGapT 0 60.2 17 116 1898 16658 16816 1 25.0 38 46 916 40000 40017 2 25.0 47 87 994 40002 40034 #
# cat /dev/Hisi_log &
# <3>[    fb] [Func]:hifb_disp_setdispsize [Line]:3115 [Info]:<3>[    fb] the resolution is larger than the max size of the screen or the layer!
<3>[    vo] [Func]:VOU_GraphicsGetIntfSize [Line]:516 [Info]:<3>[    vo] the vo device for graphics layer 0 has been disable!
<3>[    fb] [Func]:HIFB_DRV_GetOSDData [Line]:573 [Info]:<3>[    fb] failed to get screen width and height!
<3>[    fb] [Func]:hifb_disp_setdispsize [Line]:3115 [Info]:<3>[    fb] the resolution is larger than the max size of the screen or the layer!
<3>[    vo] [Func]:VOU_GraphicsGetIntfSize [Line]:516 [Info]:<3>[    vo] the vo device for graphics layer 0 has been disable!
<3>[    fb] [Func]:HIFB_DRV_GetOSDData [Line]:573 [Info]:<3>[    fb] failed to get screen width and height!
<3>[    fb] [Func]:hifb_disp_setdispsize [Line]:3115 [Info]:<3>[    fb] the resolution is larger than the max size of the screen or the layer!

#
# cd /proc/graphics/
# ls
hifb0    hifb1    hifb2    hifb3    higo     jpeg6b   tde      tdeinfo
#
# cat hifb
hifb0  hifb1  hifb2  hifb3
# cat hifb0                                               # cat hifb1
layer name                       :layer_0                 layer name                       :layer_1
Open count                       :1 Open count                       :1 Show state                       :ON                      Show state                       :ON
Start position                   :(0, 0)                  Start position                   :(0, 0)
xres, yres                       :(1280, 1024)            xres, yres                       :(720, 576)
xres_virtual, yres_virtual       :(1920, 1080)            xres_virtual, yres_virtual       :(720, 576)
xoffset, yoffset                 :(0, 0)                  xoffset, yoffset                 :(0, 0)
fix.line_length                  :3840 fix.line_length                  :1440 Mem size:                        :8100 KB                 Mem size:                        :8100 KB
Layer Scale (hw):                :NO                      Layer Scale (hw):                :NO ColorFormat:                     :ARGB1555                ColorFormat:                     :ARGB1555
Alpha Enable                     :ON                      Alpha Enable                     :ON
AlphaChannel Enable              :ON                      AlphaChannel Enable              :ON
Alpha0, Alpha1                   :0, 255 Alpha0, Alpha1                   :0, 255 Alpha Global                     :255 Alpha Global                     :255 Colorkey Enable                  :ON                      Colorkey Enable                  :ON
Colorkey value                   :0xe77e Colorkey value                   :0xe77e Deflicker Mode:                  :NONE                    Deflicker Mode:                  :TDE
Deflicker Level:                 :AUTO                    Deflicker Level:                 :AUTO
Display Buffer mode              :unkown                  Display Buffer mode              :single
Displaying addr (register)       :0x8f0c7000 Displaying addr (register)       :0x8f8b0000 display buffer[0] addr           :0x8f0c7000 display buffer[0] addr           :0x8f8b0000 display buffer[1] addr           :0x8f487000 display buffer[1] addr           :0x8f97a800 displayrect :(1280, 1024)            displayrect                      :(720, 576) screenrect :(1280, 1024)            screenrect                       :(720, 576)
device max resolution            :1280, 1024 device max resolution            :720, 576 IsNeedFlip(2buf)                 :NO                      IsNeedFlip(2buf)                 :NO
BufferIndexDisplaying(2buf)      :0 BufferIndexDisplaying(2buf)      :0 refresh request num(2buf)        :0 refresh request num(2buf)        :0 switch buf num(2buf)             :0 switch buf num(2buf)             :0 union rect (2buf)                :(0,0,0,0) union rect (2buf)                :(0,0,0,0)
canavas updated addr             :0x8f0c7000 canavas updated addr             :0x0 canavas updated (w, h)           :1280,1024 canavas updated (w, h)           :0,0 canvas width                     :1280 canvas width                     :0 canvas height                    :1024 canvas height                    :0 canvas pitch                     :3840 canvas pitch                     :0 canvas format                    :ARGB1555                canvas format                    :RGB565 IsCompress :NO                      IsCompress                       :NO
#                                                         #
阅读(1266) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~