This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Any way to enable/disable HDVICPs on DM816x evaluation board?

Hi, I am using DM816x Evaluation board.

I see DM816x has three HDVICPs. Does anyone know how to enable/disable an individual HDVICP? What is the default configration? I am wondering if this is something I can set during booting. I couldn't find any answer from TI document and websites. Your reply would be much appreciated. 

Thanks,

Peter

  • Could someone answer for this question?

    I first thought this command enables/disables the individual HDVICP.

    # echo 0/1 > /sys/devices/platform/vpss/display3/enabled

    But after I read both DM816x(has 3 HDVICPs) and DM814x(has only 1 HDVICP) VPSS Video Driver User Guide, it turns out it is not the case since I found both chips has three of this kind of command. Is there any way that I can control the number of HDVICPs?

  • Hi,

    This is to enable displays and not for HDVICP. For what you want to disable HDVICP. Is it for power consumption?

    Regards,

    Hardik Shah

  • Hi Hardik.

    Yes. We want to measure the actual power consumed by the chip with different number of coprocessors. We saw the spreadsheet for estimated power consumption from TI website, but we want to measure actual values.

    Is there any available command to do this?

    If there is no command to do so, does it mean it always uses all three HDVICPs by default?

  • Is there anyone who knows the answer for this question?

  • I tried to encode with 1080p video source, and strangely the arm-load only went up to around 10% range. I checked the encoded video file, and it was properly encoded. Is this arm-load number related to the number of HDVICPs which is enabled? I need to know how many HDVICPs I am using and how to enable/disable these by the end of this week. Could someone answer for this?

    root@dm816x-evm:~# gst-launch -e v4l2src always-copy=false queue-size=12 num-buffers=2000 ! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width=1920,height=1080,framerate=(fraction)60/1' ! omxbufferalloc numBuffers=12 ! omx_h264enc bitrate=5000000 ! gstperf ! filesink location=GoT_1920_1080.264
    Setting pipeline to PAUSED ...

     Mode set is 1080
    allocating 12 buffers of size:3110400!!
    allocated outbuf:0x4ab9a880
    allocated outbuf:0x4ae91e80
    allocated outbuf:0x4b189480
    allocated outbuf:0x4b480a80
    allocated outbuf:0x4b778080
    allocated outbuf:0x4ba6f680
    allocated outbuf:0x4bd66c80
    allocated outbuf:0x4c05e280
    allocated outbuf:0x4c355880
    allocated outbuf:0x4c64ce80
    allocated outbuf:0x4c944480
    allocated outbuf:0x4cc3ba80
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    perf0: frames: 62       current: 61.75   average: 61.75 arm-load: 9
    perf0: frames: 123      current: 60.23   average: 60.99 arm-load: 7
    perf0: frames: 183      current: 59.72   average: 60.57 arm-load: 8
    perf0: frames: 245      current: 61.22   average: 60.73 arm-load: 11
    perf0: frames: 305      current: 59.72   average: 60.53 arm-load: 8
    perf0: frames: 366      current: 60.23   average: 60.48 arm-load: 8
    perf0: frames: 427      current: 59.76   average: 60.38 arm-load: 4
    perf0: frames: 488      current: 60.23   average: 60.36 arm-load: 7
    perf0: frames: 549      current: 59.76   average: 60.29 arm-load: 6
    perf0: frames: 610      current: 60.23   average: 60.28 arm-load: 7
    perf0: frames: 671      current: 59.74   average: 60.24 arm-load: 7
    perf0: frames: 732      current: 60.23   average: 60.24 arm-load: 10
    perf0: frames: 793      current: 60.23   average: 60.23 arm-load: 7
    perf0: frames: 853      current: 59.74   average: 60.20 arm-load: 10
    perf0: frames: 914      current: 60.23   average: 60.20 arm-load: 5
    perf0: frames: 974      current: 59.72   average: 60.17 arm-load: 7
    perf0: frames: 1035     current: 60.23   average: 60.18 arm-load: 8
    perf0: frames: 1095     current: 59.72   average: 60.15 arm-load: 4
    perf0: frames: 1156     current: 60.23   average: 60.16 arm-load: 13
    perf0: frames: 1216     current: 59.72   average: 60.13 arm-load: 6
    perf0: frames: 1277     current: 60.23   average: 60.14 arm-load: 9
    perf0: frames: 1337     current: 59.73   average: 60.12 arm-load: 10
    perf0: frames: 1398     current: 60.23   average: 60.12 arm-load: 6
    perf0: frames: 1458     current: 59.72   average: 60.11 arm-load: 11
    perf0: frames: 1519     current: 60.23   average: 60.11 arm-load: 5
    perf0: frames: 1580     current: 59.75   average: 60.10 arm-load: 9
    perf0: frames: 1641     current: 60.23   average: 60.10 arm-load: 7
    perf0: frames: 1702     current: 59.74   average: 60.09 arm-load: 10
    perf0: frames: 1763     current: 60.25   average: 60.10 arm-load: 8
    perf0: frames: 1824     current: 60.23   average: 60.10 arm-load: 65
    perf0: frames: 1884     current: 59.71   average: 60.09 arm-load: 100
    perf0: frames: 1945     current: 60.24   average: 60.09 arm-load: 55
    Recieved EOS event, press <CTRL+C> to terminate pipeline.
    Got EOS from element "pipeline0".
    Execution ended after 33354968519 ns.
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...