aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-09-07 18:24:04 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-09-12 17:50:31 +0300
commitc11ada0776b982bf3757b13c2775106bb06a3a9d (patch)
tree5e950763ede44454f0ef5137970aefdb315c92f7 /drivers/gpu/drm/i915/intel_drv.h
parentdrm/i915: Use pipe A primary plane .max_stride() as the global stride limit (diff)
downloadlinux-dev-c11ada0776b982bf3757b13c2775106bb06a3a9d.tar.xz
linux-dev-c11ada0776b982bf3757b13c2775106bb06a3a9d.zip
drm/i915: Rename the plane_state->main/aux to plane_state->color_plane[]
Make the main/aux surface stuff a bit more generic by using an array of structures. This will allow us to deal with both the main and aux surfaces with common code. Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180907152413.15761-5-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index a93231c2ea78..0c7a046b4f26 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -503,11 +503,7 @@ struct intel_plane_state {
struct {
u32 offset;
int x, y;
- } main;
- struct {
- u32 offset;
- int x, y;
- } aux;
+ } color_plane[2];
/* plane control register */
u32 ctl;