]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Move GEM BO inside drm_framebuffer
authorDaniel Stone <daniels@collabora.com>
Fri, 18 May 2018 14:30:08 +0000 (15:30 +0100)
committerDaniel Stone <daniels@collabora.com>
Tue, 22 May 2018 08:44:04 +0000 (09:44 +0100)
commita268bcd7647d2c22bffdfbb111e5f7291b8494a6
treeb450258a738c8e3ad147c8ca5610f44072c2f168
parenta5ff7a45c9c8fc4d2d9484c028a9d882da6d5f48
drm/i915: Move GEM BO inside drm_framebuffer

Since drm_framebuffer can now store GEM objects directly, place them
there rather than in our own subclass.

v2: Only hold a single reference per framebuffer, not per plane. (Ville)
v3: Drop NULL check in intel_fb_obj. (Ville)

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20180518143008.4120-2-daniels@collabora.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h