summaryrefslogtreecommitdiffstats
path: root/include/trace/events
diff options
context:
space:
mode:
authorShu Zhong <shuz@nvidia.com>2018-02-15 23:20:35 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-01 16:53:05 -0500
commit8ff3d2b80196feeabbcf8a543f257943893ad680 (patch)
tree42b4997d0b28538b88d977015468309914960d1b /include/trace/events
parent547e255c8a87916ae58d26bed361738b158deaf5 (diff)
dc: remove REF_TO_SYNC programming for nvdisp
H_REF_TO_SYNC and V_REF_TO_SYNC are legacy timing parameters that don't apply to nvdisplay. This patch cleans up and fixes our common mode handling logic accordingly: 1) Update tegra_dc_get_override_mode() so that it only reads the DC_DISP_REF_TO_SYNC register for T21x when querying the BL mode. This register doesn't even exist anymore on T186/T194. 2) Update the DP/HDMI mode filters so that they only enforce the V_FRONT_PORCH >= V_REF_TO_SYNC + 1 constraint for T21x. 3) Update tegra_dsi_wait_frame_end() so that it waits for V_REF_TO_SYNC additional lines only on T21x. 4) Fork off a separate mode check function for nvdisplay. This function contains the appropriate constraints as per the HW guidelines. 5) Update parse_modes() in of_dc so that it ignores the "nvidia,h-ref-to-sync" and "nvidia,v-ref-to-sync" properties on nvdisplay. 6) Completely stub out the tegra_dc_sor_disable_win_short_raster() and tegra_dc_sor_restore_win_and_raster() functions for nvdisplay. These functions are currently invoked as part of the SOR detach sequence, but make no sense for the most part, given the current T186/T194 SOR programming guidelines. The window detach and restore sequences are still needed, but this will be cleaned up in a follow-up change. As part of this SOR change, update the MSA source so that it's generated from the RG, instead of the OR. Beginning with T186, async FIFOs were added between the RG and OR to buffer MSA data coming directly from the RG via a new bus. We should be using this method instead. Bug 200388676 JIRA TDS-2003 Change-Id: I115ee96c9510b477b90257c3510c11afbad51d23 Signed-off-by: Shu Zhong <shuz@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1659736 GVS: Gerrit_Virtual_Submit Reviewed-by: Ujwal Patel <ujwalp@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/trace/events')
0 files changed, 0 insertions, 0 deletions