Commit graph

1365 commits

Author SHA1 Message Date
Rohit Consul
3f21bcd139 v_vscaler: Add filter table selection logic
There are 4 filter coefficient tables available. The table to be
loaded in IP register bank is determined by the scaling ratio

 Scale Up: Always use 6tap
 Scale Dn: Different table selected based on scaling ratio

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-30 22:01:30 +05:30
Rohit Consul
fa04ca480c v_hscaler: Add filter table selection logic
There are 4 Filter coefficient tables available. The table to be
loaded in the IP is determined by the scaling ratio
 Scale Up: Always use 6tap
 Scale Dn: Different table selected based on scaling ration

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-30 22:01:15 +05:30
Rohit Consul
687e6c1868 v_hcresampler: API updated to align with vprocss update
Updated API name to load external coefficients to align with
vprocss

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-30 22:00:50 +05:30
Rohit Consul
5914c4f4f7 v_vcresampler: API updated to align with vprocss
Updated API name to load external coefficients to align with
vprocss update.

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-30 21:58:47 +05:30
Jyotheeswar Reddy
aa595fb200 ipipsu:example: Fix test device id
Modify example to use the first available IPI device slot
for testing

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-26 19:36:43 +05:30
Anurag Kumar Vulisha
6d847e63b2 vdma: Add checks to align hsize and stride based on channel direction
When DRE is not enabled,adjust hsize and stride to memap data width on write channel(S2MM).
On read channel(mm2s), adjust hsize to stream data width and stride to memap data width.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-26 19:01:22 +05:30
P L Sai Krishna
5d923bad10 spips: Removed polled, interrupt tests from periph tests.
This patch modifies the test_app tcl file so that polled,
interrupt tests are removed from the peripheral tests.
Since we dont know whether peripherals are connected to
SPIPS or not.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-26 18:59:00 +05:30
P L Sai Krishna
e9557b1c36 iicps: Removed polled, interrupt tests from periph tests.
This patch modifies the test_app tcl file so that polled,
interrupt tests are removed from the peripheral tests.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-26 18:58:29 +05:30
Kinjal Pravinbhai Patel
6ea9d07985 sw_services: added check of R5 processor for xilopenamp library
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-for-series: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-26 18:23:26 +05:30
Kinjal Pravinbhai Patel
9e44967224 sw_apps: openamp echo test is modified to support freertos
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-for-series: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-26 18:23:18 +05:30
Kinjal Pravinbhai Patel
0d7905e608 sw_apps: openamp rpc demo application is modified
This patch changes openamp rpc demo application linker script
to keep everything in DDR except vectors. It fixes the order
of text carve out memory.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-for-series: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-26 18:23:08 +05:30
Kinjal Pravinbhai Patel
e7d500deb7 sw_apps: openamp matrix multiply application is modified
This patch changes linker script to keep everything into DDR
except vectors. It removes frequent call to enable interrupt
and removed disable interrupt in between. It also fixes the
order of text carve out entry.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-for-series: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-26 18:22:45 +05:30
Anirudha Sarangi
77c1e57aee FreeRTOS_App: Update the FreeRTOS hello world application
This patch updates the FreeRTOS Hello World Demo application to
make it more meaningful. Also it updates the tcl to make it work for
R5, A9 and MicroBlaze.

Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-08-26 18:09:10 +05:30
Anirudha Sarangi
661f0db024 FreeRTOSBSP: Update tcl file to fix issues for CortexA9 case
For CortexA9, the tcl was exporting a wrong hash define to clear
the interrupts. This patch fixes that issue.

Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-08-26 18:08:56 +05:30
Anirudha Sarangi
7d03f237e7 FreeRTOSBSP: Make changes in mld file to show correct tick setup
The existing mld file has incorrect tick_setup category. The patch
fixes it. The patch also does some cleanup to remove unnecessary
comments.

Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-08-26 18:07:59 +05:30
Kinjal Pravinbhai Patel
984a96b8c4 sw_apps: openamp matrix multiply tcl modified for hsi change
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-25 20:27:05 +05:30
Sarat Chand Savitala
ceb7c06ab2 sw_apps:zynqmp_fsbl: Disable early handoff by default
Currently R5 applications are handedoff immediately after they are loaded.
This feature is configurable in FSBL and now with this change, early handoff
is disabled by default. User can enable this feature again by defining
FSBL_EARLY_HANDOFF_EXCLUDE_VAL as 1.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-25 18:07:54 +05:30
Kedareswara rao Appana
bcdb65d21b axidma: Mark only BD Memory region as uncacheable
This patch updates the Xil_SetTlbAttributes to mark the BD memory region
only uncaheable and updated the cache flush/invalidate api's for a53 case.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-24 23:10:11 +05:30
Rohit Consul
478171fa76 vprocss: Align with SSW coding guidelines and few bug fixes
-Updated driver structure, variable and API names to align with
 defined coding guidelines
-Load scalers and chroma resampler coefficients only if the
 instantiated configuration supports it

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-24 23:09:53 +05:30
Rohit Consul
a9740e3b93 v_vscaler: Coefficient register base address offset changed in IP
Coefficient register base address offset changed in IP from
0x400 to  0x800 to accomodate all supported taps.
Split Phase and Coefficient programming logic in 2 independent
API's. For Bicubic and Bilinear scalers only Phase needs to
be programmed.

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-24 23:09:34 +05:30
Rohit Consul
53ce20d940 v_hscaler: Coefficient register base address offset changed in IP
Coefficient register base address offset changed in IP from 0x400 to
0x800 to accomodate all supported taps.
Split Phase and Coefficient programming logic in 2 independent
API's. For Bicubic and Bilinear scalers only Phase needs to be
programmed.

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-24 23:09:19 +05:30
Rohit Consul
61d8e9d282 v_vcresampler: Program coefficients only if sampler type is FIR
Added enumeration for supported resampling algorithms.
Coefficients needs to be programmed only for FIR mode. Bounded
coefficient programmin API with required condition.
Updated debug API to report resampler type and associated
coefficients

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-24 23:08:51 +05:30
Rohit Consul
e09c164171 v_hcresampler: Program coefficients only if sampler type is FIR
Added enumerations to describe supported resampling algorithms
Only FIR mode needs the programmable coeffiecients. Bounded the
coefficient programming API with the required condition.
Also updated debug API to report out the resampling type and
associated coefficients

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-24 23:08:19 +05:30
Rohit Consul
ee628ac796 v_deinterlacer: IP Bus Name prefix change
IP bus name prefix changed from "AXILITES" to "CTRL" to align
with all other HLS IP's in video processing subsystem. Generated
driver updated.

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-24 23:07:56 +05:30
Bhavik Ameta
98f41cbf14 sw_services:xilsecure: Removing NULL checking asserts on input buffer locations to correct assert failures
Removing NULL checking asserts for the data buffers where 0x00 is a possible
location. This will resolve the assert failures in xilsecure.

Signed-off-by: Bhavik Ameta <bameta@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-24 23:07:35 +05:30
Naga Sureshkumar Relli
48471fbde6 ddrps: Add support for Packaged BD designs
This patch adds Packaged BD support to ddrps.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-24 23:06:55 +05:30
Naga Sureshkumar Relli
614884ae86 iomodule: Fix for iomodule without external interrupts
This patch updates the iomodule tcl to handle, if iomodule doesn't
have interrupts enabled and also updates the canonical defines for
iomodule GPO*,INTC_LEVEL_EDGE,INTC_POSITIVE.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-21 17:43:07 +05:30
Kedareswara rao Appana
fed11b878a axicdma: Fix compilation error due to wrong define
This patch fixes the wrong ifdef in the example.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by:  Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
2015-08-21 17:13:18 +05:30
Kedareswara rao Appana
f2fc9f0ca9 axicdma: Mark only BD Memory region as uncacheable
This patch updates the Xil_SetTlbAttributes
to mark the BD memory region only uncaheable and
updated the cache flush/invalidate api's for a53 case.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by:  Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
2015-08-21 17:10:22 +05:30
Kinjal Pravinbhai Patel
b38a8677a2 sw_apps: modified openamp matrix multiply for proper OS check
This patch modifies openamp matrix multiply application tcl file
to check if OS is standalone or freertos for which the application
is being built

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-21 15:01:41 +05:30
Kedareswara rao Appana
1f48a8019c axidma: Handle cache flush/invalidate api's properly for a53
In a53 processor the Cache flush api does both fulsh and invalidate
of the memory once the dma transfer is done before checking the
data we shouldn't invalidate the memory unlike the a9/microblaze case.
This patch updates the axidma examples for the same.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-08-21 14:16:24 +05:30
Kedareswara rao Appana
c6b7045164 axicdma: Handle cache flush/invalidate api's properly for a53
In a53 processor the Cache flush api does both fulsh and invalidate
of the memory once the dma transfer is done before checking the
data we shouldn't invalidate the memory unlike the a9/microblaze case
this patch updates the axicdma examples for the same.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-08-21 14:14:31 +05:30
Andrei-Liviu Simion
f0cdd32e75 hdcp1x: hdmi: rx: Removed DDC enable.
Should be called from application instead.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-21 13:50:11 +05:30
VNSL Durga
d794be5726 TPG: Modified IP pheripheral support
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-21 13:49:49 +05:30
Venkata Naga Sai Krishna Kolapalli
0546b2b8db Coresight : Modified makefile according to latest compiler
This patch modifies the makefile by removing the unnecessary
compiler checks. With the latest compiler names, this check
is not required.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
Acked By: Sadanand Mutyala <sadanan@xilinx.com>
2015-08-21 10:58:50 +05:30
Shubhrajyoti Datta
0ede20560d tft: Add 64-bit support
Add support for 64 bit support

Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-21 10:56:31 +05:30
Kinjal Pravinbhai Patel
f119e134e9 sw_apps: modified openamp rpc demo application
This patch modifies openamp rpc demo to support the latest kernel
changes by modifying IPI channel bit mask, moving the code to DDR
from 0xfffc0000 to avoid conflict with ATF

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:14:25 +05:30
Kinjal Pravinbhai Patel
ebb97640ae sw_apps: modified openamp echo test application
This patch modifies openamp echo test to support the latest kernel
changes by modifying IPI channel bit mask, moving the code to DDR
from 0xfffc0000 to avoid conflict with ATF

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:14:11 +05:30
Kinjal Pravinbhai Patel
fefbadcdf0 sw_apps: modified openamp matrix_multiply application
This patch modifies openamp matrix multiply application to pick
correct linker script for baremetal and freertos. This patch
also modifies linker scripts to put the data into DDR instead
of part of OCM where ATF lies. This patch modifies IPI mask in
openamp application to support it with latest linux changes

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:13:59 +05:30
Kinjal Pravinbhai Patel
a23fcf5be9 sw_services: openamp: added missing include file for freertos
This patch modifies openamp library to include missing header
files to bm_env.c for freertos.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:13:48 +05:30
Kinjal Pravinbhai Patel
07e5abb299 bsp: R5_freertos: modified freertos asm_vectors
This patch modifies asm_vectors in freertos R5 to put the vectors
beyond 32MB from code

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:13:33 +05:30
Kedareswara rao Appana
cbf1285e40 axidma: Fix bug in the number of words in a buffer descriptor
With the 64-bit support a new filed got added to the buffer
descriptor the number of words in a buffer desctipor
should be changed accordingly. This patch updates the same.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 22:51:20 +05:30
Kedareswara rao Appana
004d36f379 lwip: Fix bsp compilation errors when elite is configured with interrupts though a concat IP
This patch fixes the bsp compilation errors when elite is configured
with interrupts though a concat IP.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 22:35:57 +05:30
Shubhrajyoti Datta
6fd0d9fb68 trafficgen: 64-bit support
Add 64-bit support for traffic generator.

Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-20 22:05:39 +05:30
Harini Katakam
ed4a66f256 lwip: Give error message when A53 32 bit compiler is used
Error out from tcl when A53 32 bit compiler is used as lwip
library does not support it.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-19 23:18:56 +05:30
Andrei-Liviu Simion
9fbce794b4 video_common: Added new timings for resolutions.
Interlaced:
- 1440x480 @ 60Hz
- 1440x576 @ 50Hz

Progressive:
- 1440x240 @ 60Hz
- 1680x720 @ 50Hz,60Hz,100Hz,120Hz
- 1680x1050 @ 50Hz
- 1920x1080 @ 100Hz,120Hz
- 2560x1080 @ 50Hz,60Hz,100Hz,120Hz
- 4096x2160 @ 24Hz,25Hz,30Hz,50Hz,60Hz

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:18:01 +05:30
Andrei-Liviu Simion
4b989a1221 hdcp1x: cipher: Fixed disable function for unplug scenario.
During an unplug event, the clock may not be stable which will
cause the disable function to stall.

Removing the wait for the encryption function to finish after the
cipher has been disabled will not affect functionality.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:17:49 +05:30
Andrei-Liviu Simion
ea3f5c9215 hdcp1x: Added an API to check the traffic's encryption status.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:17:39 +05:30
Andrei-Liviu Simion
71c5daf609 hdcp1x: cipher: No need to use a wrapper function around enable/disable.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:17:24 +05:30
Andrei-Liviu Simion
c76fca1e0f hdcp1x: Added local KSV debug to the info print.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:16:59 +05:30