randr12: don't change virtualX/virtualY
authorStuart Bennett <sb476@cam.ac.uk>
Mon, 20 Oct 2008 20:47:07 +0000 (21:47 +0100)
committerStuart Bennett <sb476@cam.ac.uk>
Wed, 22 Oct 2008 22:44:44 +0000 (23:44 +0100)
commit13739cf36893e8ab6d3d4911c76a45f0b8bd5f4c
tree1eff0193b15bda3ee915f6f8278d9abd25ef98f6
parent98a4dcb112221fa66d82b87ef9229f5c443daf90
randr12: don't change virtualX/virtualY

all the things in the ddx that use virtual* (setting displayWidth, allocating
the FB, EXA init etc) use the values present before this function is called

these prior values are derived from any Virtual line in xorg.conf and are what
we want to use

setting virtual* to the crtc size here, rather than the desired Virtual size,
breaks everything using them in ScreenInit on server regeneration

as the rhd guys say:
/* This is strange... if we set virtualX/virtualY like the intel driver
 * does, we limit ourself in the future to this maximum size.
 * The check for this is internally in RandR, no idea why the intel driver
 * actually works this way...
 * Even more curious: if we DON'T update virtual, everything seems to
 * work as expected... */
so I'll take that as precedent.
src/nv_driver.c