[PATCH] drm: move debugfs init after dev->load()

2014-05-30 Thread Daniel Vetter
On Fri, May 30, 2014 at 12:46 PM, Daniel Vetter wrote: > On Fri, May 30, 2014 at 12:37 AM, Rob Clark wrote: >> Avoids ugly hacks in drivers debugfs code, if it depends on >> dev->dev_private having already been initialized. >> >> Signed-off-by: Rob Clark > > So what I had in mind: > - stop using

[PATCH] drm: move debugfs init after dev->load()

2014-05-30 Thread Daniel Vetter
On Fri, May 30, 2014 at 12:37 AM, Rob Clark wrote: > Avoids ugly hacks in drivers debugfs code, if it depends on > dev->dev_private having already been initialized. > > Signed-off-by: Rob Clark So what I had in mind: - stop using drm_platform_init, instead roll your own copy of drm_get_platform_

[PATCH] drm: move debugfs init after dev->load()

2014-05-30 Thread Rob Clark
On Fri, May 30, 2014 at 6:49 AM, Daniel Vetter wrote: > On Fri, May 30, 2014 at 12:46 PM, Daniel Vetter wrote: >> On Fri, May 30, 2014 at 12:37 AM, Rob Clark wrote: >>> Avoids ugly hacks in drivers debugfs code, if it depends on >>> dev->dev_private having already been initialized. >>> >>> Signe

[PATCH] drm: move debugfs init after dev->load()

2014-05-29 Thread Rob Clark
Avoids ugly hacks in drivers debugfs code, if it depends on dev->dev_private having already been initialized. Signed-off-by: Rob Clark --- Some cleanup that Daniel Vetter wants to do may make this unnecessary in the future, but in order to unblock some msm patches that I'd like to send for 3.16,