* [PATCH V6 0/6] OMAPDSS: Cleanup cpu_is checks [not found] <cover.1345468541.git.cmahapatra@ti.com> @ 2012-08-22 6:36 ` Chandrabhanu Mahapatra 2012-08-22 6:38 ` [PATCH V6 4/6] ARM: OMAP: Disable venc for OMAP4 Chandrabhanu Mahapatra 2012-08-22 8:44 ` [PATCH V6 0/6] OMAPDSS: Cleanup cpu_is checks Tomi Valkeinen 0 siblings, 2 replies; 3+ messages in thread From: Chandrabhanu Mahapatra @ 2012-08-22 6:36 UTC (permalink / raw) To: linux-arm-kernel Hi everyone, this patch series aims at cleaning up of DSS of cpu_is checks thereby making it more generic. The 1st patch cleans up cpu_is checks from DISPC code. The 2nd patch removes unused functions from DSS code. The 3rd patch cleans up cpu_is checks from DSS code. The 4th patch disables VENC support on OMAP4. The 5th patch removes cpu_is checks from VENC code. The 6th patch removes cpu_is checks from DPI code and replaces it with a dss feature. Changes from V1 to V5 series: 1st patch : * moved dispc_ops structure definitions from dss_features.c to dispc.c and renamed it to dispc_features * moved dispc_features definitions close to dispc_init_features() thereby eliminating various functions declarations from top of dispc.c * used __initconst before dispc_features definitions and __init before dispc_init_features() * removed definitions of _dispc_lcd_timings_ok_24xx, _dispc_lcd_timings_ok_44xx, _dispc_mgr_set_lcd_timings_hv_24xx and _dispc_mgr_set_lcd_timings_hv_44xx replacing them with appropiate variables * renamed various dispc_features structures to give consistent naming 3rd patch : * moved dss_ops structure definitions from dss_features.c to dss.c and renamed it to dss_features * removed all functions from dss_features structure and replaced them with appropiate variables * used __initconst before dss_features definitions and __init before dss_init_features() * renamed various dss_features structures to give consistent naming * renamed factor variable of dss_features structure to dss_fck_multiplier Changes from V5 to V6 series: * The "ARM: OMAP: Disable venc for OMAP4" patch has been placed before "OMAPDSS: VENC: Remove cpu_is_xxxx checks" patch 1st patch: * The dispc_init_features() implementation has been corrected * The variables types of variables in dispc_features has been changed to u8 and u16 as found appropiate 2nd patch: * The dss_init_features() implementation has been corrected * In dss_features struct char * has been changed to const char * and int replaced with u8 All your comments and suggestions are welcome. Refenence Tree: git at gitorious.org:~chandrabhanu/linux-omap-dss2/chandrabhanus-linux.git dss_cleanup Regards, Chandrabhanu Chandrabhanu Mahapatra (6): OMAPDSS: DISPC: Cleanup cpu_is_xxxx checks OMAPDSS: DSS: Remove redundant functions OMAPDSS: DSS: Cleanup cpu_is_xxxx checks ARM: OMAP: Disable venc for OMAP4 OMAPDSS: VENC: Remove cpu_is_xxxx checks OMAPDSS: DPI: Remove cpu_is_xxxx checks arch/arm/mach-omap2/display.c | 1 - drivers/video/omap2/dss/dispc.c | 434 ++++++++++++++++++++------------ drivers/video/omap2/dss/dpi.c | 12 +- drivers/video/omap2/dss/dss.c | 165 ++++++------ drivers/video/omap2/dss/dss.h | 2 - drivers/video/omap2/dss/dss_features.c | 1 + drivers/video/omap2/dss/dss_features.h | 1 + drivers/video/omap2/dss/venc.c | 11 - 8 files changed, 367 insertions(+), 260 deletions(-) -- 1.7.10 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH V6 4/6] ARM: OMAP: Disable venc for OMAP4 2012-08-22 6:36 ` [PATCH V6 0/6] OMAPDSS: Cleanup cpu_is checks Chandrabhanu Mahapatra @ 2012-08-22 6:38 ` Chandrabhanu Mahapatra 2012-08-22 8:44 ` [PATCH V6 0/6] OMAPDSS: Cleanup cpu_is checks Tomi Valkeinen 1 sibling, 0 replies; 3+ messages in thread From: Chandrabhanu Mahapatra @ 2012-08-22 6:38 UTC (permalink / raw) To: linux-arm-kernel This is a alternative to "HACK: OMAP: DSS2: VENC: disable VENC on OMAP4 to prevent crash" (ba02fa37de) by Tomi Valkeinen <tomi.valkeinen@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 Mahapatra <cmahapatra@ti.com> --- arch/arm/mach-omap2/display.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index af1ed7d..ee40739 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c @@ -95,7 +95,6 @@ static const struct omap_dss_hwmod_data omap4_dss_hwmod_data[] __initdata = { { "dss_core", "omapdss_dss", -1 }, { "dss_dispc", "omapdss_dispc", -1 }, { "dss_rfbi", "omapdss_rfbi", -1 }, - { "dss_venc", "omapdss_venc", -1 }, { "dss_dsi1", "omapdss_dsi", 0 }, { "dss_dsi2", "omapdss_dsi", 1 }, { "dss_hdmi", "omapdss_hdmi", -1 }, -- 1.7.10 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH V6 0/6] OMAPDSS: Cleanup cpu_is checks 2012-08-22 6:36 ` [PATCH V6 0/6] OMAPDSS: Cleanup cpu_is checks Chandrabhanu Mahapatra 2012-08-22 6:38 ` [PATCH V6 4/6] ARM: OMAP: Disable venc for OMAP4 Chandrabhanu Mahapatra @ 2012-08-22 8:44 ` Tomi Valkeinen 1 sibling, 0 replies; 3+ messages in thread From: Tomi Valkeinen @ 2012-08-22 8:44 UTC (permalink / raw) To: linux-arm-kernel On Wed, 2012-08-22 at 12:06 +0530, Chandrabhanu Mahapatra wrote: > Hi everyone, > this patch series aims at cleaning up of DSS of cpu_is checks thereby making it > more generic. > > The 1st patch cleans up cpu_is checks from DISPC code. > The 2nd patch removes unused functions from DSS code. > The 3rd patch cleans up cpu_is checks from DSS code. > The 4th patch disables VENC support on OMAP4. > The 5th patch removes cpu_is checks from VENC code. > The 6th patch removes cpu_is checks from DPI code and replaces it with a > dss feature. Thanks, looks good. I'll apply this to omapdss tree. Tomi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120822/ac61f56d/attachment.sig> ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-22 8:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <cover.1345468541.git.cmahapatra@ti.com>
2012-08-22 6:36 ` [PATCH V6 0/6] OMAPDSS: Cleanup cpu_is checks Chandrabhanu Mahapatra
2012-08-22 6:38 ` [PATCH V6 4/6] ARM: OMAP: Disable venc for OMAP4 Chandrabhanu Mahapatra
2012-08-22 8:44 ` [PATCH V6 0/6] OMAPDSS: Cleanup cpu_is checks Tomi Valkeinen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).