Skip to contentSkip to conversation

msm: mdp4_drv_encoder.c

BUILD BUG Russell King - ARM Linux 2 participants 4 messages Jan 13, 2014

lore
Share & tools
lore
#0 lore raw

Referencing mach/*.h from drivers does not work in multi-platform kernels, and leads to errors such as this:

drivers/gpu/drm/msm/mdp4/mdp4_dtv_encoder.c:18:22: fatal error: mach/clk.h: No such file or directory

which were found via my allmodconfig build.

Signature · 3 lines
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up.  Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".
#1 lore raw
Quoted 6 lines · Russell King - ARM Linux

Referencing mach/*.h from drivers does not work in multi-platform kernels, and leads to errors such as this:

drivers/gpu/drm/msm/mdp4/mdp4_dtv_encoder.c:18:22: fatal error: mach/clk.h: No such file or directory

which were found via my allmodconfig build.

dropping this #include is already in my 3.14-rc1 pull req..

do we need this in 3.13 too?

BR,
-R

Quoted 5 lines

--
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad. Estimate before purchase was "up to 13.2Mbit".

#2 lore raw
Quoted 5 lines · Rob Clark
Quoted 3 lines · Russell King - ARM Linux

Referencing mach/*.h from drivers does not work in multi-platform kernels, and leads to errors such as this:

Quoted 7 lines
Quoted 3 lines

drivers/gpu/drm/msm/mdp4/mdp4_dtv_encoder.c:18:22: fatal error: mach/clk.h: No such file or directory

which were found via my allmodconfig build.

dropping this #include is already in my 3.14-rc1 pull req..

do we need this in 3.13 too?

That depends how it's ending up in my build tree of Linus' tip, plus my tip, plus arm-soc tip. I guess it's a result of MSM switching to use the multiplatform support, which is in arm-soc rather than 3.13.

Signature · 3 lines
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up.  Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".
#3 lore raw
Quoted 9 lines · Russell King - ARM Linux
Quoted 4 lines · Rob Clark

dropping this #include is already in my 3.14-rc1 pull req..

do we need this in 3.13 too?

That depends how it's ending up in my build tree of Linus' tip, plus my tip, plus arm-soc tip. I guess it's a result of MSM switching to use the multiplatform support, which is in arm-soc rather than 3.13.

Just checked with Stephen on IRC, not needed on 3.13. The issue should go away once 3.14-rc1 stuff is merged.

BR,
-R