Commit 1917775d authored by Yuri Nenakhov's avatar Yuri Nenakhov

Description update

parent b2c66011
...@@ -229,8 +229,20 @@ class X393McntrlDmatest(object): ...@@ -229,8 +229,20 @@ class X393McntrlDmatest(object):
and transfer data to fb and transfer data to fb
@pages Number of data memory pages @pages Number of data memory pages
@source Source offset in buffer (pages) @source Source offset in buffer (pages)
@startaddr,@fullwidth,@width,@leftoffset,@topoffset,@linemultiplier - Set framebuffer memory region
see _set_fb_region() to transfer data from system memory
Default values allow to read framebuffer at
0x20, 0x21... lines, 0th column, 0..7 memory banks
with 32x32 region showing 1 recorded line
Example: set_and_read 32 32 0 0x20 0 1 1
@startaddr Starting address of data array in framebuffer
@fullwidth Period of lines in memory
@width Length of line
@leftoffset Data offset from beginning of line
@topoffset Data offset from zeroth line
@linemultiplier set this value to a number of lines
which form 1 memory page (to sync
allocated memory size in sysmem and fb)
''' '''
self._set_source_region(source,pages) self._set_source_region(source,pages)
self._set_fb_region(startaddr,fullwidth,width,leftoffset,topoffset,linemultiplier) self._set_fb_region(startaddr,fullwidth,width,leftoffset,topoffset,linemultiplier)
...@@ -261,8 +273,20 @@ class X393McntrlDmatest(object): ...@@ -261,8 +273,20 @@ class X393McntrlDmatest(object):
generate randomly generate randomly
@dest Destination offset (in pages) left 'None' to @dest Destination offset (in pages) left 'None' to
generate randomly generate randomly
@startaddr,@fullwidth,@width,@leftoffset,@topoffset,@linemultiplier - Set framebuffer memory region
see _set_fb_region() to transfer data from system memory
Default values allow to read framebuffer at
0x20, 0x21... lines, 0th column, 0..7 memory banks
with 32x32 region showing 1 recorded line
Example: set_and_read 32 32 0 0x20 0 1 1
@startaddr Starting address of data array in framebuffer
@fullwidth Period of lines in memory
@width Length of line
@leftoffset Data offset from beginning of line
@topoffset Data offset from zeroth line
@linemultiplier set this value to a number of lines
which form 1 memory page (to sync
allocated memory size in sysmem and fb)
@return True if successful @return True if successful
''' '''
self.dmatest_set_buffer_from_sysfs() self.dmatest_set_buffer_from_sysfs()
...@@ -288,8 +312,20 @@ class X393McntrlDmatest(object): ...@@ -288,8 +312,20 @@ class X393McntrlDmatest(object):
generate randomly generate randomly
@dest Destination offset (in pages) left 'None' to @dest Destination offset (in pages) left 'None' to
generate randomly generate randomly
@startaddr,@fullwidth,@width,@leftoffset,@topoffset,@linemultiplier - Set framebuffer memory region
see _set_fb_region() to transfer data from system memory
Default values allow to read framebuffer at
0x20, 0x21... lines, 0th column, 0..7 memory banks
with 32x32 region showing 1 recorded line
Example: set_and_read 32 32 0 0x20 0 1 1
@startaddr Starting address of data array in framebuffer
@fullwidth Period of lines in memory
@width Length of line
@leftoffset Data offset from beginning of line
@topoffset Data offset from zeroth line
@linemultiplier set this value to a number of lines
which form 1 memory page (to sync
allocated memory size in sysmem and fb)
@return None @return None
''' '''
while True: while True:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment