backends/drm: fix common mode generation + add autotest for it
There were overflows in the bandwidth estimation calculation. Instead of uint32_t, use doubles - in the worst case precision is lost, which doesn't matter for comparisons.
There were overflows in the bandwidth estimation calculation. Instead of uint32_t, use doubles - in the worst case precision is lost, which doesn't matter for comparisons.