This is a known bug which is specific to certain types of mode changes while using a DFP. It can be worked around either by using xrandr to change to the new mode (rather than letting your app make the change), or downgrading to an older driver version. This bug will be resolved in the next driver release.