summaryrefslogtreecommitdiffstats
path: root/fs/select.c
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2013-11-01 16:32:08 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-01 18:54:51 +0100
commit9d1cb9147dbe45f6e94dc796518ecf67cb64b359 (patch)
tree949523de2ffb0ad320f855013b1f0c1d909a0f43 /fs/select.c
parentdrm/i915: Enable DP port CRC for the "auto" source on g4x/vlv (diff)
downloadlinux-9d1cb9147dbe45f6e94dc796518ecf67cb64b359.tar.xz
linux-9d1cb9147dbe45f6e94dc796518ecf67cb64b359.zip
drm/i915: avoid unclaimed registers when capturing the error state
Even though we only check for unclaimed registers while we're writing registers, if we read a bad register we'll still trigger a CPU error interrupt, and we'll print an "Unclaimed register" DRM_ERROR due to that. To avoid this error, just avoid touching power domains that are not enabled. Use kzalloc so we're sure all the disabled domains will be zeroed on the error state file. We already print the information that is enough to discover if the power well is enabled on the error state file, so this should not be a problem. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69747 Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'fs/select.c')
0 files changed, 0 insertions, 0 deletions