]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: add crtc_disable function for legacy crtc
authorIlija Hadzic <ilijahadzic@gmail.com>
Sun, 3 Nov 2013 03:00:20 +0000 (23:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Nov 2013 17:33:37 +0000 (12:33 -0500)
commit0e5bc04ee1fafe4f40169761296171b82924bdab
tree84bfce5756499dea4f3f5cb852a6b96d09550595
parentd518928e742215c1f900c3ebe37fcb80514a73ef
drm/radeon/kms: add crtc_disable function for legacy crtc

To plug the VRAM memory leak (see previous patch for
details) we must unpin the frame buffer when disabling the
CRTC. This warrants the addition of disable function for legacy
CRTC, which puts the CRTC in DPMS-OFF state and unpins the
frame buffer if there is one associated with the CRTC.

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_legacy_crtc.c