]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/radeon/kms: simplify storing current and requested PM mode
authorRafał Miłecki <zajec5@gmail.com>
Sat, 20 Feb 2010 23:15:04 +0000 (23:15 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 22 Feb 2010 23:46:51 +0000 (09:46 +1000)
commit9038dfdf699a3227004f1f6da32a3ef4ef3ba5a4
treeaf718c7a00587ebfac1b606da5c6d5b17a4cc247
parentd03f5d5971f2dd4bd259c46e065299661d8fdc9f
drm/radeon/kms: simplify storing current and requested PM mode

We kept pointers to requested and current clock modes in every power state.
That was useless, more /global/ pointers in power struct are enough.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_atombios.c
drivers/gpu/drm/radeon/radeon_combios.c
drivers/gpu/drm/radeon/radeon_pm.c