omapfb not accepting 720p mode
Hello,
the kernel bugtracker doesn't let me put this address into CC, so here manually:
https://bugzilla.kernel.org/show_bug.cgi?id=63781
Greets,
Tobias
Hi,
Quoted 5 lines · Tobias Jakobi
Hello,
the kernel bugtracker doesn't let me put this address into CC, so here manually:
https://bugzilla.kernel.org/show_bug.cgi?id=63781
The issue seems like we can't allocate buffers for 720p.
Can you make sure if CONFIG_DMA_CMA is set in your config? And you could set CMA_SIZE_MBYTES to a larger valuem say 50M.
Archit
Quoted 7 lines · Archit Taneja
The issue seems like we can't allocate buffers for 720p.
Can you make sure if
CONFIG_DMA_CMAis set in your config? And you could setCMA_SIZE_MBYTESto a larger valuem say 50M.Archit
Hello Archit,
yes, CMA is activated and with my latest config I've got 32MB allocated. I'll try to further increase the amount and check some other (larger) resolutions with don't require CVT (1280x1024 e.g.).
Also I may be wrong, but isn't allocation done after the parsing? The first message "cannot parse default modes" comes from omapfb_parse_def_modes returning an error. Which could be triggered by either the mode syntax being messed up (not the case for me I think), kstrdup failing (not very likely) or omapfb_set_def_mode failing. And from what I can see, omapfb_set_def_mode does some timing calculations/conversions, sets these timings and nothing more.
The allocation part is triggered by omapfb_create_framebuffers, so after omapfb_parse_def_modes.
Greets,
Tobias
Hi,
Quoted 14 lines · Tobias Jakobi
Quoted 7 lines · Archit Taneja
The issue seems like we can't allocate buffers for 720p.
Can you make sure if
CONFIG_DMA_CMAis set in your config? And you could setCMA_SIZE_MBYTESto a larger valuem say 50M.Archit
Hello Archit,
yes, CMA is activated and with my latest config I've got 32MB allocated. I'll try to further increase the amount and check some other (larger) resolutions with don't require CVT (1280x1024 e.g.).
Quoted 7 lines
Also I may be wrong, but isn't allocation done after the parsing? The first message "cannot parse default modes" comes from
omapfb_parse_def_modesreturning an error. Which could be triggered by either the mode syntax being messed up (not the case for me I think), kstrdup failing (not very likely) oromapfb_set_def_modefailing. And from what I can see,omapfb_set_def_modedoes some timing calculations/conversions, sets these timings and nothing more.
You are right about the allocation coming after parsing the modes.
The problem is that our naming conventions for displays had changed sometime back. Could you change the name 'hdmi' to 'connector-hdmi', like below:
connector-hdmi:mode-string
Archit