drm/i915/display: Pass drm_i915_private as param to i915 funcs
authorNirmoy Das <nirmoy.das@intel.com>
Wed, 25 Jan 2023 09:56:03 +0000 (10:56 +0100)
committerAndi Shyti <andi.shyti@linux.intel.com>
Fri, 10 Feb 2023 15:16:21 +0000 (16:16 +0100)
commite5e43d3363d7c53d99163e94cc61d418230da17c
treeae323c0836eb17dcced427e9b9379df7b87d5e65
parent7ee6f99dbc45eb457c87241aac1067fef3f263d9
drm/i915/display: Pass drm_i915_private as param to i915 funcs

For i915 functions pass struct drm_i915_private directly instead of
struct drm_device.

v2: Use to_i915(dev) directly without alias(Andrzej).

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Suggested-by: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230125095603.17845-1-nirmoy.das@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_fbdev.c
drivers/gpu/drm/i915/display/intel_fbdev.h
drivers/gpu/drm/i915/i915_driver.c