]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/pwr/memx: Make FB disable and enable explicit
authorRoy Spliet <rspliet@eclipso.eu>
Thu, 4 Sep 2014 14:58:50 +0000 (16:58 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 15 Sep 2014 12:25:03 +0000 (22:25 +1000)
commitb8f331b184db5724710cbde7d55907e4bf5eaffd
tree89af3126b01a7c217a250adafe7a36e3cafa1505
parentfd546dbe3fe43b9d61d6cfa39059d98ab8d37ed5
drm/nouveau/pwr/memx: Make FB disable and enable explicit

Needs to be done after wait-for-VBLANK, and NVA3 requires register writes
in between.

Rather than hard-coding register writes, just split out fb_disable and
fb_enable.

v2. Squashed "fb/ramnve0: disable fb before reclocking"

Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/include/subdev/pwr.h
drivers/gpu/drm/nouveau/core/subdev/fb/ramfuc.h
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/memx.fuc
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/os.h
drivers/gpu/drm/nouveau/core/subdev/pwr/memx.c