drm/i915: change no_fbc_reason from enum to string
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 27 Oct 2015 16:50:03 +0000 (14:50 -0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 4 Nov 2015 14:02:51 +0000 (15:02 +0100)
commitbf6189c6f062b5cd6ca0d46754e4c3064643f48c
tree89e706bddd00d8daea2ad72d9618cc9029aebbb9
parent7580d774b0466fff28aab19db4f36dac37a3d1a9
drm/i915: change no_fbc_reason from enum to string

I wanted to add yet another check to intel_fbc_update() and realized
I would need to create yet another enum no_fbc_reason case. So I
remembered this patch series that Damien wrote a long time ago and
nobody ever reviewed, so I decided to reimplement it since the code
changed a lot since then.

Credits-to: Damien Lespiau <damien.lespiau@intel.com>
Cc: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1445964628-30226-2-git-send-email-paulo.r.zanoni@intel.com
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_fbc.c