On Thu, 02 Jun 2022, Animesh Manna <animesh.manna@xxxxxxxxx> wrote: > From: Arun R Murthy <arun.r.murthy@xxxxxxxxx> > > With the enablement of dual eDP, there will have to exist two entries of > backlight sysfs file. In order to avoid sysfs file name duplication, the > file names are prepended with the connector name. Fixed by 20f85ef89d94 ("drm/i915/backlight: use unique backlight device names") about a year ago. BR, Jani. > > Signed-off-by: Arun R Murthy <arun.r.murthy@xxxxxxxxx> > --- > drivers/gpu/drm/i915/display/intel_backlight.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/i915/display/intel_backlight.c b/drivers/gpu/drm/i915/display/intel_backlight.c > index 68513206a66a..211fa0f07239 100644 > --- a/drivers/gpu/drm/i915/display/intel_backlight.c > +++ b/drivers/gpu/drm/i915/display/intel_backlight.c > @@ -967,6 +967,8 @@ int intel_backlight_device_register(struct intel_connector *connector) > props.power = FB_BLANK_POWERDOWN; > > name = kstrdup("intel_backlight", GFP_KERNEL); > + name = kasprintf(GFP_KERNEL, "%s.intel_backlight", > + connector->base.name); > if (!name) > return -ENOMEM; -- Jani Nikula, Intel Open Source Graphics Center