diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2021-02-12 20:27:54 -0800 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2021-02-13 12:52:57 -0800 |
commit | ef7eff1aae10acd81ab266e7d843e0db52279d16 (patch) | |
tree | d049c26183e0c1964c7538c676d0a6b9819db6b8 /scripts/gdb/linux/utils.py | |
parent | ec3e00b4ee2768a457d9b6278c0dfac05473abd1 (diff) |
drm/i915: group display-related register calls
intel_gt_driver_register() may be called earlier than
intel_opregion_register() and acpi_video_register(), so move it up.
intel_display_debugfs_register() may be called later, together with the
other display-related initializations. There is a slight change in
behavior that sysfs files will show up before the display-related
debugfs files, but that shouldn't be a problem - userspace shouldn't be
relying in debugfs.
This allows us to group all the display-related calls under a single
check for "HAS_DISPLAY()" that can be later moved to a better place.
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20210213042756.953007-2-lucas.demarchi@intel.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions