Ville Syrjälä
a3f913ca98
drm: Pass 'dev' to drm_helper_mode_fill_fb_struct()
Pass the drm_device to drm_helper_mode_fill_fb_struct() so that we can
populate fb->dev early. Will make it easier to use the fb before we
register it.
@@
identifier fb, mode_cmd;
@@
void drm_helper_mode_fill_fb_struct(
+ struct drm_device *dev,
struct drm_framebuffer *fb,
const struct drm_mode_fb_cmd2 *mode_cmd
);
@@
identifier fb, mode_cmd;
@@
void drm_helper_mode_fill_fb_struct(
+ struct drm_device *dev,
struct drm_framebuffer *fb,
const struct drm_mode_fb_cmd2 *mode_cmd
)
{ ... }
@@
function func;
identifier dev;
expression E1, E2;
@@
func(struct drm_device *dev, ...)
{
...
drm_helper_mode_fill_fb_struct(
+ dev,
E1, E2);
...
}
@@
expression E1, E2;
@@
drm_helper_mode_fill_fb_struct(
+ dev,
E1, E2);
v2: Rerun spatch due to code changes
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1481748539-18283-1-git-send-email-ville.syrjala@linux.intel.com
2016-12-15 14:03:30 +02:00
..
2016-10-26 10:29:58 +05:30
2016-09-07 13:10:10 +01:00
2016-10-28 11:33:52 +10:00
2014-09-12 15:28:12 +02:00
2016-04-27 08:41:34 +02:00
2016-09-12 16:59:15 -04:00
2016-11-28 17:48:58 +02:00
2016-12-13 09:36:13 +01:00
2016-10-22 10:42:11 +02:00
2016-09-19 15:04:15 +02:00
2016-04-22 10:24:11 +10:00
2016-09-22 00:04:03 -07:00
2016-12-13 12:05:12 +10:00
2016-08-16 16:10:19 +02:00
2016-11-16 10:42:48 +01:00
2016-10-17 16:44:34 +02:00
2016-05-23 11:35:31 +10:00
2016-10-19 18:20:40 +03:00
2016-10-25 08:53:44 +02:00
2016-07-19 10:31:53 +02:00
2016-11-30 14:28:20 +10:00
2016-11-09 13:55:13 +01:00
2015-12-15 13:41:17 +01:00
2016-10-17 08:12:05 +02:00
2016-11-15 12:24:08 +01:00
2016-11-14 07:47:46 +01:00
2016-02-05 15:23:48 +10:00
2014-11-15 09:29:14 +10:00
2016-11-12 14:19:38 +01:00
2016-11-29 10:22:08 +01:00
2014-11-13 13:27:17 +01:00
2016-08-16 16:09:58 +02:00
2012-11-28 18:36:05 +10:00
2016-11-15 23:33:48 +01:00
2016-06-21 22:10:55 +02:00
2016-04-11 17:13:10 +01:00
2016-08-24 13:34:00 +02:00
2016-11-28 08:07:58 +01:00
2016-11-16 14:36:27 +01:00
2016-09-19 15:04:15 +02:00
2016-09-19 15:04:15 +02:00
2016-11-22 11:11:57 +01:00
2016-12-15 14:03:30 +02:00
2016-11-15 08:33:35 +01:00
2016-10-26 15:48:42 -04:00
2013-12-18 11:35:45 +10:00
2016-05-06 16:04:48 +02:00
2015-08-12 12:24:05 -04:00
2016-08-16 16:10:19 +02:00
2016-12-08 13:42:57 +02:00
2016-11-15 12:55:24 +01:00
2016-09-19 15:03:46 +02:00
2015-11-24 11:47:46 +01:00
2016-10-05 15:18:02 +02:00
2016-09-19 11:22:08 +02:00
2016-11-30 14:18:51 +10:00
2014-03-17 20:11:57 +01:00
2016-09-22 09:01:55 -07:00
2016-08-09 22:18:26 +02:00
2016-09-07 16:07:07 -07:00
2016-06-13 10:03:54 +01:00