Commit graph

404 commits

Author SHA1 Message Date
Andrei-Liviu Simion
371c840499 video_common: XVID_VM_WSXGA_60_P->XVID_VM_1680x1050_60_P.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:28 +05:30
Andrei-Liviu Simion
bb2c86bf3f video_common: XVID_VM_WUXGA_60P->XVID_VM_1600x1200_60_P.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:27 +05:30
Andrei-Liviu Simion
b826d583da video_common: Reordered video timing table. Sorted by HRES-VRES-FR.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:26 +05:30
Andrei-Liviu Simion
f82e7bd95d video_common: Added refresh rate enumeration of 100 Hz.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:26 +05:30
Andrei-Liviu Simion
1216b005a0 video_common: Removed DMT IDs since they aren't being used.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:25 +05:30
Andrei-Liviu Simion
5e3c1dba5a dp: rx: Moved xdprx.h include below XDp_Config type definition dependency.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:24 +05:30
Andrei-Liviu Simion
0b0c1897cc dp: rx: Add XDprx_CfgInitialize.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:23 +05:30
Andrei-Liviu Simion
f1d01171a9 dp: rx: Added receiver (RX) skeleton including the XDprx instance structure.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:22 +05:30
Andrei-Liviu Simion
e6006d9818 dp: XDptx_TimerHandler->XDp_TimerHandler.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:21 +05:30
Andrei-Liviu Simion
0a72981dcd dp: Allow differentiate between XDptx and XDprx structures from a void *.
The XDp_Config structure is moved to the top of the instance structure for
XDptx. The XDprx structure, once implemented, will keep the XDp_Config structure
as the first member.

This allows functions to accept a void * argument and determine whether the
pointed structure is of type XDptx or XDprx by accessing the XDp_Config member's
IsRx member.

The reason this works is because XDp_Config is the first member in the
structure's order so the configuration structure will be placed in the same
relative location for both the XDptx and XDprx structures.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:20 +05:30
Andrei-Liviu Simion
81cb2fe913 dp: Export IP configuration parameter for the DisplayPort core type - TX or RX.
Exporting the C_FLOW_DIRECTION configuration parameter.
XDp_Config's IsRx member specifies that the core is an RX if = 0, TX if = 1.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:19 +05:30
Andrei-Liviu Simion
204d93a1fe dp: Compilation reordering for backwards compatibility.
User application may either include xdp.h or xdptx.h to use DisplayPort driver
functionality. This is useful when upgrading to an existing application to a
newer driver version.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:18 +05:30
Andrei-Liviu Simion
cfc2fec774 dp: Number of DisplayPort instances now uses the new driver naming prefix.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:17 +05:30
Andrei-Liviu Simion
eb9df3f478 dp: XDptx_ConfigTable->XDp_ConfigTable.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:17 +05:30
Andrei-Liviu Simion
f44bb328d6 dp: XDptx_Config->XDp_Config
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:16 +05:30
Andrei-Liviu Simion
0aee196be6 dp: LookupConfig function and sinit file adopt new driver naming.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:15 +05:30
Andrei-Liviu Simion
202d0114c1 dp: Initial version based on dptx.
Dptx driver moved to a common DisplayPort driver, Dp, in order to have a common
location for both transmit (Dptx) and receive (Dprx).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:14 +05:30
Andrei-Liviu Simion
d94ec8f60e dptx: Updated Doxygen documentation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:12 +05:30
Andrei-Liviu Simion
b37ecd25c7 dptx: Updated modification history.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:11 +05:30
Andrei-Liviu Simion
0c7ec45a82 dptx: Updated driver information in documentation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:10 +05:30
Andrei-Liviu Simion
1ae5c266b8 dptx: Optimized some video calculations.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:10 +05:30
Andrei-Liviu Simion
a22e5d1367 dptx: Update to use common video library.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:09 +05:30
Andrei-Liviu Simion
25bab74b50 video_common: Updated Makefile.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:08 +05:30
Andrei-Liviu Simion
5d88b65e1c video_common: Consistency modifications.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:07 +05:30
Rohit Consul
86329977c8 video_common: Added a structure definition to represent a video window.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:06 +05:30
Rohit Consul
49899872e4 video_common: Added structure definition to represent a video stream.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:06 +05:30
Rohit Consul
28e98ff731 video_common: Added color conversion output range enumeration.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:05 +05:30
Rohit Consul
b2e71e7c25 video_common: Added color space conversion standards enumeration.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:04 +05:30
Rohit Consul
dcec31126a video_common: Added color space and chroma format enumeration.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:03 +05:30
Rohit Consul
c4eb0ecff4 video_common: Added data width enumeration.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:02 +05:30
Andrei-Liviu Simion
db1a8defe5 video_common: Added preferred timing mode (PTM) print to EDID example.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:01 +05:30
Andrei-Liviu Simion
8e002b3dbf video_common: Added EDID preferred timing mode to resolution support check.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:00 +05:30
Andrei-Liviu Simion
aec6a22d78 video_common: Added EDID parsing of the preferred timing mode (PTM).
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:00 +05:30
Andrei-Liviu Simion
bd41eea206 video_common: Fixed some video timings.
A few DMT resolutions use borders which weren't being taken into account for
the horizontal and vertical total.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:59 +05:30
Andrei-Liviu Simion
6c95d14f38 video_common: Fixed some video timing table entries. Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com> 2015-04-26 10:31:58 +05:30
Andrei-Liviu Simion
2d04e222e0 video_common: Added Makefile and updated MDD for compilation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:57 +05:30
Andrei-Liviu Simion
f9b1241689 video_common: Merged video mode tables.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:56 +05:30
Andrei-Liviu Simion
da4deba46a video_common: Added EDID standard timings to resolution support check.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:56 +05:30
Andrei-Liviu Simion
d43640ecf6 video_common: Modified frame rate enumerations to equal their real values.
For more robust use in applications and drivers.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:55 +05:30
Andrei-Liviu Simion
5ea8a4237e video_common: Added a function to check if a given resolution is supported.
Only checking established timings for now.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:54 +05:30
Andrei-Liviu Simion
1c1725f010 video_common: Added additional frame rates to the enumeration.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:53 +05:30
Andrei-Liviu Simion
e10c5b0ec2 video_common: Validity check in EDID example for standard timings parsing.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:53 +05:30
Andrei-Liviu Simion
8c7507f4f2 video_common: Took out the DisplayID parsing for now.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:52 +05:30
Andrei-Liviu Simion
60cde56abe video_common: Added EDID example that prints decoded information.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:51 +05:30
Andrei-Liviu Simion
1cc0680b63 video_common: Clean-up new video timings.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:50 +05:30
Rohit Consul
4be8a02803 video_common: Added video timings.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-04-26 10:31:49 +05:30
Andrei-Liviu Simion
528c43c8f0 video_common: Moved DMT table into generic timing table.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:48 +05:30
Andrei-Liviu Simion
3270234112 video_common: Added initial EDID parser.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:47 +05:30
Andrei-Liviu Simion
1ee87f6b12 video_common: Added display monitor timings (DMT).
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:46 +05:30
Andrei-Liviu Simion
2b2f1a2fa6 video_common: Added header file skeleton.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:45 +05:30