diff options
author | Kumar, Mahesh <mahesh1.kumar@intel.com> | 2015-09-03 16:17:08 +0530 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-04 09:38:16 +0200 |
commit | 395ab7541a0e141ffbde127b534e44f28d39a050 (patch) | |
tree | 0a7889587ccd83d6241a211215565fc6b14cdb38 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 58f2cf241fb98414e2e35fc3d4d0494eb30b3245 (diff) |
drm/i915/skl: Avoid using un-initialized bits_per_pixel
Don't rely on fb->bits_per_pixel as intel_framebuffer_init is not
filling bits_per_pixel field of fb-struct for YUV pixel format.
This leads to divide by zero error during watermark calculation.
Signed-off-by: Kumar, Mahesh <mahesh1.kumar@intel.com>
Cc: Konduru, Chandra <chandra.konduru@intel.com>
Reviewed-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions