Re: [PATCH V2 4/6] OMAPDSS: DSI: Move DSI specific reg_fields to dsi_feats

2012-12-19 Thread Chandrabhanu Mahapatra
On Monday 17 December 2012 05:53 PM, Tomi Valkeinen wrote: Hi, On 2012-12-05 12:16, Chandrabhanu Mahapatra wrote: The DSI specific dss_reg_fields are moved to corresponding dsi_reg_fields initialized in dsi_feats. The dsi_feats structure is initialized as per corresponding DSS version

Re: [PATCH V2 2/6] OMAPDSS: DISPC: Move DISPC specific dss_reg_fields to dispc_features

2012-12-19 Thread Chandrabhanu Mahapatra
On Monday 17 December 2012 06:07 PM, Tomi Valkeinen wrote: On 2012-12-05 12:16, Chandrabhanu Mahapatra wrote: The register fields in dss_reg_fields specific to DISPC are moved from struct omap_dss_features to corresponding dispc_reg_fields, initialized in struct dispc_features, thereby

[PATCH V2 0/6] OMAPDSS: Cleanup omap_dss_features

2012-12-05 Thread Chandrabhanu Mahapatra
://gitorious.org/linux-omap-dss2/linux.git master Reference Tree: git://gitorious.org/linux-omap-dss2/chandrabhanus-linux.git dss_cleanup Regards, Chandrabhanu Chandrabhanu Mahapatra (6): OMAPDSS: DISPC: Move burst_size and buffer_size to dispc_features OMAPDSS: DISPC: Move DISPC specific dss_reg_fields

[PATCH V2 1/6] OMAPDSS: DISPC: Move burst_size and buffer_size to dispc_features

2012-12-05 Thread Chandrabhanu Mahapatra
The burst_size and buffer_size being local data to DISPC are moved to dispc_features and so removed from struct omap_dss_features. The functions referring to burst and buffer size are also removed from dss_features.c as they are now accessed locally in dispc.c. Signed-off-by: Chandrabhanu

[PATCH V2 2/6] OMAPDSS: DISPC: Move DISPC specific dss_reg_fields to dispc_features

2012-12-05 Thread Chandrabhanu Mahapatra
The register fields in dss_reg_fields specific to DISPC are moved from struct omap_dss_features to corresponding dispc_reg_fields, initialized in struct dispc_features, thereby enabling local access. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c

[PATCH V2 3/6] OMAPDSS: DISPC: Move DISPC specific dss_params to dispc_features

2012-12-05 Thread Chandrabhanu Mahapatra
to dispc_param_range. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c| 83 +++- drivers/video/omap2/dss/dss.h |4 ++ drivers/video/omap2/dss/dss_features.c | 16 -- drivers/video/omap2/dss/dss_features.h |3

[PATCH V2 4/6] OMAPDSS: DSI: Move DSI specific reg_fields to dsi_feats

2012-12-05 Thread Chandrabhanu Mahapatra
The DSI specific dss_reg_fields are moved to corresponding dsi_reg_fields initialized in dsi_feats. The dsi_feats structure is initialized as per corresponding DSS version in dsi_init_features(). Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dsi.c

[PATCH V2 5/6] OMAPDSS: DSI: Move DSI specific dss_params to dsi_feats

2012-12-05 Thread Chandrabhanu Mahapatra
The DSI specific dss_param_range are moved from struct omap_dss_features to corresponding struct dsi_param_range, which is initialized in struct dsi_feats thereby enabling local access. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dsi.c | 80

[PATCH V2 6/6] OMAPDSS: DSS: Add members fld_dispc_clk_switch and dss_fck_max

2012-12-05 Thread Chandrabhanu Mahapatra
-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dss.c | 22 ++-- drivers/video/omap2/dss/dss_features.c | 96 drivers/video/omap2/dss/dss_features.h | 12 3 files changed, 16 insertions(+), 114 deletions(-) diff

Re: [PATCH 2/7] OMAPDSS: DISPC: Move DISPC specific dss_reg_fields to dispc_features

2012-12-02 Thread Chandrabhanu Mahapatra
On Thursday 29 November 2012 05:48 PM, Tomi Valkeinen wrote: On 2012-11-28 12:41, Chandrabhanu Mahapatra wrote: The register fields in dss_reg_fields specific to DISPC are moved from struct omap_dss_features to corresponding dispc_reg_fields, initialized in struct dispc_features, thereby

Re: [PATCH 2/7] OMAPDSS: DISPC: Move DISPC specific dss_reg_fields to dispc_features

2012-11-30 Thread Chandrabhanu Mahapatra
On Thursday 29 November 2012 05:35 PM, Tomi Valkeinen wrote: On 2012-11-28 12:41, Chandrabhanu Mahapatra wrote: The register fields in dss_reg_fields specific to DISPC are moved from struct omap_dss_features to corresponding dispc_reg_fields, initialized in struct dispc_features, thereby

[PATCH 0/7] OMAPDSS: Cleanup omap_dss_features

2012-11-28 Thread Chandrabhanu Mahapatra
Chandrabhanu Mahapatra (7): OMAPDSS: DISPC: Move burst_size and buffer_size to dispc_features OMAPDSS: DISPC: Move DISPC specific dss_reg_fields to dispc_features OMAPDSS: DISPC: Move DISPC specific dss_params to dispc_features OMAPDSS: DSI: Move DSI specific reg_fields to dsi_feats OMAPDSS

[PATCH 1/7] OMAPDSS: DISPC: Move burst_size and buffer_size to dispc_features

2012-11-28 Thread Chandrabhanu Mahapatra
The burst_size and buffer_size being local data to DISPC are moved to dispc_features and so removed from struct omap_dss_features. The functions referring to burst and buffer size are also removed from dss_features.c as they are now accessed locally in dispc.c. Signed-off-by: Chandrabhanu

[PATCH 2/7] OMAPDSS: DISPC: Move DISPC specific dss_reg_fields to dispc_features

2012-11-28 Thread Chandrabhanu Mahapatra
The register fields in dss_reg_fields specific to DISPC are moved from struct omap_dss_features to corresponding dispc_reg_fields, initialized in struct dispc_features, thereby enabling local access. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c

[PATCH 3/7] OMAPDSS: DISPC: Move DISPC specific dss_params to dispc_features

2012-11-28 Thread Chandrabhanu Mahapatra
to dispc_param_range. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c| 80 +++- drivers/video/omap2/dss/dss.h |4 ++ drivers/video/omap2/dss/dss_features.c | 16 --- drivers/video/omap2/dss/dss_features.h |3

[PATCH 4/7] OMAPDSS: DSI: Move DSI specific reg_fields to dsi_feats

2012-11-28 Thread Chandrabhanu Mahapatra
The DSI specific dss_reg_fields are moved to corresponding dsi_reg_fields initialized in dsi_feats. The dsi_feats structure is initialized as per corresponding DSS version in dsi_init_features(). Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dsi.c

[PATCH 5/7] OMAPDSS: DSI: Move DSI specific dss_params to dsi_feats

2012-11-28 Thread Chandrabhanu Mahapatra
The DSI specific dss_param_range are moved from struct omap_dss_features to corresponding struct dsi_param_range, which is initialized in struct dsi_feats thereby enabling local access. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dsi.c | 70

[PATCH 6/7] OMAPDSS: DSS: Add members fld_dispc_clk_switch and dss_fck_max

2012-11-28 Thread Chandrabhanu Mahapatra
-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dss.c | 22 drivers/video/omap2/dss/dss_features.c | 57 drivers/video/omap2/dss/dss_features.h |6 3 files changed, 16 insertions(+), 69 deletions(-) diff --git

[PATCH 7/7] OMAPDSS: DSI: Add FEAT_PARAM_DSS_FCK

2012-11-28 Thread Chandrabhanu Mahapatra
The FEAT_PARAM_DSS_FCK is added and initialized in corresponding DSS Version specific struct dsi_param_range. As, the struct dss_param_range is no longer used all its references are thereby removed from omap_dss_features. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video

[PATCH V5 4/5] OMAPDSS: Replace multi part debug prints with pr_debug

2012-10-10 Thread Chandrabhanu Mahapatra
with one dynamic debug enabled pr_debug() each. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- Changes from V4 to V5: * replaced prints in dsi functions print_irq_status, print_irq_status_vc() and print_irq_status_cio() with single pr_debug() * replaced macro VERBOSE_IRQ with static

[PATCH V5 2/5] OMAPDSS: Create new debug config options

2012-10-01 Thread Chandrabhanu Mahapatra
and can be enabled independently of one another as per convenience. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- changes from V4 to V5 * added depends on DEBUG_FS to OMAP2_DSS_DEBUGFS defintion in Kconfig so that CONFIG_OMAP2_DSS_DEBUGFS check become cleaner drivers/video/omap2

[PATCH V4 0/5] OMAPDSS: Enable dynamic debug printing

2012-09-29 Thread Chandrabhanu Mahapatra
Regards, Chandrabhanu Chandrabhanu Mahapatra (5): OMAPDSS: Move definition of DEBUG flag to Makefile OMAPDSS: Create new debug config options OMAPDSS: Cleanup DSSDBG with dynamic pr_debug function OMAPDSS: Replace multi part debug prints with pr_debug OMAPDSS: Remove dss_debug variable

[PATCH V4 1/5] OMAPDSS: Move definition of DEBUG flag to Makefile

2012-09-29 Thread Chandrabhanu Mahapatra
to the corresponding Makefile. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/Makefile |1 + drivers/video/omap2/dss/dss.h|4 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/video/omap2/dss/Makefile b/drivers/video/omap2

[PATCH V4 2/5] OMAPDSS: Create new debug config options

2012-09-29 Thread Chandrabhanu Mahapatra
and can be enabled independently of one another as per convenience. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/Kconfig | 21 +++-- drivers/video/omap2/dss/Makefile |2 +- drivers/video/omap2/dss/core.c |6 +++--- drivers/video

[PATCH V4 3/5] OMAPDSS: Cleanup DSSDBG with dynamic pr_debug function

2012-09-29 Thread Chandrabhanu Mahapatra
','l','m' and 't' in the debugfs control file. So, DSSDBGF instances are replaced with DSSDBG. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/apply.c |8 drivers/video/omap2/dss/dsi.c | 12 ++-- drivers/video/omap2/dss/dss.h | 34

[PATCH V4 4/5] OMAPDSS: Replace multi part debug prints with pr_debug

2012-09-29 Thread Chandrabhanu Mahapatra
The omap_dispc_unregister_isr() and _dsi_print_reset_status() consist of a number of debug prints which need to be enabled all at once or none at all. So, these debug prints in corresponding functions are replaced with one dynamic debug enabled pr_debug() each. Signed-off-by: Chandrabhanu

[PATCH V4 5/5] OMAPDSS: Remove dss_debug variable

2012-09-29 Thread Chandrabhanu Mahapatra
All the debug prints have been replaced with pr_debug(). Thus, the dependency on dss_debug variable is replaced with dyndbg in dynamic debugging mode and DEBUG flag otherwise. So, the dss_debug variable is removed along with checks for DEBUG flag. Signed-off-by: Chandrabhanu Mahapatra cmahapa

[PATCH V3 0/3] OMAPDSS: Enable dynamic debug printing

2012-09-28 Thread Chandrabhanu Mahapatra
dss_debug variable Changes from V2 to V3 * added patch OMAPDSS: Move definition of DEBUG flag to Makefile All your comments and suggestions are welcome. Refenence Tree: git://gitorious.org/linux-omap-dss2/chandrabhanus-linux.git dss_cleanup Regards, Chandrabhanu Chandrabhanu Mahapatra (3

[PATCH V3 1/3] OMAPDSS: Move definition of DEBUG flag to Makefile

2012-09-28 Thread Chandrabhanu Mahapatra
to the corresponding Makefile. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/Makefile |1 + drivers/video/omap2/dss/dss.h|4 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/video/omap2/dss/Makefile b/drivers/video/omap2

[PATCH V3 2/3] OMAPDSS: Cleanup DSSDBG with dynamic pr_debug function

2012-09-28 Thread Chandrabhanu Mahapatra
','l','m' and 't' in the debugfs control file. So, DSSDBGF instances are replaced with DSSDBG. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/apply.c |8 drivers/video/omap2/dss/dsi.c | 12 ++-- drivers/video/omap2/dss/dss.h | 34

[PATCH V3 3/3] OMAPDSS: Remove dss_debug variable

2012-09-28 Thread Chandrabhanu Mahapatra
The debug prints in omap_dispc_unregister_isr() and _dsi_print_reset_status() are replaced with dynamic debug enabled pr_debug(). So, as the final dependency on dss_debug variable is replaced with dyndbg, the dss_debug variable is removed. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com

[PATCH] OMAPDSS: Cleanup DSSDBG with dynamic pr_debug function

2012-09-25 Thread Chandrabhanu Mahapatra
','l','m' and 't' in the debugfs control file. So, DSSDBGF instances are replaced with DSSDBG. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/apply.c |8 drivers/video/omap2/dss/dsi.c | 12 drivers/video/omap2/dss/dss.h | 34

[PATCH V2 0/2] OMAPDSS: Enable dynamic debug printing

2012-09-25 Thread Chandrabhanu Mahapatra
comments and suggestions are welcome. Regards, Chandrabhanu Chandrabhanu Mahapatra (2): OMAPDSS: Cleanup DSSDBG with dynamic pr_debug function OMAPDSS: Remove dss_debug variable drivers/video/omap2/dss/apply.c |8 +++ drivers/video/omap2/dss/core.c |5 drivers/video/omap2/dss

[PATCH V2 1/2] OMAPDSS: Cleanup DSSDBG with dynamic pr_debug function

2012-09-25 Thread Chandrabhanu Mahapatra
','l','m' and 't' in the debugfs control file. So, DSSDBGF instances are replaced with DSSDBG. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/apply.c |8 drivers/video/omap2/dss/dsi.c | 12 ++-- drivers/video/omap2/dss/dss.h | 34

[PATCH V2 2/2] OMAPDSS: Remove dss_debug variable

2012-09-25 Thread Chandrabhanu Mahapatra
The debug prints in omap_dispc_unregister_isr() and _dsi_print_reset_status() are replaced with dynamic debug enabled pr_debug(). So, as the final dependency on dss_debug variable is replaced with dyndbg, the dss_debug variable is removed. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com

[PATCH] OMAPDSS: DISPC: Add predecimation limit for TILER based rotations

2012-09-24 Thread Chandrabhanu Mahapatra
. In case when 2 or more lines are skipped the ROWINC value exceeds 65536 resulting in OCP errors. So, maximum vertical predecimation achievable is 2. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c |9 ++--- 1 file changed, 6 insertions(+), 3

[PATCH] OMAPDSS: Correct DISPC_IRQ bit definitions for LCD3

2012-08-27 Thread Chandrabhanu Mahapatra
-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- include/video/omapdss.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/video/omapdss.h b/include/video/omapdss.h index b868123..9c7cca3 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -48,10 +48,10

[PATCH V6 0/6] OMAPDSS: Cleanup cpu_is checks

2012-08-22 Thread Chandrabhanu Mahapatra
dss_cleanup Regards, Chandrabhanu Chandrabhanu Mahapatra (6): OMAPDSS: DISPC: Cleanup cpu_is_ checks OMAPDSS: DSS: Remove redundant functions OMAPDSS: DSS: Cleanup cpu_is_ checks ARM: OMAP: Disable venc for OMAP4 OMAPDSS: VENC: Remove cpu_is_ checks OMAPDSS: DPI: Remove

[PATCH V6 1/6] OMAPDSS: DISPC: Cleanup cpu_is_xxxx checks

2012-08-22 Thread Chandrabhanu Mahapatra
All the cpu_is checks have been moved to dispc_init_features function providing a much more generic and cleaner interface. The OMAP version and revision specific functions and data are initialized by dispc_features structure which is local to dispc.c. Signed-off-by: Chandrabhanu Mahapatra cmahapa

[PATCH V6 2/6] OMAPDSS: DSS: Remove redundant functions

2012-08-22 Thread Chandrabhanu Mahapatra
Functions dss_calc_clock_rates() and dss_get_clock_div() are removed as these functions have become redundant and no longer used. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dss.c | 45 - drivers/video/omap2/dss

[PATCH V6 3/6] OMAPDSS: DSS: Cleanup cpu_is_xxxx checks

2012-08-22 Thread Chandrabhanu Mahapatra
. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dss.c | 120 +++-- 1 file changed, 79 insertions(+), 41 deletions(-) diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index e2e0fa4..31a553a 100644

[PATCH V6 5/6] OMAPDSS: VENC: Remove cpu_is_xxxx checks

2012-08-22 Thread Chandrabhanu Mahapatra
attr on OMAP4 (cc1d3e032d) by Danny Kukawka danny.kuka...@bisect.de to prevent VENC from crashing OMAP4 kernel. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/venc.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/video/omap2/dss

[PATCH V6 4/6] ARM: OMAP: Disable venc for OMAP4

2012-08-22 Thread Chandrabhanu Mahapatra
This is a alternative to HACK: OMAP: DSS2: VENC: disable VENC on OMAP4 to prevent crash (ba02fa37de) by Tomi Valkeinen tomi.valkei...@ti.com to prevent VENC from crashing OMAP4 kernel. This prevents OMAPDSS from initial registration of a device for VENC on OMAP4. Signed-off-by: Chandrabhanu

[PATCH V6 6/6] OMAPDSS: DPI: Remove cpu_is_xxxx checks

2012-08-22 Thread Chandrabhanu Mahapatra
) by Russell King rmk+ker...@arm.linux.org.uk had introduced these checks. As it is evident from these patches a dependency exists for some DSS pins on VDDS_DSI which is better shown by dss feature FEAT_DPI_USES_VDDS_DSI. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2

[PATCH V5 0/6] OMAPDSS: Cleanup cpu_is checks

2012-08-20 Thread Chandrabhanu Mahapatra
:~chandrabhanu/linux-omap-dss2/chandrabhanus-linux.git dss_cleanup Chandrabhanu Mahapatra (6): OMAPDSS: DISPC: cleanup cpu_is_ checks OMAPDSS: DSS: Remove redundant functions OMAPDSS: DSS: Cleanup cpu_is_ checks OMAPDSS: VENC: Remove cpu_is_ checks ARM: OMAP: Disable venc for OMAP4

[PATCH V5 1/6] OMAPDSS: DISPC: cleanup cpu_is_xxxx checks

2012-08-20 Thread Chandrabhanu Mahapatra
All the cpu_is checks have been moved to dispc_init_features function providing a much more generic and cleaner interface. The OMAP version and revision specific functions and data are initialized by dispc_features structure which is local to dispc.c. Signed-off-by: Chandrabhanu Mahapatra cmahapa

[PATCH V5 2/6] OMAPDSS: DSS: Remove redundant functions

2012-08-20 Thread Chandrabhanu Mahapatra
Functions dss_calc_clock_rates() and dss_get_clock_div() are removed as these functions have become redundant and no longer used. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dss.c | 45 - drivers/video/omap2/dss

[PATCH V5 3/6] OMAPDSS: DSS: Cleanup cpu_is_xxxx checks

2012-08-20 Thread Chandrabhanu Mahapatra
. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dss.c | 117 ++--- 1 file changed, 76 insertions(+), 41 deletions(-) diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index 10566ae..f6d3d0a 100644

[PATCH V5 4/6] OMAPDSS: VENC: Remove cpu_is_xxxx checks

2012-08-20 Thread Chandrabhanu Mahapatra
attr on OMAP4 (cc1d3e032d) by Danny Kukawka danny.kuka...@bisect.de to prevent VENC from crashing OMAP4 kernel. An alternative approach is used to do the same in later patches. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/venc.c | 11 --- 1 file

[PATCH V5 5/6] ARM: OMAP: Disable venc for OMAP4

2012-08-20 Thread Chandrabhanu Mahapatra
This is a alternative to HACK: OMAP: DSS2: VENC: disable VENC on OMAP4 to prevent crash (ba02fa37de) by Tomi Valkeinen tomi.valkei...@ti.com to prevent VENC from crashing OMAP4 kernel. This prevents OMAPDSS from initial registration of a device for VENC on OMAP4. Signed-off-by: Chandrabhanu

[PATCH V5 6/6] OMAPDSS: DPI: Remove cpu_is_xxxx checks

2012-08-20 Thread Chandrabhanu Mahapatra
) by Russell King rmk+ker...@arm.linux.org.uk had introduced these checks. As it is evident from these patches a dependency exists for some DSS pins on VDDS_DSI which is better shown by dss feature FEAT_DPI_USES_VDDS_DSI. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2

[PATCH V4 1/6] OMAPDSS: DISPC: cleanup cpu_is_xxxx checks

2012-08-16 Thread Chandrabhanu Mahapatra
All the cpu_is checks have been moved to dispc_init_features function providing a much more generic and cleaner interface. The OMAP version and revision specific functions and data are initialized by dispc_features structure which is local to dispc.c. Signed-off-by: Chandrabhanu Mahapatra cmahapa

[PATCH V4 3/6] OMAPDSS: DSS: Cleanup cpu_is_xxxx checks

2012-08-16 Thread Chandrabhanu Mahapatra
. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dss.c | 114 ++--- 1 file changed, 73 insertions(+), 41 deletions(-) diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index 7b1c6ac..a9cb84b 100644

[PATCH 1/6] OMAPDSS: DISPC: cleanup cpu_is_xxxx checks

2012-08-13 Thread Chandrabhanu Mahapatra
All the cpu_is checks have been moved to dispc_init_features function providing a much more generic and cleaner interface. The OMAP version and revision specific functions and data are initialized by dispc_features structure which is local to dispc.c. Signed-off-by: Chandrabhanu Mahapatra cmahapa

[PATCH 3/6] OMAPDSS: DSS: Cleanup cpu_is_xxxx checks

2012-08-13 Thread Chandrabhanu Mahapatra
. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dss.c | 115 ++--- 1 file changed, 74 insertions(+), 41 deletions(-) diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index 7b1c6ac..6ab236e 100644

[PATCH 1/6] OMAPDSS: DISPC: cleanup cpu_is_xxxx checks

2012-08-08 Thread Chandrabhanu Mahapatra
All the cpu_is checks have been moved to dispc_init_features function providing a much more generic and cleaner interface. The OMAP version and revision specific functions are initialized by dispc_features structure local to dispc.c. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com

[PATCH 3/6] OMAPDSS: DSS: Cleanup cpu_is_xxxx checks

2012-08-08 Thread Chandrabhanu Mahapatra
All the cpu_is checks have been moved to dss_init_features function providing a much more generic and cleaner interface. The OMAP version and revision specific functions are initialized by dss_features structure local to dss.c. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers

[PATCH 0/6] OMAPDSS: Remove cpu_is checks

2012-08-07 Thread Chandrabhanu Mahapatra
checks from VENC code. The 5th patch disables VENC support on OMAP4. The 6th patch removes cpu_is checks from DPI code and replaces it with a dss feature. All your comments and suggestions are welcome. Regards, Chandrabhanu Chandrabhanu Mahapatra (6): OMAPDSS: DISPC: Remove cpu_is_ checks

[PATCH 1/6] OMAPDSS: DISPC: Remove cpu_is_xxxx checks

2012-08-07 Thread Chandrabhanu Mahapatra
The cpu_is checks have been removed from DISPC providing it a much generic and cleaner interface. The OMAP version and revision specific functions are initialized by dispc_ops structure in dss features. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c

[PATCH 2/6] OMAPDSS: DSS: Remove redundant functions

2012-08-07 Thread Chandrabhanu Mahapatra
Functions dss_calc_clock_rates() and dss_get_clock_div() are removed as these functions have become redundant and no longer used. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dss.c | 45 - drivers/video/omap2/dss

[PATCH 3/6] OMAPDSS: DSS: Remove cpu_is_xxxx checks

2012-08-07 Thread Chandrabhanu Mahapatra
The cpu_is checks have been removed from dss.c providing it a much generic and cleaner interface. The OMAP version and revision specific functions are initialized by dss_ops structure in dss features. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dss.c

[PATCH 4/6] OMAPDSS: VENC: Remove cpu_is_xxxx checks

2012-08-07 Thread Chandrabhanu Mahapatra
attr on OMAP4 (cc1d3e032d) by Danny Kukawka danny.kuka...@bisect.de to prevent VENC from crashing OMAP4 kernel. An alternative approach is used to do the same in later patches. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/venc.c | 11 --- 1 file

[PATCH 5/6] ARM: OMAP: Disable venc for OMAP4

2012-08-07 Thread Chandrabhanu Mahapatra
This is a alternative to HACK: OMAP: DSS2: VENC: disable VENC on OMAP4 to prevent crash (ba02fa37de) by Tomi Valkeinen tomi.valkei...@ti.com to prevent VENC from crashing OMAP4 kernel. This prevents OMAPDSS from initial registration of a device for VENC on OMAP4. Signed-off-by: Chandrabhanu

[PATCH 6/6] OMAPDSS: DPI: Remove cpu_is_xxxx checks

2012-08-07 Thread Chandrabhanu Mahapatra
) by Russell King rmk+ker...@arm.linux.org.uk had introduced these checks. As it is evident from these patches a dependency exists for some DSS pins on VDDS_DSI which is better shown by dss feature FEAT_DPI_USES_VDDS_DSI. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2

Re: [PATCH 1/6] OMAPDSS: DISPC: Remove cpu_is_xxxx checks

2012-08-07 Thread Chandrabhanu Mahapatra
On Tuesday 07 August 2012 04:22 PM, Tomi Valkeinen wrote: Hi, On Tue, 2012-08-07 at 13:57 +0530, Chandrabhanu Mahapatra wrote: The cpu_is checks have been removed from DISPC providing it a much generic and cleaner interface. The OMAP version and revision specific functions are initialized

Re: [PATCH 4/6] OMAPDSS: VENC: Remove cpu_is_xxxx checks

2012-08-07 Thread Chandrabhanu Mahapatra
On Tuesday 07 August 2012 02:21 PM, Felipe Balbi wrote: On Tue, Aug 07, 2012 at 01:58:17PM +0530, Chandrabhanu Mahapatra wrote: OMAP4 checks are removed from VENC to provide it a cleaner interface. These checks were introduced by patches HACK: OMAP: DSS2: VENC: disable VENC on OMAP4

Re: [RFC PATCH 21/29] OMAPDSS: DISPC: Configure overlay-like parameters in dispc_wb_setup

2012-08-02 Thread Chandrabhanu Mahapatra
-driver-get_timings(dssdev, timings); + + *in_width = timings.x_res; + *in_height = timings.y_res; +} + int dss_wb_simple_check(struct omap_dss_writeback *wb, const struct omap_dss_writeback_info *info) { -- Chandrabhanu Mahapatra Texas Instruments India Pvt. Ltd

[PATCH] staging: drm/omap: remove reclaim_buffers callback

2012-08-01 Thread Chandrabhanu Mahapatra
The reclaim_buffers callback has already been removed by Daniel Vetter daniel.vet...@ffwll.ch with his patch drm: kill reclaim_buffers callback for which the kernel compilation fails with omapdrm support. So, the callback for reclaim_buffers is removed from omapdrm. Signed-off-by: Chandrabhanu

[PATCH 0/4] Add LCD3 channel support

2012-06-28 Thread Chandrabhanu Mahapatra
functionality for clocks and IRQs specific to LCD3 This patch was based on mainline kernel v3.5rc4. All your comments and suggestions are welcome. Regards, Chandrabhanu Chandrabhanu Mahapatra (4): OMAPDSS: Cleanup implementation of LCD channels OMAPDSS: Add support for LCD3 channel

[PATCH 1/4] OMAPDSS: Cleanup implementation of LCD channels

2012-06-28 Thread Chandrabhanu Mahapatra
-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c | 233 + drivers/video/omap2/dss/dsi.c |6 +- drivers/video/omap2/dss/dss.h |6 + drivers/video/omap2/dss/manager.c | 12 +-- 4 files changed, 121 insertions(+), 136

[PATCH 2/4] OMAPDSS: Add support for LCD3 channel

2012-06-28 Thread Chandrabhanu Mahapatra
DISPC_DEFAULT_COLOR, DISPC_TIMING_H, DISPC_DIVISORo, etc. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.h | 26 ++ include/video/omapdss.h |1 + 2 files changed, 27 insertions(+), 0 deletions(-) diff --git a/drivers/video/omap2/dss

[PATCH 3/4] OMAPDSS: Add LCD3 overlay manager and Clock and IRQ support

2012-06-28 Thread Chandrabhanu Mahapatra
-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c| 48 ++- drivers/video/omap2/dss/dispc.h|2 + drivers/video/omap2/dss/dss.c | 12 +-- drivers/video/omap2/dss/dss_features.h |5 ++- drivers/video/omap2/dss

[PATCH 4/4] OMAPDSS: Add dump and debug support for LCD3

2012-06-28 Thread Chandrabhanu Mahapatra
DISPC functions have been modified to provide clock and register dumps and debug support for the LCD3 manager. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c | 70 ++ 1 files changed, 40 insertions(+), 30

[PATCH] ARM: OMAP2PLUS: DSS: Disable LCD3 output when resetting DSS

2012-06-28 Thread Chandrabhanu Mahapatra
The dispc_disable_outputs() function currently disables all LCD managers except LCD3. This patch adds disabling functionality for LCD3 manager thereby maintaining consistency of Display Subsystem for in case Display Controller is reset when LCD3 manager is in use. Signed-off-by: Chandrabhanu

Re: [PATCH 1/4] OMAPDSS: Cleanup implementation of LCD channels

2012-06-28 Thread Chandrabhanu Mahapatra
On Thursday 28 June 2012 04:20 PM, Tomi Valkeinen wrote: On Thu, 2012-06-28 at 15:10 +0530, Chandrabhanu Mahapatra wrote: The current implementation of LCD channels and managers consists of a number of if-else construct which has been replaced by a simpler interface. A constant structure

[PATCH] OMAPDSS: DISPC: Update Accumulator configuration for chroma plane

2012-05-15 Thread Chandrabhanu Mahapatra
accumulator bit field values have been updated for better performance. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c | 92 +- 1 files changed, 89 insertions(+), 3 deletions(-) diff --git a/drivers/video/omap2/dss/dispc.c

[PATCH V3 3/3] OMAPDSS: DISPC: Correct DISPC functional clock usage

2012-04-23 Thread Chandrabhanu Mahapatra
DISPC_FCLK is incorrectly used as functional clock of DISPC in scaling calculations. So, DISPC_CORE_CLK replaces as functional clock of DISPC. DISPC_CORE_CLK is derived from DISPC_FCLK divided by an independent DISPC divisor LCD. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com

[PATCH V3 3/3] OMAPDSS: DISPC: Correct DISPC functional clock usage

2012-04-20 Thread Chandrabhanu Mahapatra
DISPC_FCLK is incorrectly used as functional clock of DISPC in scaling calculations. So, DISPC_CORE_CLK replaces as functional clock of DISPC. DISPC_CORE_CLK is derived from DISPC_FCLK divided by an independent DISPC divisor LCD. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com

[PATCH V3 0/3] OMAPDSS: DISPC: Enable predecimation for DMA and VRFB

2012-04-02 Thread Chandrabhanu Mahapatra
. Regards, Chandrabhanu Chandrabhanu Mahapatra (3): OMAPDSS: DISPC: Enable predecimation OMAPDSS: DISPC: Handle synclost errors in OMAP3 OMAPDSS: DISPC: Correct DISPC functional clock usage drivers/video/omap2/dss/dispc.c | 354 +- drivers/video/omap2

[PATCH V3 2/3] OMAPDSS: DISPC: Handle synclost errors in OMAP3

2012-04-02 Thread Chandrabhanu Mahapatra
horizontal blanking length limitations. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c | 72 +-- 1 files changed, 69 insertions(+), 3 deletions(-) diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2

[PATCH V2 0/3] OMAPDSS: DISPC: Enable predecimation for DMA and VRFB

2012-03-21 Thread Chandrabhanu Mahapatra
will be addressed in the future patches. All your comments and suggestions are welcome. Regards, Chandrabhanu Chandrabhanu Mahapatra (3): OMAPDSS: DISPC: Enable predecimation OMAPDSS: DISPC: Handle synclost errors in OMAP3 OMAPDSS: DISPC: Correct DISPC functional clock usage drivers/video

[PATCH V2 1/3] OMAPDSS: DISPC: Enable predecimation

2012-03-21 Thread Chandrabhanu Mahapatra
will be addressed in the future patches. This code is based on code written by Lajos Molnar la...@ti.com who had added predecimation support for NV12/YUV/rotated/SDMA buffers. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c | 262

[PATCH V2 3/3] OMAPDSS: DISPC: Correct DISPC functional clock usage

2012-03-21 Thread Chandrabhanu Mahapatra
DISPC_FCLK is incorrectly used as functional clock of DISPC in scaling calculations. So, DISPC_CORE_CLK replaces as functional clock of DISPC. DISPC_CORE_CLK is derived from DISPC_FCLK divided by an independent DISPC divisor LCD. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com

[PATCH V2 2/3] OMAPDSS: DISPC: Handle synclost errors in OMAP3

2012-03-21 Thread Chandrabhanu Mahapatra
horizontal blanking length limitations. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c | 97 +-- 1 files changed, 72 insertions(+), 25 deletions(-) diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2

[PATCH 0/2] OMAPDSS: DISPC: Enable predecimation for DMA and VRFB

2012-03-15 Thread Chandrabhanu Mahapatra
your comments and suggestions are welcome. Regards, Chandrabhanu Chandrabhanu Mahapatra (2): OMAPDSS: DISPC: Enable predecimation OMAPDSS: DISPC: Handle synclost errors in OMAP3 drivers/video/omap2/dss/dispc.c | 323 +-- 1 files changed, 242 insertions

[PATCH 1/2] OMAPDSS: DISPC: Enable predecimation

2012-03-15 Thread Chandrabhanu Mahapatra
Molnar la...@ti.com who had added predecimation support for NV12/YUV/rotated/SDMA buffers. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c | 262 +++ 1 files changed, 181 insertions(+), 81 deletions(-) diff --git

[PATCH 2/2] OMAPDSS: DISPC: Handle synclost errors in OMAP3

2012-03-15 Thread Chandrabhanu Mahapatra
horizontal blanking length limitations. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c | 67 +-- 1 files changed, 64 insertions(+), 3 deletions(-) diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2

[PATCH V2 0/2] OMAPDSS: DISPC: Peformance improvement of DISPC Scaling

2011-12-19 Thread Chandrabhanu Mahapatra
created a patch to enable the display which will follow later. All your comments and suggestions are welcome. Regards, Chandrabhanu Chandrabhanu Mahapatra (2): OMAPDSS: DISPC: Update Fir Coefficients OMAPDSS: DISPC: Update Scaling Clock Logic drivers/video/omap2/dss/Makefile |2

[PATCH V2 1/2] OMAPDSS: DISPC: Update Fir Coefficients

2011-12-19 Thread Chandrabhanu Mahapatra
. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/Makefile |2 +- drivers/video/omap2/dss/dispc.c | 135 ++ drivers/video/omap2/dss/dispc.h | 11 + drivers/video/omap2/dss/dispc_coefs.c | 326 + 4

[PATCH V2 2/2] OMAPDSS: DISPC: Update Scaling Clock Logic

2011-12-19 Thread Chandrabhanu Mahapatra
-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c| 66 ++-- drivers/video/omap2/dss/dss_features.c |7 +++ drivers/video/omap2/dss/dss_features.h |1 + 3 files changed, 54 insertions(+), 20 deletions(-) diff --git

[PATCH 0/2] OMAPDSS: DISPC: Peformance improvement of DISPC Scaling

2011-12-13 Thread Chandrabhanu Mahapatra
created a patch to enable the display which will follow later. All your comments and suggestions are welcome. Regards, Chandrabhanu Chandrabhanu Mahapatra (2): OMAPDSS: DISPC: Update Fir Coefficients OMAPDSS: DISPC: Update Scaling Clock Logic drivers/video/omap2/dss/Makefile |2

[PATCH 1/2] OMAPDSS: DISPC: Update Fir Coefficients

2011-12-13 Thread Chandrabhanu Mahapatra
. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/Makefile |2 +- drivers/video/omap2/dss/dispc.c | 135 ++ drivers/video/omap2/dss/dispc.h | 11 + drivers/video/omap2/dss/dispc_coefs.c | 327 + 4

[PATCH 2/2] OMAPDSS: DISPC: Update Scaling Clock Logic

2011-12-13 Thread Chandrabhanu Mahapatra
-by: Chandrabhanu Mahapatra cmahapa...@ti.com --- drivers/video/omap2/dss/dispc.c| 66 ++-- drivers/video/omap2/dss/dss_features.c |7 +++ drivers/video/omap2/dss/dss_features.h |1 + 3 files changed, 54 insertions(+), 20 deletions(-) diff --git