[PATCH] drm/radeon: add proper checking of RESOLVE_BOX command for r600-r700

2012-08-24 Thread Marek Olšák
Checking of the second colorbuffer was skipped on r700, because CB_TARGET_MASK was 0xf. With r600, CB_TARGET_MASK is changed to 0xff, so we must set the number of samples of the second colorbuffer to 1 in order to pass the CS checker. The DRM version is bumped, because RESOLVE_BOX is always rejecte

[PATCH] drm/radeon: add proper checking of RESOLVE_BOX command for r600-r700

2012-08-24 Thread Jerome Glisse
On Fri, Aug 24, 2012 at 8:27 AM, Marek Ol??k wrote: > Checking of the second colorbuffer was skipped on r700, because > CB_TARGET_MASK was 0xf. With r600, CB_TARGET_MASK is changed to 0xff, > so we must set the number of samples of the second colorbuffer to 1 in order > to pass the CS checker. > T

Re: [PATCH] drm/radeon: add proper checking of RESOLVE_BOX command for r600-r700

2012-08-24 Thread Jerome Glisse
On Fri, Aug 24, 2012 at 8:27 AM, Marek Olšák wrote: > Checking of the second colorbuffer was skipped on r700, because > CB_TARGET_MASK was 0xf. With r600, CB_TARGET_MASK is changed to 0xff, > so we must set the number of samples of the second colorbuffer to 1 in order > to pass the CS checker. > T

[PATCH] drm/radeon: add proper checking of RESOLVE_BOX command for r600-r700

2012-08-24 Thread Marek Olšák
Checking of the second colorbuffer was skipped on r700, because CB_TARGET_MASK was 0xf. With r600, CB_TARGET_MASK is changed to 0xff, so we must set the number of samples of the second colorbuffer to 1 in order to pass the CS checker. The DRM version is bumped, because RESOLVE_BOX is always rejecte