.. | .. |
---|
334 | 334 | else |
---|
335 | 335 | vdsc_cfg->nfl_bpg_offset = 0; |
---|
336 | 336 | |
---|
337 | | - /* 2^16 - 1 */ |
---|
338 | | - if (vdsc_cfg->nfl_bpg_offset > 65535) { |
---|
339 | | - DRM_DEBUG_KMS("NflBpgOffset is too large for this slice height\n"); |
---|
340 | | - return -ERANGE; |
---|
341 | | - } |
---|
342 | | - |
---|
343 | 337 | /* Number of groups used to code the entire slice */ |
---|
344 | 338 | groups_total = groups_per_line * vdsc_cfg->slice_height; |
---|
345 | 339 | |
---|
.. | .. |
---|
367 | 361 | * be used to disable the scale increment at the end of the slice |
---|
368 | 362 | */ |
---|
369 | 363 | vdsc_cfg->scale_increment_interval = 0; |
---|
370 | | - } |
---|
371 | | - |
---|
372 | | - if (vdsc_cfg->scale_increment_interval > 65535) { |
---|
373 | | - DRM_DEBUG_KMS("ScaleIncrementInterval is large for slice height\n"); |
---|
374 | | - return -ERANGE; |
---|
375 | 364 | } |
---|
376 | 365 | |
---|
377 | 366 | /* |
---|