dptx: Added additional video common related updates.
Added frame rate into DisplayPort calculations to follow updates for the commone video driver. Note, this is the deprecated TX-only driver for DisplayPort (the TX-only driver, dptx_v3_0, and the unified TX-RX driver, dp_v1_0, are both released for 2015.1). Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
52d8b3d97a
commit
be5ee89f69
1 changed files with 3 additions and 0 deletions
|
@ -282,6 +282,8 @@ void XDptx_CfgMsaUseStandardVideoMode(XDptx *InstancePtr, u8 Stream,
|
|||
MsaConfig = &InstancePtr->MsaConfig[Stream - 1];
|
||||
|
||||
/* Configure the MSA values from the display monitor DMT table. */
|
||||
MsaConfig->Vtm.VmId = XVidC_VideoTimingModes[VideoMode].VmId;
|
||||
MsaConfig->Vtm.FrameRate = XVidC_VideoTimingModes[VideoMode].FrameRate;
|
||||
MsaConfig->Vtm.Timing.HActive =
|
||||
XVidC_VideoTimingModes[VideoMode].Timing.HActive;
|
||||
MsaConfig->Vtm.Timing.HFrontPorch =
|
||||
|
@ -411,6 +413,7 @@ void XDptx_CfgMsaUseEdidPreferredTiming(XDptx *InstancePtr, u8 Stream, u8 *Edid)
|
|||
(Ptm[XDPTX_EDID_DTD_VFPORCH_VSPW_L4] &
|
||||
XDPTX_EDID_DTD_VFPORCH_VSPW_L4_VSPW_MASK);
|
||||
|
||||
/* Compute video mode timing values. */
|
||||
MsaConfig->Vtm.Timing.HBackPorch = HBlank -
|
||||
(MsaConfig->Vtm.Timing.HFrontPorch +
|
||||
MsaConfig->Vtm.Timing.HSyncWidth);
|
||||
|
|
Loading…
Add table
Reference in a new issue