drm/i915/dp: Expose force_dsc_enable through debugfs
authorManasi Navare <manasi.d.navare@intel.com>
Fri, 5 Apr 2019 22:48:21 +0000 (15:48 -0700)
committerManasi Navare <manasi.d.navare@intel.com>
Wed, 10 Apr 2019 17:46:52 +0000 (10:46 -0700)
commitfeb8846b3a4f88c8807dbbb8176defd419371887
treeeaf464e442b7c57b05379f5749673f10399f0249
parent8455dad7ba8ca846ebc4d03c2ca905c12fc6a455
drm/i915/dp: Expose force_dsc_enable through debugfs

Currently we use force_dsc_enable to force DSC from IGT, but
we dont expose this value to userspace through debugfs.
This patch exposes this through the same dsc_fec_support
debugfs node per connector so that we can restore its value
back after the tests are completed.

Suggested-by: Imre Deak <imre.deak@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190405224821.32435-1-manasi.d.navare@intel.com
drivers/gpu/drm/i915/i915_debugfs.c