diff options
author | Lyude Paul <lyude@redhat.com> | 2019-08-08 02:47:05 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2019-08-23 05:55:34 +0300 |
commit | 2b7e7bb16812cd3a8f85f1d8e2752ab66130a0fe (patch) | |
tree | 42446e1bc00bcf169fa23d838612950f89de6285 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 3c978f73959c295ac737b917795926534a7aea01 (diff) | |
download | linux-2b7e7bb16812cd3a8f85f1d8e2752ab66130a0fe.tar.xz |
drm/nouveau/dispnv04: Remove runtime PM
Originally when trying to fix the issue of runtime PM references with
non-blocking CRTCs on nv50, I ended up stumbling on this code when
trying to remove nouveau_drm->have_disp_power_ref, and attempted to fix
it to remove the dependency on have_disp_power_ref. However, Ilia Mirkin
pointed out that this code is actually completely useless, as pre-nv50
never had runtime PM support in the first place! Go figure.
So, since it's useless just get rid of it. Note that since the only
thing nouveau_crtc_set_config() was doing was grabbing a runtime PM ref,
calling drm_crtc_helper_set_config() then dropping the ref; we can just
remove the function entirely and just call drm_crtc_helper_set_config()
directly.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions