Re: [PATCH 2/3] drm/i915: group display-related register calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Lucas De Marchi (2020-11-24 19:13:15)
> 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@xxxxxxxxx>

They do seem to be independent and movable,
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux