Is DRM needed to configure a VDMA frame buffer?

i have TPG->VDMA->AXIS to video out with a TC configured with constants.
I've been working through the ZC702 TRD
http://www.wiki.xilinx.com/Zynq+Base+TRD+2015.2
My TPG/VDMA drivers seem to load ok by looking at the kernel log. And, I have a /dev/v4l-subdev0 that shows up. 
I seem to be able to configure the TPG fine and I think I understand what is going on with the TPG driver.
But, for VDMA if I just have it set up as a frame buffer what's the easiest way to configure/enable it? The TRD code is really large/conplicated and trying to figure out what the general methodology is for accessing the VDMA driver from a user space program.

Configuration of VDMA is done in Xilinx Video pipeline driver (using linux dma engine APIs).
Take a look at drivers/media/platform/xilinx/xilinx-dma.c
In devicetree (software/petalinux/subsystems/linux/configs/device-tree/video-cap.dtsi a video node is instantiated -
Userspace application will use this video node to query/queue/dequeue buffers.
video_cap {
compatible = "xlnx,video";
dmas = <&vdma_1 1>;
dma-names = "port0";
<snip>
In above example video node is using vdma_1 1 instance which is VDMA S2MM channel - it takes TPG streaming input and write it to mem.
In V4L2 framework vdma programming is encapsulated and it is not recomended to configure VDMA directly from userspace.
One question: Is you end goal to capture frames from TPG and displaying those on display( using DRM) ?
For reference take a look at video_lib (rdf0286-zc702-zvik-base-trd-2015-2\software\xsdk\projects\video_lib\src\s2m_pipeline.c) source.
Few other relevant links:
https://lwn.net/Articles/447435
http://lists.freedesktop.org/archives/dri-devel/2012-March/019778.html
http://www.wiki.xilinx.com/Xilinx+V4L2+driver
https://archive.fosdem.org/2014/schedule/.../v4l2_frameworks.pdf
-Radhey
 

Similar Messages

  • Need to convert all text frames to intinal caps.

    Hi All,
    I need to convert all text frames in the eps files the text should be first letter to be caps.
    EXAMPLE:
    " The Example Text In The Discussion"   to be " The example text in the discussion "
    I am manually converting around 350 Eps files daily,
    Any help!!!
    regards,
    Vinoth

    Hi Larry,
    Thanks for the reply.
    Yes, excatly we do manually by Type>Change Case>Sentence Case
    But i need this to be done in scripting. My Knowledge in scripting is not good.
    Could you please help me regarding this issue.
    regards,
    Vinoth

  • I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat.

    Dear everyone
    I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.
    I read a european commission document explaining that
    http://ec.europa.eu/research/participants/data/support/sep_usermanual.pdf
    If Safari does not display pdf forms in the browser window, uninstall all older versions of Adobe Reader and download the most recent one. First close Safari and then install Reader. Launch Safari and you ought to be able to open the pdf files inside the Safari window. If you install Adobe Reader 10.1.x without first closing Safari, Safari will not display the pdf file inside its browser window until it is re-launched. For further help, please see http://helpx.adobe.com/acrobat/kb/troubleshoot-safari-plug-acrobat-x.html
    I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat
    but when I open a web page that I need to allow me to display and modify PDF files it is not working.
    I checked the following web page
    Troubleshoot Safari plug-in | Acrobat X, Reader X
    that is recommending the following:
    The AdobePDFViewer plug-in is used to display PDF files in Safari using Acrobat and Reader.
    This plug-in is installed as part of the Acrobat X or Reader X installation. The location of this plug-in is:
    /Library/Internet Plug-ins/AdobePDFViewer.plugin
    but after the new installation with this folder is completely empty and I am still
    unable to open these pdf.
    Does anybody knows anything else I can do?
    Best regards
    Ramon

    Moving this discussion to the Adobe Reader forum.

  • I need to configure a new hard disk as backup disk for time machine. The set up program is running and it says it will take 9 days to backup about 56 GB. Is it normal ?

    I need to configure a new hard disk as backup disk for time machine.
    The set up program is running since two hours and it says it will take 9 days to backup about 56 GB.
    Is it normal ?

    Roberto 17 wrote:
    I started this morning at 12 and after 5 hours now the backup is about 6 GB up on 56 GB.
    The new HD is a WD My Passport Edge 500 GB capacity
    5 hours to do 6 GB of transfer is NOT normal, even for USB 2.0 so there's something wrong here. I'd say cancel it, wipe the drive and then test the integrity of the drive. Do some file transfers over to and see if it's behaving normally. It could be a bad USB cable, it could be a bad drive or bad enclosure. As it's new, I suspect you haven't really put it through its paces yet and it's important to do that first before commissioning it to serve as your "reliable backup."

  • You may need to configure the connection settings in the deployment descrip

    Hi All
    I am new to BPEL and going through Order Booking Tutorial (using 10.1.3.4 version of opmn ) .
    I have a problem in 'Designing the Database Adapter to Insert Data' Chapter.
    I have installed Oracle 10g Express Edition and BPEL Process Manager on my local system.
    In the Example it has been asked to create a daabase connection with Third Party JDBC Driver. Instead I have created a database connection with Oracle(JDBC) Driver.So i didnt have to register any third party driver.
    I cud access the Order/OrderItems table as well .
    I Deployed the same on the server.But while running the process I get following error--
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    nested exception is:
         ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore. [Caused by: Listener refused the connection with the following error:
    ORA-12519, TNS:no appropriate service handler found
    The Connection descriptor used by the client was:
    localhost:1521:XE
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.4.0) (Build 080602)): oracle.toplink.exceptions.DatabaseException
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    I have checked several post on this error but every post talks about third party database.I have used Oracle Database only so why/What shud I change anything in oc4j-ra.xml?? This is my doubt .
    Pls help me on this .Also Let me knowe in my case is there any need to create the datasource.?I am low at concept of database.
    Pls help
    Regards
    Naveen

    Hi
    I am trying to insert orader and order Items as given in the Order booking tutorial..
    Here are the files description
    .wsdl file looks like
    <service name="DBInsert">
    <port name="DBInsert_pt" binding="tns:DBInsert_binding">
    <jca:address location="eis/DB/MyConnection"
    UIConnectionName="MyConnection"
    ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
    mcf.DriverClassName="oracle.jdbc.OracleDriver"
    mcf.PlatformClassName="oracle.toplink.platform.database.oracle.OraclePlatform"
    mcf.ConnectionString="jdbc:oracle:thin:@localhost:1521:XE"
    mcf.UserName="system"
    mcf.Password="6672B62098892995C8B651EFDF798A59"
    />
    </port>
    </service>
    data source file looks like
    <connection-pool name="MyConnection">
    <!-- (DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=nakhanna)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=XE))) below is in the form: [hostname]:[port]:[oracle sid]" -->
    <connection-factory factory-class="oracle.jdbc.OracleDriver" user="orabpel" password="->pwForOrabpel" url="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=nakhanna)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=XE)))"/>
    </connection-pool>
    <managed-data-source name="MyConnection" connection-pool-name="MyConnection" jndi-name="jdbc/MyConnectionDS"/>
    </data-sources>
    oc4j-ra.xml looks like
    <connector-factory location="eis/DB/MyConnection" connector-name="Database Adapter">
              <config-property name="xADataSourceName" value="jdbc/MyConnectionDS"/>
              <config-property name="dataSourceName" value=""/>
              <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
              <config-property name="usesNativeSequencing" value="true"/>
              <config-property name="sequencePreallocationSize" value="50"/>
              <config-property name="defaultNChar" value="false"/>
              <config-property name="usesBatchWriting" value="true"/>
              <connection-pooling use="none">
              </connection-pooling>
              <security-config use="none">
              </security-config>
         </connector-factory>
    ##################################################################3
    Still I get the same error .
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>null</code>
    </part><part name="summary"><summary>file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_FulfillOrder_4.0_e77c64251e45eb4711a3a093f92e6a86.tmp/DBInsert.wsdl [ DBInsert_ptt::merge(OrdersCollection) ] - WSIF JCA Execute of operation 'merge' failed due to: java.util.MissingResourceException
    java.util.MissingResourceException
    ; nested exception is:
         ORABPEL-00001
    java.util.MissingResourceException
    java.util.MissingResourceException
    java.util.MissingResourceException
    </summary>
    </part><part name="detail"><detail>null</detail>
    </part></bindingFault>
    Pls let me know if something looks wrong in the above files
    Thanks
    naveen

  • Need to configure output type for adobe form

    Hello All,
    I need to configure output type for Adobe Form thru NACE. What would be print program and how do I call my form from that program? and, what would be the FORM routine for that form in NACE?
    I'm little confused, Pls I need your help.
    Thanks in advance,
    Chandra

    Hi,
    Just before few weeks we did this task.
    Say for example if you want to print PO details through ADOBE form instead of normal sapscript layout or standard MEDRUCK, you can follow the following steps.
    1. Design the form in SFP tcode, by passing the necessary inputs through form interface.
    2. Then use tcode tcode NACE and select EF as application and click output types button on the          application tool bar. Select NEU output type and double click processing routines on left side.
    3. Then, in the right side of the screen we can see the calling program and the form (may be sapscript or smartform) whatever used.
    4. For form names we have two options in NACE tcode.
    One is Form and the otherone is PDF/Smartform Form. If you are using adobe form give your form name under PDF/Smartform and also select PDF under the type option in the same screen.
    This worked perfectly for us. But pass the required parameters to the form from the routine used in standard program.
    If any queries please post it.

  • I need to configure a smtp authenticated. How do i do that?

    I need to configure a smtp authenticated. How do i do that?

    Just sync your old phone with your computere with itunes and when you sync your new phone it will put your muxic and dcontacts into the new phone. Make sure you have sync checked in the settings box.

  • ThinkPad 2nd HDD Adapter for T40 -do I need to configure the hard drive?

    I purchased a new Samsung HM160HC hard drive and a Thinkpad 2nd HDD adapter for Ultrabay slim for a Thinkpad T40. When I install the PATA hard drive into the adapter do I need to configure the hard drive as slave, cable select, or leave as master? Any help would be appreciated.   

    Reformat usiing the original install disc then update to v10.6.8.
    Mac OS X 10.6: Reinstalling Mac OS X

  • WVRS4400N wireless router - What do i need to configure for VPN software to work?

    Hi,
    My VPN software can't establish connection ever since i changed to the WVRS4400N router.  What do i need to configure inorder to establish a VPN connection to the outside network?
    On a side note, i am not sure if i am on the right track but i read a little bit about setting IPSec Pass-Through.  If this is the case, do i really need to get all the remote connection information inorder for my VPN software to work?  And under Key Management setting, what would my pre-shared key use for (assuming this is a key i generated)?
    Better yet, how can i get the vpn software to work with only having access to the internet without going through alot of hassle???
    Thanks ahead for any solutions given...

    Thank you for responding.
    If i am not mistaken, i believe what you are suggesting is setting up a VPN connection to my local area network and use the bundled Quick VPN client software to connect.
    I currently have Sentinel VPN software on my laptop and it is configured to have access to my work's network. In most cases, i am able to connect to work without a problem as long as i have internet connection. Apparently, my vpn doesn't work when i am running it behind the WVRS4400N router. This problem didn't occur with my previous router. I believe the WVRS4400N router is blocking the connection by default. What can i do or configure to resolve this?

  • Which runtime systems do i need to configure in CMS

    Hi,
    We have development,Test,Production systems in the system landscape.
    So What runtime systems do i need to configure in CMS
    I am assuming it should be
    Development-Development
    Consolidation-Test
    Test-?
    Production-Production
    Which runtime system do i need to configure for test system in my landscape(is it consolidation or test).what exactly is the role of consolidation runtime system.is it mandatory to configure that runtime system
    Points will be rewarded for the helpful answer

    HI Bala,
    configure system as
    Development-Development
    Consolidation- if you dont have server then dont configure it.
    Test-Test
    Production-Production
    NWDI upto consolidation is driven by activities. and assembly to production is driven by SCA. i.e complete software packaging
    as Test server means where you can test your complete application.That means you need to deploy whole application  as a sca file.
    and in NWDI sca file is generated after assembly.
    consolidation is only for verifying you changes before packaging you application. it can't be a test server.

  • Do I need to configure something different,​when I'm using SCXI-1000,​1102 and 1180, together.?

    I am wanting to use SCXI-1000 with 2 modules SCXI-1102, but I also want to access the DAQ (ni pci 6035), through the SCXI-1180, to access some Digital I/O. How can I do that? What cable type between the SCXI and DAQ (6035) do I need to use? Do I need to configure something different? When I only configure the SCXI-1000 and SCXI-1102, I use the cable with 68 pins in both extremities and I don't have problems. But when inserting SCXI-1180, a following error message it is generated:
    "Dev1" digital lines 0, 1, 2 & 4 are in use by the connected SCXI subsystem.
    It happens when observing DIGITAL I/O in Test Panel in M A X.
    thanks
    Brás

    Thanks for the information! The examples sent me, were useful, but always I use Digital functions, just after I can't perform tests with SCXI, it doesn't respond, it becomes inactive until I reset Traditional NI-DAQ Devices.What can I do to have the VI attached running well? Can you help me?
    thanks
    José Brás
    Attachments:
    E_ser_dig_test.vi ‏109 KB

  • Do I need to configure my iPhone 4 to make it work in Argentina. Had a contract in England but moved overseas. I'm sure that it is unlocked.

    Do I need to configure my iPhone 4 to make it work in Argentina. Had a contract in England but moved overseas. I'm sure that it is unlocked.

    Easy to find out, put in a different sim (borrow from someone) and if it works, you are good to go.
    Or call Apple Care and ask if your iPhone is unlocked. If not, get it unlocked first before you moved since only the carrier you are with can officially unlock the iPhone.
    Yes, you need to get a new cellular sim card from the new carrier, you change your Apple ID's Country/Region.

  • Newbie in need assistance configuring iChat server (LDAP).

    I needs some assistance in setting up iChat server for our office. I running LDAP and I have the iChat server basics setup and it is working, however my boss wants to set up different domains in iChat for the various departments (i. e. Accounting, Sales, production, etc.). These will not be accessed outside of the building. He states I need to configure additional search bases. It is at this point I am drawing a blank.

    Hi Paul,
    An intersetng one.
    James Weston may be able to post more on this.
    iChat can Chat to other Macs using the Bonjour option
    (Click the Apple/Command key + 2 together)
    Bonjour has to be enabled in the Account section of iChat Preferences.
    All computers have to be in the same subnet
    This is going to be the sticking point.
    Lets say you have one routing device for your local net and it issues all computers and devices with IP Addresses in the range 192.168.1.xxx then all the computers on on the same Subnet as there is only one LAN.
    If you have subsequent routers that change the IP addresses to somethng like 192.168.1.xxx for sales and 192.168.2.xxx fo accounts etc, then you will have subnets. Computers in 192.168.1.xxx will only see other Bonjour/iChat computers in that group and the same for 192.168.2.xxx but not from group to group.
    To show up in the Bonjour window iChat takes the Address Book Me card entry of the MAc user account and broadcasts it to the other computers.
    This would give you an option of using this method to pass out information where people were. The revelant "Sales" or "Accuounts" could be added to their Real Names.
    (Bonjour would have problems if several computers were changed to read just Sales as the Address Book name).
    An alternative would be to set up a VPN and have all computers on the same network for Bonjour independent of any of network they were on.
    James knows more about networks than I do and may have other information that may help.
    Ralph

  • Do we need to configure webgate & HTTP server two times

    Hi Experts,
    Our requirement is need to integrate EBS and OBIEE with OAM 11g for SSO.
    For integrating EBS, oracle recommanding HTTP server, webgate and accessgate.
    At the same time do we need to configure separate webgate and HTTP for OBIEE also otherwise we can use common webgate & HTTP server for both EBS and OBIEE.
    Can anyone please advise me.
    Thanks in advance,
    903079.

    Hi Hussein,
    Thanks for reply,
    EBS release : 12.1.3
    OBIEE : 11.1.1.5
    OS : RHEL 5.3 x86_64
    I am following the MOS doc. 1309013.1
    Regards,

  • My Logitech bluetooth laser travel mouse does not connect at startup to my recently upgraded iMac. Even when this is configured. I need to configure the mouse everytime after startup!!

    My Logitech bluetooth laser travel mouse does not connect at startup to my recently upgraded iMac. Even when this is configured. I need to configure the mouse everytime after startup!!... It worked fine with previous OS X .... How can I fix this??

    My Logitech bluetooth laser travel mouse does not connect at startup to my recently upgraded iMac. Even when this is configured. I need to configure the mouse everytime after startup!!... It worked fine with previous OS X .... How can I fix this??

Maybe you are looking for

  • How do I access ACR using Photoshop CC?

    How do I access ACR using Photoshop CC?  Can I download the latest version of ACR for my camera and use the plug-in with Photoshop CC?  When I had CS5 I could easily access ACR.  Now I have CS6/CC I don't seem to be able to edit my images in ACR.  Wh

  • I lost my "recently added" file and can't get it back.

    I lost my "recently added"  folder and can't get it back.

  • Time Machine Back up

    According to Disc utility my four internal hard drives have used a total of 1050 GB or 1.05 TB. My back up is an external 2TB drive. Time has warned that my 2TB is almost full which I can see it is in finder. My question is: If I have used 1.05 TB of

  • Case insensitive NSS volume on cluster

    We are trying to migrate from Apache2 running on a Netware server to a OES2 Linux server running on a two node cluster. The Cluster Volume is NSS and when Apache runs we appear to have a case sensitivity issue. I have read on the Forums that NSS can

  • Every day Brocken Pipe in the LogViewer

    Hello togehter, We have in our production system every day at the same time (circadian) following error in the LogViewer: Date : 08/08/2006 Time : 22:34:21:410 Message : Aug 8, 2006 10:34:21 PM  ...ent.lib.protocol.requests.RequestBase [SAPEngine_Sys