Commit graph

865 commits

Author SHA1 Message Date
Andrei-Liviu Simion
245566a2c4 dptx: Added macro header comments describing new functionality.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:44 +05:30
Andrei-Liviu Simion
87692a423d dptx: Improved sink reordering.
The sink reordering would fail on retrieval of tiling information from a sink
that does not have a Tiled Display Topology (TDT) data block. This behavior is
incorrect since subsequent sinks may be a part of a tiled display.
Modified the function to be void.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:44 +05:30
Andrei-Liviu Simion
139854677e dptx: Added function header comments describing new functionality.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:44 +05:30
Andrei-Liviu Simion
fe2c47e815 dptx: Added functions that reorder the sink numbering of the topology.
Added functionality that reorders the sink list such that topologies containing
tiled display(s) will have the contained sinks reordered in a consistent manner.

The need for such functionality exists because not all tiled displays will have
the same internal topologies.
It was observed that two 4k2k MST based monitors (tiled display, 2 sinks) from
different manufacturers would have the left and right images swapped using
identical stream-to-sink mappings.
Thus, the need to obtain the tiled display topology information of all sinks and
their relative tile location is required to send the correct stream to the
desired sink.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:44 +05:30
Andrei-Liviu Simion
69fe13cc3e dptx: Added macros related to tile ordering.
These macros parse tile location, total horizontal and vertical tiles, and tile
order from the Tiled Display Topology section data block.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:43 +05:30
Andrei-Liviu Simion
b91ce402c0 dptx: Added a function that retrieves the Tiled Display Topology of a sink.
Given a sink, the function will attempt to retrieve the Tiled Display Topology
section data block which is part of the DisplayID structure.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:43 +05:30
Andrei-Liviu Simion
482e77daf3 dptx: Added definitions for the Tiled Display Topology section data block.
The Tiled Display Topology (TDT) section data block is part of the DisplayID.
The driver currently supports DisplayID as an extension block to the base EDID
structure.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:43 +05:30
Andrei-Liviu Simion
aa76107d80 dptx: Added a function to retrieve a specified data block from the DisplayId.
Search for a section data block that matched a specified section tag.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:43 +05:30
Andrei-Liviu Simion
d584cbfdde dptx: Added some DisplayID register defines.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:43 +05:30
Andrei-Liviu Simion
650d61d699 dptx: Added a function that fetches a DisplayID EDID extension block.
Given a sink, the function will attempt to retrieve an EDID extension block of
type DisplayID.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:42 +05:30
Andrei-Liviu Simion
3a2f3024f3 dptx: Reuse retrieval of EDID blocks for retrieval of the base EDID.
Base EDID = EDID block #0.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:42 +05:30
Andrei-Liviu Simion
bc137caf88 dptx: Moved functions related to retrieval of EDID information into xdptx_edid.c
Consolidated the functions that obtain the base EDID block into the EDID utility
file.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:42 +05:30
Andrei-Liviu Simion
2133642349 dptx: Added EDID utility file and functions for fetching an EDID block.
Created a file containing utility functions related to the Extended Display
Identification Information (EDID).
The initial functions included are used to fetch EDID blocks.

Block numbering starts with 0 being the base EDID block, and extension block
starting at 1.

EDID blocks are 128 bytes in size.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:42 +05:30
Andrei-Liviu Simion
d431d30835 dptx: Optimized immediate I2C read transaction.
The 16-byte chunking is already done by XDptx_AuxCommon, so there is no need to
do it in XDptx_IicRead.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:41 +05:30
Andrei-Liviu Simion
67640948cf dptx: Reorganized and commented I2C and DPCD reads/writes.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:41 +05:30
Andrei-Liviu Simion
29b155b08f dptx: Add and update the function header comments for I2C and DPCD reads/writes.
- Added function header comments for the remote I2C and remote DPCD read and
write functions.
- Updated the function header comments for immediate I2C and AUX read and write
functions.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:41 +05:30
Andrei-Liviu Simion
cbec2debdb dptx: Define the I2C segment pointer address (0x30).
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:41 +05:30
Andrei-Liviu Simion
ce0e1fd561 dptx: Improved remote IIC reads/writes to automatically work on 16-byte chunks.
Some monitors don't support sideband messages with IIC reads greater than 16
bytes. This improvement breaks up the higher-level read/write request into
multiple reads/writes that work with up to 16 bytes in size.

These higher-level remote IIC read/write functions also serve as a wrapper for
an IIC read/write in case that the link count total is equal to 1 (a read/write
request to the RX device directly connected to the TX (not "remote")).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:41 +05:30
Andrei-Liviu Simion
bc8b86b940 dptx: Optimize read/write GUID functions to use new remote reads/writes.
The remote read/write functions serve as a wrapper in case the target RX device
is directly connected to the TX (link count total is equal to 1).
These functions may be called instead of the read/write GUID functions doing the
same thing.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:40 +05:30
Andrei-Liviu Simion
0cd5afb0fd dptx: Improved remote DPCD reads/writes to automatically work on 16-byte chunks.
Some monitors don't support sideband messages with AUX reads greater than 16
bytes. This improvement breaks up the higher-level read/write request into
multiple reads/writes that work with up to 16 bytes in size.

These higher-level remote DPCD read/write functions also serve as a wrapper for
an AUX read/write in case that the link count total is equal to 1 (a read/write
request to the RX device directly connected to the TX (not "remote")).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:40 +05:30
Andrei-Liviu Simion
327bbeb10b dptx: Made the I2C read function more robust.
- Changed the offset from type u8 to u16.
- In order to accomodate offsets greater than 255, a segment pointer is used.
	- The I2C read funciton is now able to access blocks other than the
	block 0 and 1 at a given address. E.g., EDID extension blocks may now be
	accessed by reading from I2C address 0x50 (raw=0xA0/0xA1) and writing
	the appropriate segment pointer and offset.
		- Input offset=0.
			- EDID block 0: I2C read on offset=0 and segptr=0.
		- Input offset=128.
			- EDID block 1: I2C read on offset=128 and segptr=0.
		- Input offset=256.
			- EDID block 2: I2C read on offset=0 and segptr=1.
		- Input offset=384.
			- EDID block 3: I2C read on offset=128 and segptr=1.
		- etc.
	- Writing to the I2C address 0x30 (raw=0x60/0x61) sets the segment
	pointer.
	- Writing to an I2C address sets the offset that will be read from that
	address. E.g., a read of the EDID, starting at offset 128 would be done
	by writing 128 to 0x50, then reading from 0x50.
	- Offsets that cross a 256-byte boundary requiring increment of the
	segment pointer is also handled. E.g. A 16 byte read on input offset 500
	results in the the returned 16 byte array having the first 11 bytes from
	segptr=1 (bytes 244-255) and the last 5 bytes from segptr=2 (bytes 0-4).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:40 +05:30
Andrei-Liviu Simion
b8682ec6fb dptx: I2C writes do not use an offset.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:40 +05:30
Andrei-Liviu Simion
822c9b0147 dptx: Renamed some arguments to be more consistent among functions.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:40 +05:30
Andrei-Liviu Simion
312deb2817 dptx: Reset video streams and AUX logic upon core initialization.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:39 +05:30
Andrei-Liviu Simion
89e9c90d9b dptx: Update configuration structure when MST is enabled/disabled in hardware.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:39 +05:30
Andrei-Liviu Simion
c53c4b7d73 dptx: Clear the ACT event received bit upon successfully receiving it.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:39 +05:30
Andrei-Liviu Simion
b38c432ba3 dptx: Reuse common allocation function for clearing streams.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:39 +05:30
Andrei-Liviu Simion
6d036fb76b dptx: Made the allocation of streams function more flexible.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:39 +05:30
Andrei-Liviu Simion
c658c8e53e dptx: Added an offset argument for remote I2C reads.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:38 +05:30
Andrei-Liviu Simion
10e6141d5b dptx: Added remote IIC write sideband message.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:38 +05:30
Andrei-Liviu Simion
3d78e1ab5f dptx: Added new v3_0 version and deprecate v2_0.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-14 09:55:38 +05:30
P L Sai Krishna
a1b1070f78 iicps_v2_4: TimeOut Register value is modified.
This Patch modifies the TimeOut Register value,although timeout interrupt is not used, this register is changed to set to the maximum allowed HW timeout value.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2014-11-06 09:42:24 +05:30
P L Sai Krishna
eeafc59a05 iicps_v2_4: Added new version to iicps driver.
This patch adds new version to iicps by modifying the mdd files.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2014-11-06 09:42:18 +05:30
Durga challa
f026500324 OSD: Modified source files of osd_v4_0.
Modified condition of error interrupt, asserts and backward compatability.

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-09-05 09:54:37 +05:30
Durga challa
16649d5149 enhance: Modified tcl file.
Added slaveaxis freq in tcl file.

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-09-05 09:54:37 +05:30
Kedareswara rao Appana
65d0d4175f trafgen: Fix incorrect ID Mask value
Use proper value for XTG_ID_MASK.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2014-09-05 09:24:13 +05:30
Durga challa
20c1bbaf4f rgb2ycrcb: Modified macro
Modified status get pending offset.

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-09-05 09:24:13 +05:30
Durga challa
41b88c0ca2 SCALER: Modified backward compatability macro
Modified backward cmpatability macro for IRQ_ENABLE

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-09-05 09:24:12 +05:30
Durga challa
5fa2722812 YCrCb2RGB: Modified source files
Modified GetActiveSize function and added backward compatability
macros.

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-09-05 09:24:11 +05:30
Durga challa
ebfe8d8869 Deinterlacer: Modified bit definitions
Modified bit definitions of color mode and version register.
Modified InReset macro.

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-09-05 09:24:11 +05:30
Durga challa
a0419d34d0 cresample: Modified macro
Modified status get pending macro offset.

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-09-05 09:24:10 +05:30
Durga challa
843c13d40b tpg: Modified interrupts.
Modified interrupts in source files.

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-08-28 17:53:08 +05:30
Durga challa
cd9ae86a15 Deinterlacer: Modified Interrupt Disable functional macro.
Modified IntrDisable macro.

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-08-28 17:07:35 +05:30
Durga challa
fd8fe7be59 Deinterlacer: Modified source files
Modified source files and doxygen report is updated.

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-08-28 17:07:35 +05:30
Subbaraya Sundeep Bhatta
8f2fbf71aa hwicap: fix incorrect modification history
fix incorrect documentation in xhwicap.h

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
2014-08-28 15:35:00 +05:30
Punnaiah Choudary Kalluri
482fa99dc0 usbps: Add revision history
Added revision history.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2014-08-26 14:45:49 +05:30
Punnaiah Choudary Kalluri
f312657b7f dmaps: Add revision history
Added revision history.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2014-08-26 14:45:49 +05:30
Kedareswara rao Appana
8641cb88f6 doxygen: update driver examples index.html file to latest version
This patch updates the driver examples index.html file to the latest
verison's of the driver.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2014-08-26 12:33:41 +05:30
Durga challa
264d2f6713 scaler: Modified source files.
Modified TCL file, source files, and renamed example.c
as scaler_example.c

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-08-23 17:11:35 +05:30
Durga challa
d1a911f62c scaler: Added new version v7_0.
Added scaler_v7_0.
Deprecated scaler_v6_0.

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-08-23 17:11:35 +05:30