compositor-drm: Don't do a mode set on drm_output_switch_mode()
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 14 Dec 2012 15:37:28 +0000 (13:37 -0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 14 Dec 2012 16:27:53 +0000 (11:27 -0500)
commitf1c38a7426ba2bbb8bd9924d8980b38c1a6e4177
treeb70e605913b58628cb616798376109db49cccca5
parent2e7a3ab7cd5e8339a5a269e7101ac180b174ae30
compositor-drm: Don't do a mode set on drm_output_switch_mode()

At this point, we reallocated the gbm surface, but we don't have an
fb with the right size to use. If we're going to a larger mode, the fb
would be too small and the mode set would fail. Besides, the repaint
logic will already do a mode set if necessary, so rely on that instead.
src/compositor-drm.c