summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/dc_config.c
AgeCommit message (Collapse)Author
2014-03-19video: tegra: dc: Add GET_INVERT feature supportLael Jones
Add GET_INVERT used for calling tegra_dc_parse_feature and retrieving the invert status (will be used by MODS driver) Bug 1479112 Signed-off-by: Lael Jones <lajones@nvidia.com> Change-Id: I70382ec9fc159e7025da602b66cbbe4d315c3a17 Reviewed-on: http://git-master/r/380418 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2014-03-13video: tegra: dc: check SCAN_COLUMN supportJon Mayo
Check if a window supports SCAN_COLUMN before permitting flip requests. Change-Id: Ib3107e22a90e50c7d9e02b6f32267221c571fab2 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/380569 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2014-03-07video: tegra: dc: fix structs for 64-bitJon Mayo
Add compat ioctls and clean up data structures where it would be simplier to break the old 64-bit APIs for a new one that works. Some user space binaries will have to be rebuilt after this patch, but those binaries were almost certainly already broken as the driver wasn't doing the right thing. adds 32-bit compat version of: TEGRA_DC_EXT_CONTROL_GET_OUTPUT_EDID TEGRA_DC_EXT_FLIP2 TEGRA_DC_EXT_SET_PROPOSED_BW TEGRA_DC_EXT_SET_LUT TEGRA_DC_EXT_GET_FEATURES updates struct tegra_dc_ext_flip_windowattr to be the same size in both environments. This allows these ioctls to work: TEGRA_DC_EXT_FLIP TEGRA_DC_EXT_FLIP3 Bug 1466416 Change-Id: I17b8ba1b1fc5ace659b7db99dd252c03e96273e8 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/378129 Reviewed-by: Automatic_Commit_Validation_User
2014-03-07Revert "drivers: tegra: dc: support compat ioctls"Jon Mayo
This reverts commit 0ca988fecb9b58567f2019d9dc0530200e3f764f. Bug 1466416 Change-Id: I8393151c04a032834d7658d2f4181c0fedccb13a Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/378128
2014-01-21drivers: tegra: dc: support compat ioctlsPeng Du
Support for compat ioctls of DC where userspace is 32bit and kernel is 64bit. Bug 1349118 Change-Id: Ie48d426eaddda4126b9088794585a4f5765facbc Signed-off-by: Peng Du <pdu@nvidia.com> Reviewed-on: http://git-master/r/274472 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bo Yan <byan@nvidia.com>
2013-12-17video: tegra: Fix filtering on t124Michael Frydrych
Filtering capabilities of windows on t124 were incorrectly setup. Bug 1413155 Bug 1418047 Change-Id: Ide2cf08a0ad33e953a0d417607e819ce3e2b24a6 Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com> Reviewed-on: http://git-master/r/337115 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Tuomas Kulve <tkulve@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Chao Xu <cxu@nvidia.com>
2013-10-03video: tegra: dc: support all formats on T124Jon Mayo
Change-Id: I4f138daa014d8d688a74205658b94d4c904f4823 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/280874 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Xue Dong <xdong@nvidia.com> Reviewed-by: Wen Yi <wyi@nvidia.com> Tested-by: Wen Yi <wyi@nvidia.com> (cherry picked from commit 1aebf628c0ea2cb3d62c07a0d20587f16db132fa) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
2013-09-14video: tegra: deal with invalid window numberXue Dong
bug 1322596 Change-Id: I6baee32a769a67863707a4603cc723b0330427ec Signed-off-by: Xue Dong <xdong@nvidia.com> Reviewed-on: http://git-master/r/266191 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2013-09-14ARM: tegra: Check NULL pointer to avoid crashChao Xu
This is just a workaround. Ideally any access of the tegra_dc_feature_xxx function needs to check if the window exists. Change-Id: Ib15e618412e03038b08579b57aef1ff32592b6d8 Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/242516
2013-09-14ARM: tegra: add support to window D for t124Chao Xu
Change-Id: I11b293f288270e26d399b1e364b02851f2c1dffd Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/223937 Reviewed-by: Automatic_Commit_Validation_User
2013-09-14tegra: video: add dc interlace mode supportXue Dong
Bug 1172562 Signed-off-by: Xue Dong <xdong@nvidia.com> Conflicts: arch/arm/mach-tegra/include/mach/dc.h drivers/video/tegra/dc/mode.c Change-Id: I9e33ae73c60e0d98c5009a2a72c243d598bf084f Signed-off-by: Xue Dong <xdong@nvidia.com> Reviewed-on: http://git-master/r/200502 GVS: Gerrit_Virtual_Submit Reviewed-by: Chao Xu <cxu@nvidia.com>
2013-09-14video: tegra: dc: add support for block linear formatMark Stadler
Change-Id: Icd8feba013b1d6d00b9c3b685b22f5feb7778ba4 Reviewed-on: http://git-master/r/113407 Tested-by: Xue Dong <xdong@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Chao Xu <cxu@nvidia.com> Reviewed-by: Mark Stadler <mastadler@nvidia.com> Signed-off-by: Mark Stadler <mastadler@nvidia.com>
2013-09-14video: tegra: dc: Add display feature table support.Mark Stadler
Add display feature table so that user and kernel could set and update window attributes properly. Bug 962353 Change-Id: Ic5fb0b712a6ccb912e49b4cfd14282f552c1408a Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com> Reviewed-on: http://git-master/r/105529 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mark Stadler <mastadler@nvidia.com> Tested-by: Mark Stadler <mastadler@nvidia.com> Signed-off-by: Mark Stadler <mastadler@nvidia.com>
2013-09-14video: tegra: dc: correct DC feature tableJon Mayo
Windows support 1x1 to 4096x4096 size. Change-Id: I7d1a7e182ba5c740af1061e2ceb22cac092bedf0 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/208880 Reviewed-by: Automatic_Commit_Validation_User
2013-09-14video: tegra: dc: minimum window size is 1x1Jon Mayo
Use 1x1 as the minimum window size. Bug 1193195 Change-Id: I42e13fec82bbc2dc37bde6416088f3ae49b304b7 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/173302 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
2013-09-14video: tegra: dc: Add t14x DC feature table.Kevin Huang
Bug 962353 Change-Id: I08a7f2d5cee6e817b5597206bf007a96f1eded2c Signed-off-by: Prashant Malani <pmalani@nvidia.com> Reviewed-on: http://git-master/r/106809 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Tested-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com> (cherry picked from commit 8b705c12b8ac45e24b7c5ed4fc7300616be368ec) (cherry picked from commit bf86139fff37b1841f6844f97e40d7c6a35fcf2b) (cherry picked from commit 3df84956ae6898a0e223eec75b11eacbea2f3904) Reviewed-on: http://git-master/r/116269 Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com> Tested-by: Kaz Fukuoka <kfukuoka@nvidia.com>
2013-09-14video: tegra: dc: Add support to sequential blendingKevin Huang
Change-Id: I9fcef4544e934fb59c55968484059e938e82da43 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/126943 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com> Rebase-Id: R73c7799e4790227488101edb2aece976b812ae30
2013-09-14video: tegra: dc: split dc.c into smaller filesJon Mayo
Moved mode setting code into mode.c Move window code info window.c Moved clock related code into clock.c Moved LUT and gamma related code into lut.c Moved csc(color space conversion) into csc.c Removed unnecessary static function prototypes from header. Moved many short inline functions to dc_priv.h Cleaned up copyright headings. Cleaned up formatting and indent in all files. Fixed build warnings. Bug 870907 Change-Id: I6ccc37150191765394f0b5629423eafd4e5e5792 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/111371 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Rebase-Id: Rc7ed74e733798a26a2af94b2384c5c9f1c9a19d7
2013-09-14video: tegra: dc: Add t114 display feature table.Kevin Huang
Change-Id: I748fc9d982f87f2cc763b793aa40f657214bcad4 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/103734 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com> Rebase-Id: Rfd6b20cabaa323fe550ef6b9116293bfd77dab84
2013-09-14video: tegra: dc: Change the definitions in display feature table.Kevin Huang
Change-Id: I13f0f7502aea7f43b2ddff12e9664c22a1d9bd21 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/103210 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com> (cherry picked from commit 1f4ccee135b9729ec09eceaddd1b573ea7366d15) Reviewed-on: http://git-master/r/103733 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com> Rebase-Id: Ra13be73c61fe0688c731b8ef5efb49850243cc17
2013-09-14video: tegra: dc: Use pre-existing feature tablePrashant Malani
change t114 feature table to use one defined for t30. Prevents build break. Change-Id: I6c1ed54b5cae8016a7e2ef37113418293ec13b56 Signed-off-by: Prashant Malani <pmalani@nvidia.com> Reviewed-on: http://git-master/r/102641 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R5782f75b7776359dc2b1f77db48ba4891209ee9c
2013-09-14video: tegra: dc: Add support to sequential blending.Kevin Huang
Add support to different blenders. Bug 962353 Change-Id: Ie9530969a11dd0c329012aa54b90e3e62765c44c Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/102406 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> GVS: Gerrit_Virtual_Submit Rebase-Id: R98b3510aab3c9e3fc2645903a1269a8d179bd300
2013-09-14video: tegra: dc: Change the definitions in display feature table.Kevin Huang
Change-Id: I13f0f7502aea7f43b2ddff12e9664c22a1d9bd21 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/103210 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com> Rebase-Id: Rfdc3dd51a8aae515ffd36355ce551363d4d8dd1d
2013-09-14video: tegra: dc: add list of preferred formatsJon Mayo
Move WinB's format limitations to a list of preferred formats. Bug 985197 Change-Id: Ife37c79441b2737592ace51e94ab0c80af4af917 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/102629 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Chao Xu <cxu@nvidia.com> Reviewed-by: Robert Morell <rmorell@nvidia.com> Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com> Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Rebase-Id: R4ee3a7eb63050b39ffa7a365ea643174660b066f
2013-09-14video: tegra: dc: Add display feature table support.Kevin Huang
Add display feature table so that user and kernel could set and update window attributes properly. Bug 962353 Change-Id: I08490a225892660126f3eefe4d5b7a4bb61d9bf7 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/101078 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com> Rebase-Id: Rcb2df6e6e059ab289531451c25da384bd9169f4e