drm/radeon/kms: properly handle mode id with native mode changes
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 12 Oct 2009 15:25:05 +0000 (11:25 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 12 Oct 2009 22:45:52 +0000 (08:45 +1000)
commitfb06ca8f8c61dfd7cbfa2092756577ff78a26dcd
tree460ae7fd3c14008f9f683f95b196dd5f0cbeaffb
parent39deb2d67515086f08a672e7574716ca0d3883a5
drm/radeon/kms: properly handle mode id with native mode changes

drm modes are objects with indentifiers.  Make sure to preserve
the mode id when copying mode params.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c
drivers/gpu/drm/radeon/radeon_encoders.c