mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
drm/i915/pmdemand: convert to struct intel_display
Going forward, struct intel_display is the main display device structure. Convert pmdemand to it. Cc: Gustavo Sousa <gustavo.sousa@intel.com> Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/c1d92e9490013d5aba50fc1d1ebc0ee18e82cf7e.1735662324.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -233,7 +233,7 @@ int intel_display_driver_probe_noirq(struct intel_display *display)
|
||||
if (ret < 0)
|
||||
goto cleanup_vga;
|
||||
|
||||
intel_pmdemand_init_early(i915);
|
||||
intel_pmdemand_init_early(display);
|
||||
|
||||
intel_power_domains_init_hw(display, false);
|
||||
|
||||
@@ -265,7 +265,7 @@ int intel_display_driver_probe_noirq(struct intel_display *display)
|
||||
if (ret)
|
||||
goto cleanup_vga_client_pw_domain_dmc;
|
||||
|
||||
ret = intel_pmdemand_init(i915);
|
||||
ret = intel_pmdemand_init(display);
|
||||
if (ret)
|
||||
goto cleanup_vga_client_pw_domain_dmc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user