We are currently working on getting our application up and running using double buffering. We are using the tilcdc driver, in the source code it mentions that the DRM only allocates enough memory to account for the active screen resolution. I need to double the vyres, but cannot find any documentation on how to do that.
Our application attempts to adjust the vres for the current resolution and we get the following error:
fb userspace requested width/height/bpp is greater than current 1024x768-32 (virtual 1024x1536) > 1024x768-32
I am using a default panel setting from a device tree example. It appears as follows:
/ { panel { status = "okay"; compatible = "ti,tilcdc,panel"; pinctrl-names = "default"; pinctrl-0 = <&nxp_hdmi_bonelt_pins>; panel-info { ac-bias = <255>; ac-bias-intrpt = <0>; dma-burst-sz = <16>; bpp = <32>; fdd = <0x80>; sync-edge = <0>; sync-ctrl = <0>; raster-order = <1>; fifo-th = <0>; }; display-timings { native-mode = <&timing0>; timing0: 1024x768 { clock-frequency = <65000000>; hactive = <1024>; vactive = <768>; hfront-porch = <110>; hback-porch = <90>; hsync-len = <30>; vback-porch = <22>; vfront-porch = <12>; vsync-len = <4>; hsync-active = <1>; vsync-active = <1>; de-active = <1>; pixelclk-active = <0>; }; }; }; };
We have omitted the tilcdc slave because we are not connecting to a traditional monitor. How do I go about allocating the proper buffer by default?