]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Set crtc->name to "pipe A", "pipe B", etc.
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 May 2016 17:59:21 +0000 (20:59 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 30 May 2016 14:01:52 +0000 (17:01 +0300)
commit2f3b5aabd34b3e7d91cfd389244c2d7263a303e8
treec9de072cd391db3f3262963d81e79549e8c1b1c5
parentfe4de4a1e4bed747929494449dcfaedef7439906
drm/i915: Set crtc->name to "pipe A", "pipe B", etc.

v2: Fix intel_crtc leak on failure to allocate the name
    Use a local 'name' variable to make things easier
v3: Pass the name as a function arguemnt to drm_crtc_init_with_planes() (Jani)
v4: Pass the printf style format string to drm_crtc_init_with_planes()
v5: Drop spurious code changes

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1464371966-15190-4-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c