[PATCH 6/6] drm/cirrus: Retrieve default mode from the device-tree if any

2012-07-25 Thread Benjamin Herrenschmidt
On the pseries machine type, qemu puts a default mode in the device-tree based on the user request (-g option) which the firmware uses to setup the boot screen. Currently cirrusdrmfb ignores this and always ends up using 1280x1024. This adds support for retrieving this information and using it to

[PATCH 6/6] drm/cirrus: Retrieve default mode from the device-tree if any

2012-07-24 Thread Benjamin Herrenschmidt
On the pseries machine type, qemu puts a default mode in the device-tree based on the user request (-g option) which the firmware uses to setup the boot screen. Currently cirrusdrmfb ignores this and always ends up using 1280x1024. This adds support for retrieving this information and using it to