]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/i915/dsm: remove unnecessary dsm priv structure
authorJani Nikula <jani.nikula@intel.com>
Thu, 14 Jun 2018 10:47:09 +0000 (13:47 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 Jun 2018 12:59:09 +0000 (15:59 +0300)
commit856e1b175650816dce554d2865ec258aa3b72098
tree29ae9033a223c8aa8b3132ba1625519f1b8ac619
parent1288786b18f7d979f1f9bcb0134ee5fbfcc8e3d1
drm/i915/dsm: remove unnecessary dsm priv structure

Pass a local acpi_handle around instead of having a static dsm priv
structure. If we need it later, we can always move it to dev_priv, and
the change at hand will make that easier as well.

Care is taken to preserve old behaviour, particularly using the last
non-NULL acpi handle, whether it makes sense or not.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180614104709.2808-1-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_acpi.c