]> 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)
commitd4eea20d97c41d3bdc207d67987c16858c48657d
tree84bfce5756499dea4f3f5cb852a6b96d09550595
parent21bbfb8b1a96caaa01020f20e9314db048ae442c
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