Revert "CHROMIUM: drm/i915/vlv: Fix BLM_PWM_ENABLE check in pwm invariant"

This reverts commit 70ff17c8ffa602dff879876017b0ab12989c3344.
This commit is supposed to check for errors, but adds an error of its
own (looking up drm structs without the mode_config mutex held).
Since it's not critical, let's just remove it.

BUG=chrome-os-partner:33903
TEST=build and run on glimmer, suspend/resume, see no warning.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/230632
(cherry picked from commit 0526b13eaf7bddd347c026d61dfeccd8af0587df)
Change-Id: I1e88b6b36ae38f22e426d0b628149d1be68df177
Reviewed-on: https://chromium-review.googlesource.com/232984
Commit-Queue: Bernie Thompson <bhthompson@chromium.org>
Tested-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
Revert "CHROMIUM: drm/i915/vlv: Check BLC enable for pwm invariant"

This reverts commit e0358aefb51108ab473a2ade1980cc47526be029.
This commit is supposed to check for errors, but adds an error of its
own (looking up drm structs without the mode_config mutex held).
Since it's not critical, let's just remove it.

BUG=chrome-os-partner:33903
TEST=build and run on glimmer, suspend/resume, see no warning.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/230633
(cherry picked from commit beae12d4c16df1179cd89aa9abc2f1c0a32718a0)
Change-Id: I5f71457a4469844f4ffa976f4631a92e9bd5d567
Reviewed-on: https://chromium-review.googlesource.com/232985
Commit-Queue: Bernie Thompson <bhthompson@chromium.org>
Tested-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
Revert "CHROMIUM: drm/i915: add backlight assertion funcs for PWM status"

This reverts commit d3a305456f63384b0ed01200c146d99147349213.
Conflicts:
	drivers/gpu/drm/i915/intel_dp.c

This commit is supposed to check for errors, but adds an error of its
own (looking up drm structs without the mode_config mutex held).
Since it's not critical, let's just remove it.

BUG=chrome-os-partner:33903
TEST=build and run on glimmer, suspend/resume, see no warning.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/230634
(cherry picked from commit 32f2a439b567669f2b285c5992deeee1888f4161)
Change-Id: I9a76446bb90d1ddf10b7b3f3f48ad544dda5c15c
Reviewed-on: https://chromium-review.googlesource.com/232986
Commit-Queue: Bernie Thompson <bhthompson@chromium.org>
Tested-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-by: Bernie Thompson <bhthompson@chromium.org>